.kiro/docs/shortform-guide.md
# Clone the repository
git clone https://github.com/yourusername/ecc-kiro-public-repo.git
cd ecc-kiro-public-repo
# Install to current project
./install.sh
# Install globally to ~/.kiro/
./install.sh ~
/agent swap <agent-name>
| Agent | Model | Use For |
|---|---|---|
planner | Opus | Breaking down complex features into tasks |
code-reviewer | Sonnet | Code quality and best practices review |
tdd-guide | Sonnet | Test-driven development workflows |
security-reviewer | Sonnet | Security audits and vulnerability checks |
architect | Opus | System design and architecture decisions |
build-error-resolver | Sonnet | Fixing build and compilation errors |
doc-updater | Haiku | Updating documentation and comments |
refactor-cleaner | Sonnet | Code refactoring and cleanup |
go-reviewer | Sonnet | Go-specific code review |
python-reviewer | Sonnet | Python-specific code review |
database-reviewer | Sonnet | Database schema and query review |
e2e-runner | Sonnet | End-to-end test creation and execution |
harness-optimizer | Opus | Test harness optimization |
loop-operator | Sonnet | Verification loop execution |
chief-of-staff | Opus | Project coordination and planning |
go-build-resolver | Sonnet | Go build error resolution |
Type / in chat and select from the menu, or use:
#skill-name
| Skill | Use For |
|---|---|
tdd-workflow | Red-green-refactor TDD cycle |
security-review | Comprehensive security audit |
verification-loop | Continuous validation and improvement |
coding-standards | Code style and standards enforcement |
api-design | RESTful API design patterns |
frontend-patterns | React/Vue/Angular best practices |
backend-patterns | Server-side architecture patterns |
e2e-testing | End-to-end testing strategies |
golang-patterns | Go idioms and patterns |
golang-testing | Go testing best practices |
python-patterns | Python idioms and patterns |
python-testing | Python testing (pytest, unittest) |
database-migrations | Database schema evolution |
postgres-patterns | PostgreSQL optimization |
docker-patterns | Container best practices |
deployment-patterns | Deployment strategies |
search-first | Search-driven development |
agentic-engineering | Agentic workflow patterns |
coding-style.md - Code organization and namingdevelopment-workflow.md - Dev process and PR workflowgit-workflow.md - Commit conventions and branchingsecurity.md - Security best practicestesting.md - Testing standardspatterns.md - Design patternsperformance.md - Performance guidelineslessons-learned.md - Project-specific patternstypescript-patterns.md - For *.ts, *.tsx filespython-patterns.md - For *.py filesgolang-patterns.md - For *.go filesswift-patterns.md - For *.swift files#dev-mode # Development context
#review-mode # Code review context
#research-mode # Research and exploration context
Open the Agent Hooks panel in Kiro's sidebar.
| Hook | Trigger | Action |
|---|---|---|
quality-gate | Manual | Run full quality check (build, types, lint, tests) |
typecheck-on-edit | Save *.ts, *.tsx | Run TypeScript type check |
console-log-check | Save *.js, *.ts, *.tsx | Check for console.log statements |
tdd-reminder | Create *.ts, *.tsx | Remind to write tests first |
git-push-review | Before shell command | Review before git push |
code-review-on-write | After file write | Review written code |
auto-format | Save *.ts, *.tsx, *.js | Auto-format with biome/prettier |
extract-patterns | Agent stops | Suggest patterns for lessons-learned |
session-summary | Agent stops | Summarize session |
doc-file-warning | Before file write | Warn about documentation files |
Toggle hooks in the Agent Hooks panel or edit .kiro/hooks/*.kiro.hook files.
# Full quality check
.kiro/scripts/quality-gate.sh
# Format a file
.kiro/scripts/format.sh path/to/file.ts
cp .kiro/settings/mcp.json.example .kiro/settings/mcp.json.kiro/settings/mcp.json with your API keysgithub - GitHub API integrationsequential-thinking - Enhanced reasoningmemory - Persistent memory across sessionscontext7 - Extended context managementvercel - Vercel deploymentrailway - Railway deploymentcloudflare-docs - Cloudflare documentation1. /agent swap planner
"Plan a user authentication feature"
2. /agent swap tdd-guide
#tdd-workflow
"Implement the authentication feature"
3. /agent swap code-reviewer
"Review the authentication implementation"
1. /agent swap planner
"Investigate why login fails on mobile"
2. /agent swap build-error-resolver
"Fix the login bug"
3. /agent swap security-reviewer
"Ensure the fix is secure"
1. /agent swap security-reviewer
#security-review
"Audit the authentication module"
2. Review findings and fix issues
3. Update lessons-learned.md with patterns
1. /agent swap architect
"Analyze the user module architecture"
2. /agent swap refactor-cleaner
#verification-loop
"Refactor based on the analysis"
3. /agent swap code-reviewer
"Review the refactored code"
#file:path/to/file.ts# List available agents
/agent list
# Verify installation
ls .kiro/agents/
# Verify installation
ls .kiro/skills/
# Check SKILL.md format
cat .kiro/skills/skill-name/SKILL.md
"patterns": ["*.ts", "*.tsx"]cat .kiro/hooks/hook-name.kiro.hookinclusion: auto or fileMatch or manualfileMatchPattern: "*.ts,*.tsx"#filename# Make executable
chmod +x .kiro/scripts/*.sh
# Test manually
.kiro/scripts/quality-gate.sh
docs/longform-guide.md - Deep dive on agentic workflowsdocs/security-guide.md - Security best practicesdocs/migration-from-ecc.md - For Claude Code users.kiro/agents/my-agent.json:{
"name": "my-agent",
"description": "My custom agent",
"prompt": "You are a specialized agent for...",
"model": "claude-sonnet-4-5"
}
/agent swap my-agent.kiro/skills/my-skill/SKILL.md:---
name: my-skill
description: My custom skill
---
# My Skill
Instructions for the agent...
/ menu or #my-skill.kiro/steering/my-rules.md:---
inclusion: auto
description: My custom rules
---
# My Rules
Rules and patterns...
.kiro/hooks/my-hook.kiro.hook:{
"name": "my-hook",
"version": "1.0.0",
"description": "My custom hook",
"enabled": true,
"when": {
"type": "fileEdited",
"patterns": ["*.ts"]
},
"then": {
"type": "runCommand",
"command": "echo 'File edited'"
}
}