agent-patterns
Skill18 starsChanged 11 months agoMITView on GitHub
This skill should be used when the user asks about "SPAWN REQUEST format", "agent reports", "agent coordination", "parallel agents", "report format", "agent communication", or needs to understand how agents coordinate within the sprint system.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- markpitt/claude-skillstheir own version, first seen Nov 22, 2025
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- markpitt/claude-skills★ 23same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- api-contractSkill
- spec-writingSkill
- sprint-workflowSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Key rule: Only the orchestrator spawns agents.
- Distinctive: line 67
Never include test agents in implementation requests.
- Distinctive: line 85
All agents return structured reports.
- Distinctive: line 206
Use a single message with multiple Task tool calls.
- Distinctive: line 230
Run tests in their domain
- Distinctive: line 243
When agents need to coordinate beyond reports:
- Distinctive: line 300
No verbose logs or stack traces
- Distinctive: line 306
Don't wait unnecessarily
- Distinctive: line 310
Always read specs before implementing
- Distinctive: line 312
Follow API contracts exactly
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Patterns
Sprint coordinates multiple specialized agents through structured communication patterns. This skill covers the SPAWN REQUEST format, report structure, parallel execution, and inter-agent coordination.
Agent Hierarchy
┌─────────────────────────────────────┐
│ Sprint Orchestrator │
│ (parses requests, spawns agents) │
└─────────────────┬───────────────────┘
│
▼
┌─────────────────────────────────────┐
│ Project Architect │
│ (plans, creates specs, coordinates)│
└─────────────────┬───────────────────┘
│ SPAWN REQUEST
▼
┌─────────────────────────────────────┐
│ Implementation & Test Agents │
│ (execute, report, never spawn) │
└─────────────────────────────────────┘Key rule: Only the orchestrator spawns agents. Agents communicate by returning structured messages.
SPAWN REQUEST Format
The architect requests agent spawning using a specific format:
## SPAWN REQUEST
- python-dev
- nextjs-dev
- cicd-agentParsing Rules
The orchestrator parses SPAWN REQUEST blocks:
- Section must start with
## SPAWN REQUESTon its own line - Each agent listed as a bullet point
- Multiple agents spawn in parallel
Implementation Agents
Request during Phase 2:
## SPAWN REQUEST
- python-dev
- nextjs-devNever include test agents in implementation requests.
Testing Agents
Request during Phase 3:
## SPAWN REQUEST
- qa-test-agent
- ui-test-agentThe ui-test-agent runs in AUTOMATED or MANUAL mode based on specs.md:
UI Testing Mode: automated(default) → runs test scenarios automaticallyUI Testing Mode: manual→ opens browser for user to test, waits for tab close
Agent Report Format
All agents return structured reports. The orchestrator saves these as files.
Standard Report Sections
Every report includes:
| Section | Purpose |
| CONFORMITY STATUS | YES/NO - did agent follow specs? |
| SUMMARY | Brief outcome description |
| DEVIATIONS | Justified departures from specs |
| FILES CHANGED | List of modified files |
| ISSUES | Problems encountered |
| NOTES FOR ARCHITECT | Suggestions, observations |
Example: Backend Report
## BACKEND REPORT
### CONFORMITY STATUS: YES
### SUMMARY
Implemented user authentication endpoints per api-contract.md.
### FILES CHANGED
- backend/app/routers/auth.py (new)
- backend/app/models/user.py (modified)
- backend/app/schemas/auth.py (new)
- backend/alembic/versions/001_add_users.py (new)
### DEVIATIONS
None.
### ISSUES
None.
### NOTES FOR ARCHITECT
- Consider adding rate limiting middleware in next sprint
- Password hashing uses bcrypt (industry standard)Example: QA Report
## QA REPORT
### SUITE STATUS
- New test files: 2
- Updated test files: 1
- Test framework(s): pytest
- Test command(s): pytest tests/api/
### API CONFORMITY STATUS: YES
### SUMMARY
- Total endpoints in contract: 5
- Endpoints covered by automated tests: 5
- Endpoints with failing tests: 0
### FAILURES AND DEVIATIONS
None.
### TEST EXECUTION
- Tests run: YES
- Result: ALL PASS
- Notes: 23 tests passed in 1.4s
### NOTES FOR ARCHITECT
- Added edge case tests for password validationExample: UI Test Report
## UI TEST REPORT
### MODE
AUTOMATED
### SUMMARY
- Total tests run: 8
- Passed: 7
- Failed: 1
- Session duration: 45s
### COVERAGE
- Scenarios covered:
- Login with valid credentials
- Login with invalid password
- Registration flow
- Password reset request
- Not covered (yet):
- Email verification flow (requires email testing setup)
### FAILURES
- Scenario: Registration validation
- Path/URL: /register
- Symptom: Error message not displayed
- Expected: "Email already exists" message
- Actual: Form submits without feedback
### CONSOLE ERRORS
None.
### NOTES FOR ARCHITECT
- Registration error handling needs frontend fixParallel Execution
Implementation Agents
Spawn all implementation agents simultaneously:
Task: python-dev ─────────▶ Backend Report
Task: nextjs-dev ─────────▶ Frontend Report
Task: cicd-agent ─────────▶ CICD ReportUse a single message with multiple Task tool calls.
Testing Agents
QA runs first, then UI tests:
Task: qa-test-agent ─────────▶ QA Report
│
▼
Task: ui-test-agent ─────────▶ UI Test Report
Task: diagnostics ─────────▶ Diagnostics Report
(parallel with ui-test)UI test and diagnostics agents run in parallel with each other.
Agent Constraints
What Agents Can Do
- Read specification files
- Read project-map.md (read-only)
- Implement code in their domain
- Run tests in their domain
- Return structured reports
What Agents Cannot Do
- Spawn other agents
- Modify
status.md(architect only) - Modify
project-map.md(architect only) - Create methodology documentation
- Push to git repositories
File-Based Coordination
When agents need to coordinate beyond reports:
Report Files
Orchestrator saves reports as:
.claude/sprint/[N]/[slug]-report-[iteration].mdSlugs:
python-dev→backendnextjs-dev→frontendqa-test-agent→qaui-test-agent→ui-test
Specialized Agent Roles
Project Architect
The decision-maker:
- Creates specification files
- Maintains project-map.md and status.md
- Analyzes agent reports
- Decides next steps (implement, test, finalize)
Implementation Agents
Technology-specific builders:
python-dev: Python/FastAPI backendnextjs-dev: Next.js frontendcicd-agent: CI/CD pipelinesallpurpose-agent: Any other technology
Testing Agents
Quality validators:
qa-test-agent: API and unit testsui-test-agent: Browser-based E2E tests- Framework-specific diagnostics agents
FINALIZE Signal
The architect signals sprint completion:
FINALIZE
Phase 5 complete. Sprint [N] is finalized.The orchestrator detects this and exits the iteration loop.
Best Practices
Report Quality
- Keep reports concise
- Focus on actionable information
- No verbose logs or stack traces
- Summarize, don't dump
Parallel Efficiency
- Spawn independent agents together
- Don't wait unnecessarily
Spec Adherence
- Always read specs before implementing
- Report deviations with justification
- Follow API contracts exactly
Additional Resources
For detailed agent definitions and report formats, see the agent files in the plugin's agents/ directory.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

