-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: add support for Amazon Q Developer CLI #600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Amazon Q Developer CLI as a new AI assistant option in spec-kit. The change enables users to initialize projects with Amazon Q Developer CLI templates and includes proper tooling integration.
- Adds Amazon Q Developer CLI ("q") as a supported AI assistant option
- Includes proper folder structure (.amazonq/) and configuration handling
- Provides user guidance about custom prompt limitations in Amazon Q Developer CLI
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
src/specify_cli/init.py | Core implementation adding "q" option, tool checking, and user guidance |
scripts/powershell/update-agent-context.ps1 | PowerShell script updates for Amazon Q Developer CLI support |
scripts/bash/update-agent-context.sh | Bash script updates for Amazon Q Developer CLI support |
README.md | Documentation update listing Amazon Q Developer CLI with limitation note |
.github/workflows/scripts/create-release-packages.sh | Build script updates to include Amazon Q CLI packages |
.github/workflows/scripts/create-github-release.sh | Release script updates to publish Amazon Q CLI variants |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
q) | ||
mkdir -p "$base_dir/.amazonq/prompts" | ||
generate_commands q md "\$ARGUMENTS" "$base_dir/.amazonq/prompts" "$script" ;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the cli command for Amazon Q Developer CLI isq
, I named it q
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
src/specify_cli/init.py:1
- The Q_FILE path should point to
.amazonq/prompts/
directory structure like other agents, not to the generic AGENTS.md file. This inconsistency will cause the Amazon Q CLI agent to use the wrong file location.
#!/usr/bin/env python3
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
added some document on README.md and comments on files |
Amazon Q Developer CLI will soon have a custom prompt feature. Github PR.
I found “Adding New Agent Support” workflow is described in AGENTS.md. This PR is written together with Amazon Q Developer CLI.
The Custom Prompt feature in Amazon Q Developer CLI does not support passing ARGUMENTS (similar to codex). Similar to codex, I implemented spec-kit to providesa helpful guidance message to the user.
Resolves #15
The Custom Prompt feature of Amazon Q Developer CLI was merged into the main branch, but it has not yet been released. Until the release, this PR will remain in Draft status, and it will be opened after the release.