com um clique
plan
Use when the user wants a plan without execution.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Use when the user wants a plan without execution.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Use when diagnosing Hermes state.db WAL advisories.
Use when tuning Honcho for a Hermes profile.
Use when managing crit reviews programmatically.
Use when reviewing code, plans, or live pages with crit.
Use when writing code or Markdown anywhere.
Use when preparing input for a standing Hermes goal.
| name | plan |
| description | Use when the user wants a plan without execution. |
| version | 3.0.0 |
| author | Kiren Srinivasan |
| license | MIT |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["planning","plan-mode","implementation","workflow","design","documentation"],"related_skills":["global-coding-policy","subagent-driven-development","test-driven-development","requesting-code-review"]}} |
Use this skill when the user wants a plan instead of execution.
A plan is ready only when an executor can act without routine rediscovery and a validator can decide PASS or BLOCKED from named evidence. If an executor or validator must guess, the plan isn't ready.
The plan must reduce risk before execution starts. It must also turn completion into a set of explicit checks rather than a fresh reasoning task.
For this turn, stay in plan mode.
.hermes/plans/, the plan-owned completion-report template under .hermes/reports/<plan-slug>/, and disposable validation fixtures under that report directory.Before drafting every plan, load references/execution-ready-plan-contract.md, templates/execution-ready-plan.md, templates/completion-report.json, and scripts/validate_completion_report.py with skill_view, then apply all four. A section may be marked N/A only with a concrete reason.
PD-003: references/execution-ready-plan-contract.md owns the detailed planning rules and mechanical quality gate. Load it for every plan. This SKILL.md owns plan-mode boundaries, discovery, save behavior, and the requirement to load that reference. The reference links back here.
PD-004: templates/execution-ready-plan.md owns the exact header, matrices, task layout, command contract, gate table, and final report layout. Load it for every plan together with the contract reference. The template links back to both owners.
PD-005: templates/completion-report.json owns the machine-readable whole-plan completion schema. Load it for every plan and require the final validation task to create a plan-specific report from it. Its _meta object links back to the contract reference.
PD-006: scripts/validate_completion_report.py owns the dependency-free mechanical PASS or BLOCKED check for that report. Load it for every plan and require the final validation task to run it. The script's module docstring names its owner as this SKILL.md and links to the contract reference.
PD-007: The plan template is above the 150-line disclosure gate because its always-needed Hermes handoff header, rollout and approval gates, and validator register must remain inline. Keep new branch-specific detail in the contract reference or another owner-appropriate support file, and preserve this backlink.
Inspect requirements, acceptance criteria, constraints, current behavior, relevant code, tests, manifests, and governing docs before drafting.
/plan, use the current conversation task.A plan must resolve every material choice before marking itself READY. If the user hasn't chosen a product, safety, or scope tradeoff that discovery can't settle, mark it BLOCKED and name the decision gate.
Every plan includes:
No requirement may lack an implementing task and validator. No task or validator may lack a requirement it serves.
Write tasks in dependency order and mark safe parallel work explicitly.
Keep each task to one focused action, normally 2 to 5 minutes of active work.
Each numbered step performs one action and names its expected state change.
Name exact paths, actions, symbols, and line anchors when they were observed.
State prerequisites, inputs, outputs, contracts, invariants, side effects, and approval needs.
Code tasks need exact file and symbol targets, user-facing test cases, and focused plus broader verification commands.
Use vertical TDD: RED with the expected failure reason, minimal GREEN, REFACTOR while green, then broader checks.
Within verified dependency constraints, include applicable tasks in this order: setup or infrastructure, core behavior, edge cases, integration, then cleanup and documentation. Mark an omitted category N/A with a concrete reason.
Name failure signals, immediate response, rollback, cleanup, retry limit, and exact resume point.
Define binary local completion and the evidence handed to dependent tasks.
Include commit checkpoints only when the user or repository rules authorize them. When authorized, place one after every completed task.
Give every plan, baseline, requirement, task, risk, residual-risk record, gate, validator, changed file, artifact, evidence record, cleanup entry, review, and human report a stable ID, then cross-link those IDs in the plan and completion report. Use PLAN-###, BASE-###, REQ-###, TASK-###, RISK-###, RESIDUAL-###, GATE-###, VAL-###, FILE-###, ART-###, EVID-###, CLEAN-###, REVIEW-###, and REPORT-###.
Declare task-to-artifact and task-to-evidence links in each task's outputs and handoff. Declare gate-to-task or gate-to-validator links in the gate trigger or resume point. The final changed-file inventory and machine report must use the same IDs.
Plan-owned validation fixtures are generated per plan from the completion schema. Don't copy the fixtures from this skill-hardening task.
One task's proof validates only that task. It never proves the full plan.
For each material risk, state prevention, detection, response, owner, and the task or gate that handles it.
Cover every applicable boundary: data loss, migrations, partial writes, compatibility, concurrency, idempotency, security, privacy, secrets, external services, rate limits, performance, resource use, rollout, restart, stale caches, cleanup, and rollback.
Every acceptance check must name scope, method, expected result, failure condition, and evidence.
.hermes/reports/<plan-slug>/completion-report.json from templates/completion-report.json; keep its truthful initial status BLOCKED. Require the final execution task to replace placeholders with fresh evidence, record each evidence kind, check names, reciprocal producing validator, covered structured IDs, normalized path inside the report directory, and SHA-256, bind the evidence JSON exactly to the producer's result, make the human JSON report exactly match the machine report's plan ID, status, checks, and check-evidence map, close every required gate and risk, account for every changed file and artifact, complete cleanup, and run scripts/validate_completion_report.py against it.Whole-plan PASS requires every non-waived acceptance criterion to pass, every required artifact to exist, every blocker to be closed, and every required full-scope check to pass. Component-only evidence must not be described as whole-plan proof.
TODO, TBD, vague placeholders, hidden choices, or unexplained N/A entries in a ready plan.PD-### with destination, owner, load trigger, and backlink.Save the deliverable with write_file under .hermes/plans/ in the active workspace.
.hermes/plans/YYYY-MM-DD_HHMMSS-<slug>.md unless the runtime gives an exact target path.scripts/validate_completion_report.py on each fixture and the plan-owned BLOCKED template. The final execution task must later run it on the filled plan-specific report with evidence for every true check. Revise until all planning checks pass or mark the plan BLOCKED with exact failures.After saving, report the path, planned scope, status, and any blocker. Offer to execute through subagent-driven-development unless the user asked for plan-only output with no follow-up question.
Every saved plan starts with > **For Hermes:** Use subagent-driven-development to implement this plan task-by-task.
The completion report declares every structured collection named by templates/completion-report.json. Every referenced ID must resolve, reciprocal links must agree, aggregate evidence must come from a whole-plan validator and cover the claimed structured IDs, and the validator must reject every orphan, unknown, malformed, or unused link.
When execution is requested, dispatch a fresh delegate_task per task with the complete task contract and prior evidence. Review spec compliance first, then code quality. Fix and re-run each failed gate before continuing. Don't advance while either review has an open issue.
N/A.