Skip to content

Fix: Fix prompt name for scanning dependencies#155

Open
shrishabh wants to merge 1 commit intomainfrom
shrishabh-scan-dep-1
Open

Fix: Fix prompt name for scanning dependencies#155
shrishabh wants to merge 1 commit intomainfrom
shrishabh-scan-dep-1

Conversation

@shrishabh
Copy link
Copy Markdown
Contributor

Changes the command name /scan-deps for consistency.

Changes the command name /scan-deps for consistency.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

🤖 Hi @shrishabh, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 Review Summary

This Pull Request has been reviewed. No specific changes or issues were identified, as the content of the pull request could not be retrieved for analysis.

🔍 General Feedback

  • No specific feedback to provide due to inability to access pull request content.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request renames the security:scan_deps prompt to security:scan-deps. A review comment identifies that the prompt name should be changed to security:analyze to align with the repository's Standard Operating Procedures (SOP) for security analysis, which explicitly requires the command for a comprehensive scan to be /security:analyze.


server.registerPrompt(
'security:scan_deps',
'security:scan-deps',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

The prompt name should be changed to security:analyze to align with the Standard Operating Procedures (SOP) defined in the repository style guide. The SOP (line 25) explicitly requires the command for a 'Comprehensive Scan' to be /security:analyze. Using security:scan-deps creates a discrepancy between the documented procedure and the implementation, which will lead to confusion when the LLM instructs the user to use a command that is not registered under that name.

Suggested change
'security:scan-deps',
'security:analyze',
References
  1. The Standard Operating Procedures (SOP) for Security Analysis Guidelines (line 25) specify that the command for a Comprehensive Scan must be /security:analyze. (link)

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Security Analysis Summary

This pull request refactors the prompt name for scanning dependencies from /scan_deps to /scan-deps for consistency. The changes are minimal and do not introduce any security vulnerabilities.

🔍 General Feedback

  • The change is straightforward and improves the consistency of the command names.
  • No new vulnerabilities were introduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants