kiro-agent-team 1.1.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/.kiro/README.md +15 -3
  2. package/.kiro/TEAM_STATE.md +25 -0
  3. package/.kiro/agents/ANNOUNCEMENTS.md +211 -0
  4. package/.kiro/agents/prompts/backend-engineer-system.md +109 -760
  5. package/.kiro/agents/prompts/database-specialist-system.md +109 -319
  6. package/.kiro/agents/prompts/development-logger-system.md +105 -198
  7. package/.kiro/agents/prompts/devops-engineer-system.md +82 -223
  8. package/.kiro/agents/prompts/frontend-architect-system.md +103 -277
  9. package/.kiro/agents/prompts/project-manager-system.md +99 -245
  10. package/.kiro/agents/prompts/security-specialist-system.md +85 -196
  11. package/.kiro/agents/prompts/test-orchestrator-system.md +110 -190
  12. package/.kiro/agents/prompts/ui-ux-designer-system.md +78 -231
  13. package/.kiro/context/README.md +94 -0
  14. package/.kiro/context/agents/backend-engineer-examples.md +231 -0
  15. package/.kiro/context/agents/database-specialist-examples.md +169 -0
  16. package/.kiro/context/agents/development-logger-examples.md +212 -0
  17. package/.kiro/context/agents/devops-engineer-examples.md +248 -0
  18. package/.kiro/context/agents/frontend-architect-examples.md +233 -0
  19. package/.kiro/context/agents/project-manager-examples.md +137 -0
  20. package/.kiro/context/agents/security-specialist-examples.md +218 -0
  21. package/.kiro/context/agents/test-orchestrator-examples.md +222 -0
  22. package/.kiro/context/agents/ui-ux-designer-examples.md +185 -0
  23. package/.kiro/context/core/ai-guidelines.md +50 -0
  24. package/.kiro/context/core/philosophy.md +46 -0
  25. package/.kiro/context/index.yaml +369 -0
  26. package/.kiro/context/performance/performance.md +65 -0
  27. package/.kiro/context/quality/code-style.md +59 -0
  28. package/.kiro/context/quality/component-guidelines.md +110 -0
  29. package/.kiro/context/quality/pre-commit.md +43 -0
  30. package/.kiro/context/react/react19-features.md +97 -0
  31. package/.kiro/context/security/security.md +39 -0
  32. package/.kiro/context/state/state-management.md +68 -0
  33. package/.kiro/context/structure/project-structure.md +52 -0
  34. package/.kiro/context/testing/testing-strategy.md +95 -0
  35. package/.kiro/context/typescript/typescript-strict.md +87 -0
  36. package/.kiro/context/validation/validation-zod.md +84 -0
  37. package/.kiro/devlog/devlog-update.sh +275 -275
  38. package/.kiro/devlog/feature-completion-hook.sh +84 -84
  39. package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +1 -1
  40. package/.kiro/guides/PIV Loop.md +22 -61
  41. package/.kiro/guides/QUICK_REFERENCE.md +1 -0
  42. package/.kiro/guides/core-workflows.md +58 -75
  43. package/.kiro/guides/mandatory-agent-system.md +434 -0
  44. package/.kiro/prompts/add-to-devlog.md +262 -262
  45. package/.kiro/prompts/code-review.md +17 -1
  46. package/.kiro/prompts/commit.md +376 -0
  47. package/.kiro/prompts/context.md +84 -0
  48. package/.kiro/prompts/create-prd.md +9 -1
  49. package/.kiro/prompts/execute.md +11 -1
  50. package/.kiro/prompts/execution-report.md +11 -1
  51. package/.kiro/prompts/implement-fix.md +10 -0
  52. package/.kiro/prompts/implement-system-changes.md +34 -0
  53. package/.kiro/prompts/plan-feature.md +14 -1
  54. package/.kiro/prompts/plan-vibe.md +37 -0
  55. package/.kiro/prompts/system-review.md +11 -1
  56. package/.kiro/steering/mandatory-agents.md +116 -0
  57. package/AGENTS.md +60 -14
  58. package/CLAUDE-full.md +958 -0
  59. package/CLAUDE.md +60 -934
  60. package/bin/cli.js +2 -2
  61. package/package.json +3 -2
package/.kiro/README.md CHANGED
@@ -20,6 +20,7 @@ Welcome to the most comprehensive development team system ever created for Kiro-
20
20
  @plan-feature "User Authentication"
21
21
  # Follow the generated plan with assigned agents
22
22
  @code-review
23
+ @commit # Generate commit message and commit changes
23
24
  # Deploy with confidence
24
25
  ```
25
26
 
@@ -45,7 +46,7 @@ Welcome to the most comprehensive development team system ever created for Kiro-
45
46
 
46
47
  | Agent | Expertise | Primary Prompts | Best For |
47
48
  |-------|-----------|----------------|----------|
48
- | **Project Manager** | Coordination & Planning | `@prime`, `@plan-feature`, `@create-prd` | Project setup, feature planning |
49
+ | **Project Manager** | Coordination & Planning | `@prime`, `@plan-vibe`, `@create-prd`, `@plan-feature` | Project setup, feature planning |
49
50
  | **Backend Engineer** | Server Development | `@execute` | APIs, business logic, databases |
50
51
  | **Frontend Architect** | Client Development | `@execute` | UI, state management, UX |
51
52
  | **Database Specialist** | Data Management | `@execute` | Schema, migrations, optimization |
@@ -60,7 +61,7 @@ Welcome to the most comprehensive development team system ever created for Kiro-
60
61
  ### **Quality Gate System**
61
62
  Every development workflow includes 5 mandatory quality gates:
62
63
 
63
- 1. **Planning Gate**: `@prime` + `@plan-feature` before implementation
64
+ 1. **Planning Gate**: `@prime` + `@plan-vibe` + `@create-prd` + `@plan-feature`
64
65
  2. **Implementation Gate**: `@execute` framework for all agents
65
66
  3. **Quality Gate**: `@code-review` before deployment
66
67
  4. **Documentation Gate**: `@execution-report` for major features
@@ -68,7 +69,18 @@ Every development workflow includes 5 mandatory quality gates:
68
69
 
69
70
  ### **Workflow Patterns**
70
71
  - **New Project Setup**: Context → Planning → Implementation → Quality → Documentation
71
- - **Feature Development**: Plan Execute Review → Report → Improve
72
+ - **Feature Development (PIV Loop)**: The core 11-step process:
73
+ 1. **Vibe & Brainstorm** (`@plan-vibe`)
74
+ 2. **Define Requirements** (`@create-prd`)
75
+ 3. **Plan Implementation** (`@plan-feature`),
76
+ 4. **User Review** (GATE)
77
+ 5. **Execute Plan** (`@execute`)
78
+ 6. **Code Review** (`@code-review`)
79
+ 7. **Fix Issues** (`@implement-fix`)
80
+ 8. **Execution Report** (`@execution-report`)
81
+ 9. **System Review** (`@system-review`)
82
+ 10. **Implement System Changes** (`@implement-system-changes`)
83
+ 11. **Commit & Log** (`@commit`)
72
84
  - **Bug Resolution**: Analyze (`@rca`) → Fix (`@implement-fix`) → Validate → Learn
73
85
  - **Project Evaluation**: Assess (`@code-review-hackathon`) → Document → Optimize
74
86
 
@@ -0,0 +1,25 @@
1
+ # Team State
2
+
3
+ > **CRITICAL**: This file is the Single Source of Truth for the current development state.
4
+ > - **Agents**: You MUST read this upon activation.
5
+ > - **Agents**: You MUST update this before handoff.
6
+
7
+ ## 🎯 Current Objective
8
+ <!-- The high-level goal we are currently working towards -->
9
+ *No active objective.*
10
+
11
+ ## 🚦 Status
12
+ <!-- ACTIVE | COMPLETED | BLOCKED | PAUSED -->
13
+ **PAUSED**
14
+
15
+ ## 👤 Active Agent
16
+ <!-- The agent currently holding the lock -->
17
+ *None*
18
+
19
+ ## 📝 Recent Context
20
+ <!-- Bullet points of key decisions, completed steps, or critical info for the next agent -->
21
+ - [Initial State]: System initialized.
22
+
23
+ ## 🔜 Next Steps
24
+ <!-- Immediate actions required by the next agent -->
25
+ - [ ] Define the first objective.
@@ -0,0 +1,211 @@
1
+ # Agent Announcement System
2
+
3
+ ## Purpose
4
+
5
+ All agents MUST announce themselves when becoming active and when passing work to other agents. This ensures transparency, traceability, and proper agent coordination.
6
+
7
+ ## Activation Announcements
8
+
9
+ When an agent becomes active, it MUST start its first message with:
10
+
11
+ ### Format
12
+ ```
13
+ 🎭 **[AGENT NAME] ACTIVE**
14
+
15
+ [Role]: [Brief role description]
16
+ [State]: Read from .kiro/TEAM_STATE.md
17
+ [Mission]: What I'm about to do
18
+
19
+ [Proceed with work]
20
+ ```
21
+
22
+ ### Example
23
+ ```
24
+ 🎭 **BACKEND ENGINEER ACTIVE**
25
+
26
+ [Role]: API Developer & Business Logic Architect
27
+ [Mission]: Implementing user authentication API endpoints
28
+
29
+ I'll now create the authentication endpoints with JWT support...
30
+ ```
31
+
32
+ ## Handoff Announcements
33
+
34
+ When an agent completes work and passes it to another agent:
35
+
36
+ ### Format
37
+ ```
38
+ ✅ **[CURRENT AGENT] Complete**
39
+
40
+ **Completed Work:**
41
+ - [What was accomplished]
42
+
43
+ 🔄 **Handing off to [NEXT AGENT]**
44
+
45
+ **Next Steps:**
46
+ - [What needs to be done next]
47
+ - [Context for the next agent]
48
+
49
+ [State Update]: .kiro/TEAM_STATE.md updated
50
+
51
+ 🎭 **[NEXT AGENT] ACTIVE** (announced by receiving agent)
52
+ ```
53
+
54
+ ### Example
55
+ ```
56
+ ✅ **BACKEND ENGINEER Complete**
57
+
58
+ **Completed Work:**
59
+ - Created `/api/auth/login` endpoint
60
+ - Implemented JWT token generation
61
+ - Added password hashing with bcrypt
62
+
63
+ 🔄 **Handing off to FRONTEND ARCHITECT**
64
+
65
+ **Next Steps:**
66
+ - Create login form component
67
+ - Implement token storage
68
+ - Add authentication state management
69
+
70
+ 🎭 **FRONTEND ARCHITECT ACTIVE**
71
+
72
+ [Role]: Client-side Developer & UX Specialist
73
+ [Mission]: Building the login UI and authentication flow
74
+
75
+ I'll now create the login component...
76
+ ```
77
+
78
+ ## Announcement Guidelines
79
+
80
+ 1. **Always Announce**: Never proceed without an announcement
81
+ 2. **Be Specific**: Clearly state what will be accomplished
82
+ 3. **Provide Context**: Include relevant information for handoffs
83
+ 4. **Use Emojis**: Use 🎭 for activation, 🔄 for handoffs, ✅ for completion
84
+ 5. **Be Consistent**: Use the same format across all agents
85
+ 6. **Brief but Complete**: Keep announcements concise but informative
86
+
87
+ ## Multi-Agent Scenarios
88
+
89
+ When multiple agents work on related tasks:
90
+
91
+ ```
92
+ 🎭 **PROJECT MANAGER ACTIVE**
93
+
94
+ [Role]: Development Team Orchestrator
95
+ [Mission]: Coordinating multi-agent authentication feature implementation
96
+
97
+ 📋 **Task Breakdown:**
98
+ - Backend Engineer: API endpoints
99
+ - Frontend Architect: UI components
100
+ - Database Specialist: Schema updates
101
+
102
+ 🔄 **Assigning work to Backend Engineer...**
103
+
104
+ 🎭 **BACKEND ENGINEER ACTIVE**
105
+
106
+ [Role]: API Developer
107
+ [Mission]: Creating authentication API endpoints
108
+
109
+ [Work completed]
110
+
111
+ ✅ **BACKEND ENGINEER Complete**
112
+
113
+ **Completed Work:**
114
+ - Login endpoint created
115
+ - Token generation implemented
116
+ - Password hashing added
117
+
118
+ 🔄 **Handing off to Database Specialist...**
119
+
120
+ 🎭 **DATABASE SPECIALIST ACTIVE**
121
+
122
+ [Role]: Data Layer Expert
123
+ [Mission]: Optimizing schema for authentication
124
+ ```
125
+
126
+ ## Parallel Work Announcements
127
+
128
+ When agents work simultaneously:
129
+
130
+ ```
131
+ 🎭 **PROJECT MANAGER ACTIVE**
132
+
133
+ [Role]: Development Team Orchestrator
134
+ [Mission]: Coordinating parallel development work
135
+
136
+ 📋 **Parallel Task Assignment:**
137
+
138
+ 🔄 **Assigning to Backend Engineer**: API development
139
+ 🔄 **Assigning to Frontend Architect**: UI components
140
+
141
+ Both agents will work in parallel...
142
+
143
+ ---
144
+
145
+ 🎭 **BACKEND ENGINEER ACTIVE**
146
+ [Mission]: API endpoints
147
+
148
+ ---
149
+
150
+ 🎭 **FRONTEND ARCHITECT ACTIVE**
151
+ [Mission]: UI components
152
+
153
+ [Both agents proceed with their work]
154
+ ```
155
+
156
+ ## Announcement Best Practices
157
+
158
+ ### DO ✅
159
+ - Always announce before starting work
160
+ - Use clear, specific mission statements
161
+ - Provide complete context for handoffs
162
+ - Use consistent emoji indicators
163
+ - Announce completion before handoff
164
+ - Specify which agent receives the handoff
165
+
166
+ ### DON'T ❌
167
+ - Skip announcements for "quick fixes"
168
+ - Use vague mission statements
169
+ - Handoff without context
170
+ - Change announcement format
171
+ - Proceed without activation announcement
172
+ - Forget to specify receiving agent
173
+
174
+ ## Integration with Kiro IDE & CLI
175
+
176
+ Both environments support agent announcements:
177
+
178
+ ### Kiro IDE
179
+ - Announcements appear in the chat interface
180
+ - Visual indicators for active agents
181
+ - Agent picker shows available agents
182
+ - Handoffs tracked in conversation history
183
+
184
+ ### Kiro CLI
185
+ - Announcements appear in terminal output
186
+ - `/agent swap` command for switching agents
187
+ - `--agent` flag for starting with specific agent
188
+ - Clear visual separation between agent responses
189
+
190
+ The announcement format works identically in both environments.
191
+
192
+ ## Troubleshooting
193
+
194
+ **Q: Do I need to announce for every message?**
195
+ A: Only when becoming active or handing off. Once active, continue working until handoff.
196
+
197
+ **Q: Can I abbreviate announcements?**
198
+ A: No. Use the full format for clarity and traceability.
199
+
200
+ **Q: What if I'm already the active agent?**
201
+ A: If you're continuing work, no new announcement needed. Only announce when first becoming active.
202
+
203
+ **Q: How do I know which agent to hand off to?**
204
+ A: The Project Manager coordinates handoffs. If uncertain, hand back to Project Manager.
205
+
206
+ ## Reference
207
+
208
+ See also:
209
+ - `.kiro/steering/mandatory-agents.md` - Enforcement rules
210
+ - `.kiro/guides/mandatory-agent-system.md` - Complete system guide
211
+ - `.kiro/agents/[agent-name].md` - Individual agent specifications