@intentsolutionsio/sprint 1.0.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.
- package/.claude-plugin/plugin.json +23 -0
- package/LICENSE +21 -0
- package/README.md +320 -0
- package/agents/allpurpose-agent.md +159 -0
- package/agents/cicd-agent.md +189 -0
- package/agents/nextjs-dev.md +204 -0
- package/agents/nextjs-diagnostics-agent.md +206 -0
- package/agents/project-architect.md +398 -0
- package/agents/python-dev.md +159 -0
- package/agents/qa-test-agent.md +192 -0
- package/agents/ui-test-agent.md +295 -0
- package/agents/website-designer.md +48 -0
- package/commands/clean.md +153 -0
- package/commands/generate-map.md +160 -0
- package/commands/new.md +173 -0
- package/commands/setup.md +239 -0
- package/commands/sprint.md +482 -0
- package/commands/test.md +183 -0
- package/package.json +44 -0
- package/skills/agent-patterns/SKILL.md +103 -0
- package/skills/agent-patterns/references/errors.md +8 -0
- package/skills/agent-patterns/references/examples.md +291 -0
- package/skills/agent-patterns/references/ui-test-report.md +35 -0
- package/skills/api-contract/SKILL.md +115 -0
- package/skills/api-contract/references/best-practices.md +47 -0
- package/skills/api-contract/references/errors.md +8 -0
- package/skills/api-contract/references/examples.md +448 -0
- package/skills/api-contract/references/pagination.md +46 -0
- package/skills/api-contract/references/typescript-interfaces.md +46 -0
- package/skills/api-contract/references/writing-endpoints.md +45 -0
- package/skills/spec-writing/SKILL.md +110 -0
- package/skills/spec-writing/references/errors.md +8 -0
- package/skills/spec-writing/references/examples.md +274 -0
- package/skills/spec-writing/references/testing-configuration.md +40 -0
- package/skills/sprint-workflow/SKILL.md +81 -0
- package/skills/sprint-workflow/references/errors.md +8 -0
- package/skills/sprint-workflow/references/examples.md +317 -0
- package/skills/sprint-workflow/references/sprint-phases.md +54 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sprint",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Autonomous multi-agent development framework with spec-driven sprints and convergent iteration",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Damien Laine",
|
|
7
|
+
"email": "damien.laine@gmail.com",
|
|
8
|
+
"url": "https://github.com/damienlaine"
|
|
9
|
+
},
|
|
10
|
+
"repository": "https://github.com/damienlaine/agentic-sprint",
|
|
11
|
+
"homepage": "https://github.com/damienlaine/agentic-sprint",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"autonomous",
|
|
15
|
+
"agentic",
|
|
16
|
+
"yolo",
|
|
17
|
+
"self-iterating",
|
|
18
|
+
"multi-agent",
|
|
19
|
+
"hands-off",
|
|
20
|
+
"auto-pilot",
|
|
21
|
+
"orchestration"
|
|
22
|
+
]
|
|
23
|
+
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Agentic Sprint Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
# Sprint
|
|
2
|
+
|
|
3
|
+
> Autonomous multi-agent development plugin for Claude Code. Spec-driven, iterative sprints with specialized agents.
|
|
4
|
+
|
|
5
|
+
**Part of [Agentic Forge](https://github.com/damienlaine/agentic-forge)** — Claude Code plugins for autonomous AI workflows.
|
|
6
|
+
|
|
7
|
+
**Stop prompting in circles.** Sprint replaces ad-hoc AI coding with structured, specification-driven development. Write specs, run `/sprint`, and let coordinated agents handle the rest.
|
|
8
|
+
|
|
9
|
+
At its core, the `/sprint` command is a **spec-driven, self-iterative state machine** — it reads your specifications, orchestrates specialized agents through defined phases, and loops autonomously until the work is done or validation passes.
|
|
10
|
+
|
|
11
|
+
## What is Sprint?
|
|
12
|
+
|
|
13
|
+
Sprint is a Claude Code plugin that turns Claude into an autonomous development team:
|
|
14
|
+
|
|
15
|
+
- **Project Architect** analyzes requirements, creates specifications, and coordinates work
|
|
16
|
+
- **Implementation Agents** (Python, Next.js, CI/CD, or any tech via allpurpose-agent) build features according to specs
|
|
17
|
+
- **Testing Agents** (QA, UI) validate the implementation
|
|
18
|
+
- **Sprint Orchestrator** — the self-iterative state machine that manages phases, handoffs, and convergence
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
You write specs → Agents implement → Tests validate → Iterate until done
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The orchestrator drives the loop: specs in, working code out. No manual intervention required between phases.
|
|
25
|
+
|
|
26
|
+
### Why It Works
|
|
27
|
+
|
|
28
|
+
Unlike single-shot prompting where context bloats and AI mistakes compound, Sprint uses a **convergent multi-pass approach**:
|
|
29
|
+
|
|
30
|
+
- **Context preservation** — Each agent receives only what it needs (specs, contract, relevant code). No wasted tokens on irrelevant history.
|
|
31
|
+
- **Specs shrink, not grow** — Completed work is removed from specs. Each iteration focuses only on what remains.
|
|
32
|
+
- **Errors get erased** — Working code stays untouched while issues get fixed. The signal-to-noise ratio improves with each pass.
|
|
33
|
+
|
|
34
|
+
Think of it like a **diffusion process**: the picture starts noisy, but with each iteration, the noise reduces and clarity emerges. By the final pass, only the solution remains.
|
|
35
|
+
|
|
36
|
+
Most sprints converge well before 5 iterations. If they don't, the system pauses and asks you what to do — adjust specs, continue iterating, or intervene manually. You stay in control.
|
|
37
|
+
|
|
38
|
+
### Multi-Paradigm Design
|
|
39
|
+
|
|
40
|
+
Sprint is **technology-agnostic**. While it includes specialized agents for Python/FastAPI and Next.js, the system works with any tech stack:
|
|
41
|
+
|
|
42
|
+
- The `allpurpose-agent` adapts to Go, Rust, Flutter, Ruby, or any technology
|
|
43
|
+
- Create your own specialized agents for your preferred stack
|
|
44
|
+
- The architect automatically selects appropriate agents based on project structure
|
|
45
|
+
|
|
46
|
+
### The Second Brain Effect
|
|
47
|
+
|
|
48
|
+
Two files give agents persistent memory across sprints — reducing token usage and keeping context focused:
|
|
49
|
+
|
|
50
|
+
**`.claude/project-goals.md`** — The business brain *(you maintain this)*
|
|
51
|
+
- Product vision and target audience
|
|
52
|
+
- Market analysis and differentiators
|
|
53
|
+
- Success metrics and constraints
|
|
54
|
+
- What you're building and *why*
|
|
55
|
+
|
|
56
|
+
The more detail you provide, the sharper and more shrewd the architect becomes.
|
|
57
|
+
|
|
58
|
+
**`.claude/project-map.md`** — The technical brain *(architect maintains this)*
|
|
59
|
+
- Project structure and architecture
|
|
60
|
+
- API surface and database schema
|
|
61
|
+
- Routes, components, environment variables
|
|
62
|
+
- *Where* everything lives and *how* it connects
|
|
63
|
+
|
|
64
|
+
Agents read this instead of scanning the entire codebase. The architect keeps it lean and current.
|
|
65
|
+
|
|
66
|
+
## Installation
|
|
67
|
+
|
|
68
|
+
### From Agentic Forge (recommended)
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Add the marketplace
|
|
72
|
+
/plugin marketplace add damienlaine/agentic-forge
|
|
73
|
+
|
|
74
|
+
# Install the plugin
|
|
75
|
+
/plugin install sprint
|
|
76
|
+
|
|
77
|
+
# Update to latest version
|
|
78
|
+
/plugin marketplace update damienlaine/agentic-forge
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Local Development
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# Clone this repo
|
|
85
|
+
git clone https://github.com/damienlaine/agentic-sprint.git
|
|
86
|
+
|
|
87
|
+
# Run Claude Code with the plugin
|
|
88
|
+
claude --plugin-dir ./agentic-sprint
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Quick Start
|
|
92
|
+
|
|
93
|
+
### 1. Set Up Your Project
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# Interactive project onboarding
|
|
97
|
+
/sprint:setup
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
This creates both Second Brain documents through guided questions:
|
|
101
|
+
- `.claude/project-goals.md` (business vision)
|
|
102
|
+
- `.claude/project-map.md` (technical architecture)
|
|
103
|
+
|
|
104
|
+
### 2. Create Your First Sprint
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
/sprint:new
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
This creates `.claude/sprint/1/specs.md`. Edit it with your requirements.
|
|
111
|
+
|
|
112
|
+
### 3. Run the Sprint
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
/sprint
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Watch the agents work:
|
|
119
|
+
1. Architect analyzes specs and creates detailed specifications
|
|
120
|
+
2. Implementation agents build in parallel
|
|
121
|
+
3. Testing agents validate the work
|
|
122
|
+
4. Architect reviews and iterates (up to 5 times)
|
|
123
|
+
5. Sprint completes with a status summary
|
|
124
|
+
|
|
125
|
+
## Commands
|
|
126
|
+
|
|
127
|
+
| Command | Description |
|
|
128
|
+
|---------|-------------|
|
|
129
|
+
| `/sprint` | Run the full sprint workflow |
|
|
130
|
+
| `/sprint:new` | Create a new sprint |
|
|
131
|
+
| `/sprint:setup` | Interactive project onboarding |
|
|
132
|
+
| `/sprint:test` | Manual UI testing with live browser |
|
|
133
|
+
| `/sprint:generate-map` | Generate project-map.md |
|
|
134
|
+
| `/sprint:clean` | Remove old sprint directories |
|
|
135
|
+
|
|
136
|
+
### Manual Testing Mode
|
|
137
|
+
|
|
138
|
+
Sometimes you want to explore the UI yourself rather than run automated tests. There are two ways:
|
|
139
|
+
|
|
140
|
+
#### Within a Sprint
|
|
141
|
+
|
|
142
|
+
Set `UI Testing Mode: manual` in your `specs.md`:
|
|
143
|
+
|
|
144
|
+
```markdown
|
|
145
|
+
## Testing
|
|
146
|
+
- UI Testing: required
|
|
147
|
+
- UI Testing Mode: manual
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
When the architect requests UI testing:
|
|
151
|
+
1. **Chrome opens a browser tab** pointing to your app
|
|
152
|
+
2. **You interact with the app manually** — click around, test forms, explore edge cases
|
|
153
|
+
3. **Console errors are monitored** in real-time
|
|
154
|
+
4. **Close the browser tab** when you're done testing
|
|
155
|
+
5. Sprint continues with architect review of your session report
|
|
156
|
+
|
|
157
|
+
For Next.js projects, a diagnostics agent also monitors for compilation and hydration errors.
|
|
158
|
+
|
|
159
|
+
#### Standalone Testing
|
|
160
|
+
|
|
161
|
+
For quick testing outside of sprints:
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
/sprint:test
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Opens a browser, monitors errors, and saves a report when you say "finish testing".
|
|
168
|
+
|
|
169
|
+
**Reports feed into sprints:** The report is saved to `.claude/sprint/[N]/manual-test-report.md`. When you run `/sprint`, the architect sees your observations and prioritizes fixing the issues you discovered.
|
|
170
|
+
|
|
171
|
+
## Plugin Structure
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
sprint/
|
|
175
|
+
├── .claude-plugin/
|
|
176
|
+
│ └── plugin.json # Plugin manifest
|
|
177
|
+
├── commands/ # Slash commands
|
|
178
|
+
│ ├── sprint.md # Main workflow (/sprint)
|
|
179
|
+
│ ├── new.md # Create sprints (/sprint:new)
|
|
180
|
+
│ ├── setup.md # Project onboarding
|
|
181
|
+
│ ├── test.md # Manual UI testing
|
|
182
|
+
│ ├── generate-map.md # Generate project map
|
|
183
|
+
│ └── clean.md # Cleanup utility
|
|
184
|
+
├── agents/ # Agent definitions
|
|
185
|
+
│ ├── project-architect.md # Coordinator agent
|
|
186
|
+
│ ├── python-dev.md # Python/FastAPI backend
|
|
187
|
+
│ ├── nextjs-dev.md # Next.js frontend
|
|
188
|
+
│ ├── allpurpose-agent.md # Any tech stack
|
|
189
|
+
│ ├── qa-test-agent.md # API/unit testing
|
|
190
|
+
│ ├── ui-test-agent.md # E2E browser testing
|
|
191
|
+
│ ├── nextjs-diagnostics-agent.md # Next.js monitoring (optional)
|
|
192
|
+
│ ├── cicd-agent.md # CI/CD pipelines
|
|
193
|
+
│ └── website-designer.md # Static websites
|
|
194
|
+
├── skills/ # Knowledge modules
|
|
195
|
+
│ ├── sprint-workflow/ # How sprints work
|
|
196
|
+
│ ├── spec-writing/ # Writing effective specs
|
|
197
|
+
│ ├── agent-patterns/ # Agent coordination
|
|
198
|
+
│ └── api-contract/ # Contract design
|
|
199
|
+
└── docs/ # Documentation
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
## Agents
|
|
203
|
+
|
|
204
|
+
### Implementation Agents
|
|
205
|
+
|
|
206
|
+
| Agent | Tech Stack | Description |
|
|
207
|
+
|-------|------------|-------------|
|
|
208
|
+
| `python-dev` | FastAPI, PostgreSQL | Python backend development |
|
|
209
|
+
| `nextjs-dev` | Next.js 16, React 19 | Next.js frontend development |
|
|
210
|
+
| `cicd-agent` | GitHub Actions, Docker | CI/CD pipelines |
|
|
211
|
+
| `allpurpose-agent` | Any | Adapts to any technology |
|
|
212
|
+
| `website-designer` | Static HTML/CSS | Marketing websites |
|
|
213
|
+
|
|
214
|
+
### Testing Agents
|
|
215
|
+
|
|
216
|
+
| Agent | Purpose | Tools |
|
|
217
|
+
|-------|---------|-------|
|
|
218
|
+
| `qa-test-agent` | API & unit tests | pytest, jest, vitest |
|
|
219
|
+
| `ui-test-agent` | E2E browser tests | Chrome browser MCP |
|
|
220
|
+
| `nextjs-diagnostics-agent` | Runtime monitoring (Next.js only) | Next.js DevTools MCP |
|
|
221
|
+
|
|
222
|
+
### Writing Your Own Agents
|
|
223
|
+
|
|
224
|
+
Create a markdown file in your project's `.claude/agents/` or contribute to this plugin:
|
|
225
|
+
|
|
226
|
+
```yaml
|
|
227
|
+
---
|
|
228
|
+
name: your-agent
|
|
229
|
+
description: What this agent does
|
|
230
|
+
model: opus
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
[Agent instructions...]
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
The architect can then request your agent via SPAWN REQUEST blocks.
|
|
237
|
+
|
|
238
|
+
## Specification Files
|
|
239
|
+
|
|
240
|
+
**`specs.md`** - Your input (minimal or detailed):
|
|
241
|
+
```markdown
|
|
242
|
+
# Sprint 1: User Authentication
|
|
243
|
+
|
|
244
|
+
## Goal
|
|
245
|
+
Add user authentication with email/password login
|
|
246
|
+
|
|
247
|
+
## Scope
|
|
248
|
+
### In Scope
|
|
249
|
+
- Registration endpoint
|
|
250
|
+
- Login endpoint
|
|
251
|
+
- JWT tokens
|
|
252
|
+
|
|
253
|
+
### Out of Scope
|
|
254
|
+
- OAuth providers
|
|
255
|
+
- Password reset
|
|
256
|
+
|
|
257
|
+
## Testing
|
|
258
|
+
- QA: required
|
|
259
|
+
- UI Testing: required
|
|
260
|
+
- UI Testing Mode: automated
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
**`api-contract.md`** - Generated shared interface:
|
|
264
|
+
```markdown
|
|
265
|
+
## POST /api/auth/login
|
|
266
|
+
Request: { email: string, password: string }
|
|
267
|
+
Response: { token: string, user: User }
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
## Skills
|
|
271
|
+
|
|
272
|
+
Sprint includes knowledge modules that Claude can load when needed:
|
|
273
|
+
|
|
274
|
+
- **sprint-workflow** — Convergent diffusion model, phase lifecycle
|
|
275
|
+
- **spec-writing** — How to write effective specifications
|
|
276
|
+
- **agent-patterns** — SPAWN REQUEST format, report structure
|
|
277
|
+
- **api-contract** — Designing shared contracts
|
|
278
|
+
|
|
279
|
+
## Best Practices
|
|
280
|
+
|
|
281
|
+
1. **Run setup first** — Use `/sprint:setup` to create project-goals.md and project-map.md
|
|
282
|
+
2. **Write clear specs** — The better your `specs.md`, the better the output
|
|
283
|
+
3. **Iterate small** — Multiple small sprints beat one big sprint
|
|
284
|
+
4. **Checkpoint often** — Commit before running sprints
|
|
285
|
+
5. **Review reports** — Agent reports show what was done and why
|
|
286
|
+
|
|
287
|
+
## Troubleshooting
|
|
288
|
+
|
|
289
|
+
### Sprint stuck in iteration loop
|
|
290
|
+
- Check `status.md` for blockers
|
|
291
|
+
- Review agent reports for errors
|
|
292
|
+
- Max 5 iterations before pause
|
|
293
|
+
|
|
294
|
+
### Agents not following specs
|
|
295
|
+
- Ensure `api-contract.md` is clear and complete
|
|
296
|
+
- Check for conflicting information in spec files
|
|
297
|
+
- Architect may need to clarify specs
|
|
298
|
+
|
|
299
|
+
## Documentation
|
|
300
|
+
|
|
301
|
+
- [Agent Architecture](docs/AGENTS.md) - Deep dive into agent system
|
|
302
|
+
|
|
303
|
+
## License
|
|
304
|
+
|
|
305
|
+
MIT License - See [LICENSE](LICENSE)
|
|
306
|
+
|
|
307
|
+
## Contributing
|
|
308
|
+
|
|
309
|
+
**Contributions are highly encouraged!** This is a community project — the built-in agents are just a starting point.
|
|
310
|
+
|
|
311
|
+
Ways to contribute:
|
|
312
|
+
- **Add new agents** for different tech stacks (Go, Rust, Vue, Django, etc.)
|
|
313
|
+
- **Improve existing agents** with better prompts, patterns, or capabilities
|
|
314
|
+
- **Share your workflows** — what sprint configurations work well?
|
|
315
|
+
- **Report issues** — what breaks? what's confusing?
|
|
316
|
+
- **Improve docs** — help others get started
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
Built with Claude Code. Part of [Agentic Forge](https://github.com/damienlaine/agentic-forge).
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: allpurpose-agent
|
|
3
|
+
description: >
|
|
4
|
+
General-purpose implementation agent. Adapts to any technology stack
|
|
5
|
+
based...
|
|
6
|
+
model: opus
|
|
7
|
+
---
|
|
8
|
+
You are a General-Purpose Implementation Agent. You adapt to any technology stack or task type based on the specifications provided.
|
|
9
|
+
|
|
10
|
+
You work under a sprint orchestrator and a project-architect agent.
|
|
11
|
+
|
|
12
|
+
You NEVER:
|
|
13
|
+
- spawn other agents
|
|
14
|
+
- modify `.claude/sprint/[index]/status.md`
|
|
15
|
+
- modify `.claude/project-map.md`
|
|
16
|
+
- reference sprints in code, comments, or commits (sprints are ephemeral internal workflow)
|
|
17
|
+
|
|
18
|
+
You ONLY:
|
|
19
|
+
- read specs and project map
|
|
20
|
+
- implement code according to specifications
|
|
21
|
+
- return a single structured IMPLEMENTATION REPORT in your reply
|
|
22
|
+
|
|
23
|
+
The orchestrator will store your report content in a file such as:
|
|
24
|
+
`.claude/sprint/[index]/[task]-report-[iteration].md`
|
|
25
|
+
|
|
26
|
+
You do NOT manage filenames or iteration numbers.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## CRITICAL: Specification Protocol (READ FIRST)
|
|
31
|
+
|
|
32
|
+
MANDATORY workflow:
|
|
33
|
+
1. FIRST ACTION: Read your task-specific specs from `.claude/sprint/[index]/[task]-specs.md`
|
|
34
|
+
2. SECOND ACTION: Read `.claude/sprint/[index]/api-contract.md` if it exists (shared API interface)
|
|
35
|
+
3. Implement exactly as specified in the spec files
|
|
36
|
+
4. If you need to deviate from specs, you MUST report it with justification
|
|
37
|
+
|
|
38
|
+
You may also READ `.claude/project-map.md` to understand project structure, but you must NOT modify it.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Deviation Reporting Format (MANDATORY)
|
|
43
|
+
|
|
44
|
+
After implementation, your reply MUST consist of a single report with this exact structure:
|
|
45
|
+
|
|
46
|
+
```markdown
|
|
47
|
+
## IMPLEMENTATION REPORT
|
|
48
|
+
|
|
49
|
+
### TASK
|
|
50
|
+
[Brief description of what was implemented]
|
|
51
|
+
|
|
52
|
+
### CONFORMITY STATUS: [YES/NO]
|
|
53
|
+
|
|
54
|
+
### DEVIATIONS:
|
|
55
|
+
[If conformity is YES, write "None"]
|
|
56
|
+
[If conformity is NO, list each deviation:]
|
|
57
|
+
|
|
58
|
+
- **Spec item:** [reference from specs]
|
|
59
|
+
- **File:** [path:line]
|
|
60
|
+
- **Deviation:** [describe what differs from specs]
|
|
61
|
+
- **Justification:** [technical reason]
|
|
62
|
+
- **Recommendation:** [keep deviation OR update spec to match]
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
### FILES CHANGED:
|
|
67
|
+
- [list of file paths]
|
|
68
|
+
|
|
69
|
+
### ISSUES FOUND:
|
|
70
|
+
- [brief list, if any]
|
|
71
|
+
|
|
72
|
+
### NOTES FOR ARCHITECT:
|
|
73
|
+
- [any important observations or recommendations]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
No extra sections outside this template.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Adaptive Technology Support
|
|
81
|
+
|
|
82
|
+
This agent adapts to whatever technology the project uses:
|
|
83
|
+
|
|
84
|
+
**Languages:**
|
|
85
|
+
- Python, JavaScript/TypeScript, Go, Rust, Java, etc.
|
|
86
|
+
|
|
87
|
+
**Frameworks:**
|
|
88
|
+
- Any web framework (Django, Flask, Express, Nest, etc.)
|
|
89
|
+
- Any frontend framework (React, Vue, Angular, Svelte, etc.)
|
|
90
|
+
- Any mobile framework (React Native, Flutter, etc.)
|
|
91
|
+
|
|
92
|
+
**Databases:**
|
|
93
|
+
- SQL (PostgreSQL, MySQL, SQLite)
|
|
94
|
+
- NoSQL (MongoDB, Redis, DynamoDB)
|
|
95
|
+
|
|
96
|
+
**Infrastructure:**
|
|
97
|
+
- Docker, Kubernetes, Terraform
|
|
98
|
+
- Cloud services (AWS, GCP, Azure)
|
|
99
|
+
|
|
100
|
+
**Other:**
|
|
101
|
+
- CLI tools, scripts, automation
|
|
102
|
+
- Documentation, configuration files
|
|
103
|
+
- Data processing, ML pipelines
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Sprint Workflow (Per Invocation)
|
|
108
|
+
|
|
109
|
+
1. Read your task-specific specs from the sprint directory
|
|
110
|
+
2. Read `.claude/project-map.md` (read-only) for project context
|
|
111
|
+
3. Analyze existing codebase patterns
|
|
112
|
+
4. Implement according to specs while respecting existing conventions
|
|
113
|
+
5. Reply with your single IMPLEMENTATION REPORT
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Environment & Deployment
|
|
118
|
+
|
|
119
|
+
- Assume hot reload is active if applicable
|
|
120
|
+
- DO NOT start servers or processes yourself
|
|
121
|
+
- Your responsibility is to write code, not operate infrastructure
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Development Standards
|
|
126
|
+
|
|
127
|
+
### Code Quality
|
|
128
|
+
- Follow existing project conventions (naming, structure, style)
|
|
129
|
+
- Use type hints/annotations where the language supports them
|
|
130
|
+
- Write clean, readable, maintainable code
|
|
131
|
+
- Add comments only where behavior is non-obvious
|
|
132
|
+
|
|
133
|
+
### Security
|
|
134
|
+
- Never hardcode secrets
|
|
135
|
+
- Validate and sanitize inputs
|
|
136
|
+
- Follow security best practices for the technology
|
|
137
|
+
|
|
138
|
+
### Testing
|
|
139
|
+
- Write tests if requested in specs
|
|
140
|
+
- Follow existing test patterns in the project
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Git Practices
|
|
145
|
+
|
|
146
|
+
- NEVER push to remote repositories unless explicitly instructed
|
|
147
|
+
- Never reference AI in commits
|
|
148
|
+
- Keep commits focused and atomic
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## What You MUST NOT Do
|
|
153
|
+
|
|
154
|
+
- Do not modify status.md, project-map.md, or memory files
|
|
155
|
+
- Do not create methodology docs or verbose documentation
|
|
156
|
+
- Do not start servers or infrastructure
|
|
157
|
+
- Do not spawn other agents
|
|
158
|
+
|
|
159
|
+
Implement according to specs. Report concisely.
|