AWS amazonq documentation change
Summary
Added documentation for new slash commands including security-focused code reviews
Security assessment
Introduces /q review command that automatically checks for security concerns in pull requests. While this adds security-related capabilities, it documents a new feature rather than addressing a specific security issue.
Diff
diff --git a/amazonq/latest/qdeveloper-ug/amazon-q-for-github.md b/amazonq/latest/qdeveloper-ug/amazon-q-for-github.md index cf938520f..855e6e37e 100644 --- a//amazonq/latest/qdeveloper-ug/amazon-q-for-github.md +++ b//amazonq/latest/qdeveloper-ug/amazon-q-for-github.md @@ -5 +5 @@ -Installing Amazon Q Developer app and authorizing accessAmazon Q Developer agentsRegistering app installationUsing browser extensions in GitHub +Installing Amazon Q Developer app and authorizing accessAmazon Q Developer agentsRegistering app installationUsing browser extensions in GitHubUsing slash commands in GitHub issues and pull requests @@ -38,0 +39,2 @@ Amazon Q Developer for GitHub (Preview) does not currently use your content for + * Using slash commands in GitHub issues and pull requests + @@ -116,0 +119,15 @@ The Amazon Q Developer extension is available for the following browsers: +## Using slash commands in GitHub issues and pull requests + +You can use slash commands in comments within GitHub issues or pull requests to invoke Amazon Q Developer to perform development tasks or provide support. + + * `/q dev` \- Invokes Amazon Q Developer in a GitHub issue to automatically implement new features and bug fixes. Amazon Q Developer creates a pull request with the changes and a summary of the changes. + + * `/q review` \- Invokes Amazon Q Developer to automatically perform code reviews when pull requests are created or reopened, providing feedback on code quality, potential issues, and security concerns, along with suggested fixes. Automatic reviews are not triggered by subsequent commits to existing pull requests. + + * `/q transform` \- Invokes Amazon Q Developer to automatically transform Java 8 or 11 code to Java 17 when an issue is created with the code transformation label. Amazon Q Developer creates a pull request with the changes and a summary of the modifications. + + * `/q help` \- Provides information about Amazon Q Developer for GitHub, including slash comannds, features, customization details, as well as a link to the [Amazon Q Developer for GitHub (Preview)](./amazon-q-for-github.html) documentation in the _Amazon Q Developer Developer Guide_. + + + +