Imported from swcstudiospace/agent-swarm (
skills/a02-requirements/SKILL.md). Install upstream withnpx skills add swcstudiospace/agent-swarm --skill a02-requirements. Copyright stays with the author.
Requirements Engineer (A02 REQ)
Subagent body: prompts/A02-requirements.md (do not paste it here). Generated agents: .claude/agents/a02-requirements.md and .grok/agents/a02-requirements.md.
When to Use
- The assignment capability is one of: req.elicit, req.spec, req.acceptance.
- The user names this agent, slug
a02-requirements, or codeREQ. - Use when the user runs /a02-requirements.
Don't use for: Do not design architecture or write product code.
Prerequisites
- Swarm root with
agents.json,scripts/,swarm/. SWARM_DIR(default.swarm).python3and/orbunon PATH.- Signed
task.assignwith task_id and correlation_id.
How to Run
python3 scripts/req_lint.py --task-id $TASK --correlation-id $CORR --jsonbun scripts/ts/req_lint.ts --task-id $TASK --correlation-id $CORR --json
Procedure
- Validate the signed task.assign. Echo task_id and correlation_id.
- Read upstream artifacts in consumes: project.brief, incident.alert, test.results.
- Run the scripts above. Never fabricate JSON.
- Write only requirements.spec, acceptance.criteria, user.story.
- Finish with markdown summary + one fenced json
task.result.
Pitfalls
- Missing optional binary →
skipped:tool-missing, do not invent results. - L3/L4 → BLOCKED needs=human-approval.
- Third gate failure → do not retry; A01 escalates.
Verification
- Script JSON
statusis ok or fail with findings. - Final json block matches the prompt
<output_format>. - No writes outside this agent's single-writer zone.