graph-plan
Execute the PLAN phase of the lifecycle via the `agf` CLI — smart decompose, sprint planning, DORA-based estimation, cross-project learning
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute the PLAN phase of the lifecycle via the `agf` CLI — smart decompose, sprint planning, DORA-based estimation, cross-project learning
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | graph-plan |
| description | Execute the PLAN phase of the lifecycle via the `agf` CLI — smart decompose, sprint planning, DORA-based estimation, cross-project learning |
| triggers | ["graph-plan"] |
| version | 2.0.0 |
| author | Diego Nogueira |
| date | "2026-04-04T00:00:00.000Z" |
PLAN phase via the agf CLI (zero MCP). Decomposes epics into atomic tasks (auto or manual), plans sprints, maps dependencies, and estimates with DORA metrics.
agf phase reports PLANagf context <id> → agf decompose / agf node add → agf edge add → agf forecast → agf insights → agf phase implement
agf context <epic_id>
agf search "<epic title + decisions>"
Review ADRs, requirements, architecture from DESIGN.
agf search "estimates patterns"
Use historical velocity to improve estimates.
Option A — Smart Decompose (recommended):
agf decompose <epic_id>
Auto-creates subtasks: 1 AC = 1 subtask, with test-type inference:
| Keywords in AC | Test type |
|---|---|
| api, endpoint, database, persists, sync, fetch, http | integration |
| page, click, browser, redirect, ui, form, button | e2e |
| else | unit |
Option B — Manual:
agf node add --type task
agf node add --type subtask
Atomic rules (XP Anti-Vibe): each task ≤2h · clear testable AC · XP size (XS–XL) · prefer many small over few large.
agf edge add <from> <to> --type <rel>
Edge types: task→task, subtask→task, task→epic, task→decision.
agf decompose
Assign by priority, dependencies, size, risk (tackle risky items early).
Refresh stack API docs in the knowledge base before IMPLEMENT so the executor has accurate references. Recommended.
agf forecast
Use velocity (deploy frequency, lead time) to calibrate sprint capacity.
agf insights
Score the plan: balanced load, no oversized tasks, deps resolved.
agf gate plan
Gate: all epics decomposed · tasks have AC · deps mapped (no cycles) · sprint assignments exist · no oversized tasks (>L without subtasks).
agf phase implement
Follow the next-action hint from the agf CLI.
Phase: PLAN → IMPLEMENT
Tasks: N tasks, M subtasks (K via agf decompose)
Sprints: J planned
Dependencies: D edges
DORA: velocity X tasks/day, lead time P85 Yh
Gate: ready — score N/100, grade X
Status: Ready for IMPLEMENT
PLAN → IMPLEMENT: agf phase implement then agf start ($graph-implement) pulls the first task with TDD.
agf decompose or decompose manuallyAGENTS.md and use apply_patch for manual edits.Economia de tokens. Os levers compartilhados por todas as skills —
--select,agf retrieve-command,agf exec chain, reuso antes de criação — vivem em_shared.md→ Token Economy. Fonte única: um parágrafo repetido em trinta arquivos é o trigésimo primeiro que envelhece sozinho.
Accessibility compliance audit using WCAG 2.2 AA standards, ARIA validation, screen reader testing, keyboard navigation, color contrast analysis, and i18n readiness
Execute the ANALYZE phase of the lifecycle via the `agf` CLI — PRD creation, requirements, Definition of Ready (7 checks), cross-project learning
API governance and design audit using OpenAPI/Swagger spec generation, REST maturity model, contract validation, and breaking change detection
Architecture governance using C4 Model, ADR lifecycle, Architecture Fitness Functions, layer boundary enforcement, and drift detection
Human-in-the-loop PLANNING skill — investigates the project (graph + git + harness/gaps) and runs the whole ANALYZE→DESIGN→PLAN chain in one faceted loop to produce a COMPLETE PRD injected as graph backlog (epics, tasks, testable AC) for a separate agent to implement. Applies the project's planning methodologies — Impact Mapping + OKR per epic, JTBD, MoSCoW, WSJF/Cost-of-Delay, User Story Mapping, Example Mapping (Rules/Examples → Given-When-Then AC), SPIDR splitting, INVEST, Definition of Ready, Risk Matrix; the full catalogue lives in the skill body. Stops for the human after each complete PRD and iterates the next cycle from the project's own findings (dogfood). Does NOT implement. Triggers — graph-backlog-generation, gerar backlog, criar PRD, planejar feature, detalhar épico, novo ciclo, "plan the next thing", "what should we build next".
Automated bug discovery through static analysis, LSP diagnostics, pattern detection, regression hotspot analysis, and error catalog mining