Plan the next steps for the repository, then run a structured multi-agent red-team on the plan, refine twice, and produce a final implementation plan.
Use this skill when you need to:
Before you start, ensure you:
Scan the repo for:
docs/00-index.md for project structureSummarize the current state in a short "situation report".
Produce a numbered list of concrete tasks including:
Instantiate specialized sub-agents with these roles:
| Role | Focus |
|---|---|
| Security | Abuse resistance, injection, secret exposure |
| Reliability | Edge cases, failure modes, error recovery |
| Performance | Efficiency, resource usage, geometric purity |
| UX/DX | Developer experience, API ergonomics |
| Code Quality | Maintainability, test coverage, standards |
| QIG Purity | Fisher-Rao geometry, simplex constraints (if applicable) |
Give each sub-agent:
For each sub-agent:
Consolidate findings into a structured issue list:
- ID: {unique identifier}
- Severity: Critical / High / Medium / Low
- Affected Task: {task number}
- Description: {what's wrong}
- Evidence: {how we know}
- Proposed Change: {how to fix}
For each high-impact issue or design decision:
Repeat steps 5 and 6:
Do not finalize the plan until the second round is complete.
Produce a final version with:
Save the plan to an ISO-compliant filename under docs/00-roadmap/:
docs/00-roadmap/YYYYMMDD-{topic}-implementation-plan-1.00W.mdUpdate the canonical master roadmap:
docs/00-roadmap/20260112-master-roadmap-1.00W.mdIf an entrypoint is needed for quick navigation, update:
docs/00-roadmap/20260202-project-roadmap-entrypoint-1.00W.mdIn the master roadmap:
At the end of this skill, output:
Final Implementation Plan
Red-Team Planning Report
Research Summary
Roadmap Snapshot
If any potential issue remains unresolved or unlogged, call that out explicitly and propose a follow-up action.
This skill should be invoked after master-orchestration identifies a planning task.
Related skills:
best-practice-research - For external research phaseplanning-and-roadmapping - For roadmap updatese8-architecture-validation - For architecture-related plansqig-purity-validation - For plans touching QIG geometry