Skip to content

Conversation

h16rkim
Copy link

@h16rkim h16rkim commented Sep 25, 2025

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.

@Copilot Copilot AI review requested due to automatic review settings September 25, 2025 22:46
Copy link
Contributor

@Copilot Copilot AI left a 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.

Comment on lines +175 to +177
q)
mkdir -p "$base_dir/.amazonq/prompts"
generate_commands q md "\$ARGUMENTS" "$base_dir/.amazonq/prompts" "$script" ;;
Copy link
Author

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

@ymhiroki
Copy link

@h16rkim
Thank you for your PR!
The /prompts feature has been released in 1.17.0

@h16rkim h16rkim marked this pull request as ready for review September 30, 2025 08:01
@h16rkim h16rkim requested a review from localden as a code owner September 30, 2025 08:01
@Copilot Copilot AI review requested due to automatic review settings September 30, 2025 08:01
Copy link
Contributor

@Copilot Copilot AI left a 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.

@h16rkim
Copy link
Author

h16rkim commented Sep 30, 2025

@ymhiroki Thank you. I opened this PR.
@localden Custom Command Feature is released in Amazon Q Developer CLI. Could you review this PR ?

@localden localden added the merge-candidate Reasonable change that is going to be merged after a review. label Sep 30, 2025
@localden localden self-assigned this Sep 30, 2025
@Copilot Copilot AI review requested due to automatic review settings October 3, 2025 01:14
Copy link
Contributor

@Copilot Copilot AI left a 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.

@h16rkim
Copy link
Author

h16rkim commented Oct 3, 2025

added some document on README.md and comments on files

@h16rkim h16rkim changed the title feat: add support for amazon q developer cli feat: add support for Amazon Q Developer CLI Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-candidate Reasonable change that is going to be merged after a review. new-agent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Amazon Q Developer IDE/CLI
4 participants