amazonq-sdd
v1.3.0
Published
SDD Custom Agent installer for Amazon Q CLI - Native /kiro: command support
Maintainers
Readme
amazonq-sdd
One-command installation for SDD Custom Agent in Amazon Q CLI
Native/kiro:commands for spec-driven development workflows
🚀 Quick Start
# Install the SDD agent (one command!)
npx amazonq-sdd
# Start using immediately
q chat --agent sdd
# Try your first command
"Initialize a new specification for user authentication system"That's it! No configuration, no setup scripts, no complexity.
✨ What You Get
Complete Installation Package
When you run npx amazonq-sdd, you get:
- Custom Agent: Installed to
~/.aws/amazonq/cli-agents/sdd.json - Command Templates: Local files in
.amazonq/commands/kiro/ - Documentation:
AMAZONQ.mdwith full usage guide - Customization Ready: Edit templates to modify agent behavior
8 Powerful Commands
| Intent | Natural Language Example | What it does | |--------|--------------------------|--------------| | Spec Init | "Initialize a new specification for [description]" | Start a new feature specification | | Requirements | "Generate requirements for [feature]" | Generate requirements document | | Design | "Create technical design for [feature]" | Create technical design | | Tasks | "Break down tasks for [feature]" | Break down implementation tasks | | Implementation | "Help me implement [feature]" | Get implementation guidance | | Status | "Show status of [feature]" | Check workflow progress | | Steering | "Set up project steering documents" | Set up project context | | Custom Steering | "Create custom steering for [area]" | Create custom guidelines |
Installation Structure
After running npx amazonq-sdd, your project will have:
your-project/
├── .amazonq/ # Local customization (NEW!)
│ ├── commands/kiro/ # Command behavior templates
│ │ ├── spec-init.md
│ │ ├── spec-status.md
│ │ └── steering.md
│ └── AMAZONQ.md # Full documentation
└── .kiro/ # Created when you use commands
├── steering/ # Project guidelines
│ ├── product.md
│ ├── tech.md
│ └── structure.md
└── specs/ # Feature specifications
└── feature-name/
├── requirements.md
├── design.md
├── tasks.md
└── spec.jsonCustomization Support
Edit .amazonq/commands/kiro/*.md files to customize:
- Command behavior and prompts
- Output formats and templates
- Workflow enforcement rules
- Error messages and help text
📖 Usage Examples
Complete Feature Development
# 1. Start Amazon Q with SDD agent
q chat --agent sdd
# 2. Initialize a new feature (use natural language)
"Initialize a new specification for OAuth 2.0 authentication"
# Creates: .kiro/specs/oauth-2-0-authentication/
# 3. Generate requirements
"Generate requirements for oauth-2-0-authentication"
# 4. Create technical design (after reviewing requirements)
"Create technical design for oauth-2-0-authentication"
# 5. Break down tasks (after reviewing design)
"Break down tasks for oauth-2-0-authentication"
# 6. Check status anytime
"Show status of oauth-2-0-authentication"💡 Important: Use natural language in the chat session. The agent recognizes your intent and executes the appropriate SDD workflow actions. Don't type literal /kiro: commands - they're internal patterns the agent uses to understand your requests.
🔧 NPX Commands
# Install the agent
npx amazonq-sdd install
# Check status
npx amazonq-sdd status
# Uninstall if needed
npx amazonq-sdd uninstall
# Get help
npx amazonq-sdd help📋 Requirements
- Amazon Q CLI installed
- Node.js 14+ (for NPX)
- AWS credentials configured
🐛 Troubleshooting
"Amazon Q CLI not found"
Install Amazon Q CLI first: https://aws.amazon.com/q/developer/
"Agent not loading"
# Verify installation
npx amazonq-sdd status
# Reinstall if needed
npx amazonq-sdd uninstall
npx amazonq-sdd install"Commands not recognized"
- Use natural language descriptions instead of literal
/kiro:commands - Start your requests with phrases like "Initialize a specification for..." or "Generate requirements for..."
- Ensure you started with
q chat --agent sdd - Remember: the agent understands intent, not exact command syntax
🎯 Why amazonq-sdd?
- Zero Configuration: Works immediately after installation
- Native Integration: Commands work directly in Amazon Q CLI chat
- No Dependencies: No shell scripts, no external tools
- Professional Output: Enterprise-quality documentation generated
- Workflow Enforcement: Built-in phase progression and approvals
🔒 Security
- File access restricted to
.kiro/and markdown files only - No shell execution or system commands
- Leverages Amazon Q CLI's built-in security model
- Open source and auditable
📄 License
MIT - See LICENSE file
🤝 Contributing
Contributions welcome!
For Users: Customize behavior by editing the local templates in .amazonq/commands/kiro/
For Developers:
- Agent configuration is embedded in
install.jsasSDD_AGENT_CONFIG - Command templates are embedded in
install.jsasTEMPLATESobject - Both are installed locally for user customization
🔗 Links
Acknowledgments
This NPM package is built upon the excellent foundation provided by:
- gotalab/claude-code-spec - The original and comprehensive spec-driven development implementation for Claude Code
- Anthropic's Claude Code team - For pioneering the spec-driven development workflow
Made with ❤️ for systematic development workflows
