graph-validate
Execute the VALIDATE phase of the lifecycle via the `agf` CLI — unified validation, done integrity, scenario coverage, DORA quality metrics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute the VALIDATE phase of the lifecycle via the `agf` CLI — unified validation, done integrity, scenario coverage, DORA quality metrics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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
| name | graph-validate |
| description | Execute the VALIDATE phase of the lifecycle via the `agf` CLI — unified validation, done integrity, scenario coverage, DORA quality metrics |
| triggers | ["graph-validate"] |
| version | 2.0.0 |
| author | Diego Nogueira |
| date | "2026-04-04T00:00:00.000Z" |
| toolchain | ["agf check","agf insights","agf forecast","agf metrics","agf gate","agf phase"] |
Execute the VALIDATE phase of the lifecycle, driven entirely by the agf CLI (ZERO MCP). Runs comprehensive validation: E2E tests, acceptance criteria verification, integrity checks, and quality metrics via DORA.
agf phase is VALIDATEagf check <id> (task) → agf check <id> (ac) → agf check <id> (done_integrity) → agf check <id> (status_flow) → agf insights (scenario_coverage) → agf forecast (dora) → agf metrics → agf gate validate → agf phase REVIEW
List all tasks marked done in the current sprint:
agf kanban
Filter the board for the current sprint and the done column.
For each completed task, run the Definition of Done validation:
agf check <task_id>
Captured validation output feeds the lifecycle gates.
agf check <task_id>
Checks the node's AC: quality scoring (INVEST), measurability bonus.
npx vitest run
For E2E tests:
npx vitest run tests/integration/
Verify: all unit + integration tests pass, no regressions.
agf check <id>
Checks that all done nodes actually meet Definition of Done (9 checks).
agf check <id>
Verifies all nodes followed valid status transitions (e.g., went through in_progress before done).
agf insights
Validates that user scenarios have been covered by implemented tasks (scenario coverage).
agf forecast
Review:
agf metrics
Review: task completion rate, AC pass rate, avg completion time vs estimates.
agf gate validate
Gate criteria:
If validation fails, return to IMPLEMENT to fix issues.
Once gate passes:
agf phase REVIEW
Follow the nextAction reported by agf phase for the recommended next CLI command.
Phase: VALIDATE → REVIEW
Tasks validated: N/M passed
Tests: N passed, M failed
AC pass rate: X%
DORA: change failure rate Y%, lead time P85 Zh
Gate: validate_ready — score N/100, grade X
Status: Ready to proceed to REVIEW phase
nextAction reported by agf phase — it guides the optimal next commandagf check for done tasks — it catches DoD violations missed during IMPLEMENTAGENTS.md rules 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.