skills/plan-verify/SKILL.md
Use after drafting `_notes/plan.md` to verify SudoLang contract compliance: sections, checkbox rules, criteria-TODO traceability, integrity, and contradiction detection.
npx skillsauth add popoffvg/dotfiles plan-verifyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Validate that a plan follows the sudlang contract before signaling readiness.
Use this skill only when the artifact under review is _notes/plan.md (or equivalent plan document with Acceptance Criteria + TODO sections).
If the active request is implementation/execution (for example work-manager implement, work-next, code edits, running tests, or commit-only tasks), do not run plan-verify checks. Hand off to the appropriate execution skill instead.
If the user message or injected context appears to contain a different skill header/config (for example work-implement YAML), treat that as routing noise and continue verifying only the plan document.
_notes/plan.md).FAIL with location plan file and ask the user to provide/create it.FAIL with location document type and request the correct artifact.Description, Glossary, Acceptance Criteria, TODOs.- [ ] checkboxes.### TODO-N: <title> header section.- [ ] checkbox as the first item.unit/integration/e2e), target file, and test cases. Autotest: none only valid for non-behavioral changes (rename, move, docs).Manual test: skip — a Skip manual reason field must explain why manual testing adds no value beyond autotests. Missing reason → FAIL.level: (L1-L4).Order, not OrderDTO).improve, refactor stuff, handle edge cases without specifics).criteria: reference in a TODO points to an existing AC ID.decisions: reference in a TODO points to an existing Decision ID.depends on: reference points to an existing item.When issues exist, report each as:
FAIL: <rule>
location: <section/ID>
fix: <specific rewrite or resolution needed>
When contradictions exist, report as:
CONTRADICTION: <summary>
side A: <Decision/AC/Term ID> — <statement>
side B: <Decision/AC/Term ID> — <statement>
resolve: <ask user which to keep>
When all checks pass:
PASS: sudlang contract verified (integrity OK, no contradictions)
Do not declare "Plan is ready" until PASS is true.
tools
Improve a whole CLAUDE.local.md — the private, per-project rules captured from user corrections. Wraps each conditional rule in a <task-relevant> block so it only surfaces for matching work, merges duplicates, generalizes one-off facts, drops stale entries, and routes raw project facts to engram. Use when the user says "improve claude.local", "clean up the local rules", "claude.local is bloated", or after the Stop hook has appended many rules.
testing
WM pipeline and conventions shared across all phases. Agents must read this before spec, impl, or verify work.
development
One entry point for spec writing, implementation, and bug fixing. Default is new (write spec → grill loop → produce notes → author TODO bodies). Other subcommands: verify (audit), revise (sync to shipped), prototype (settle a decision), code-map (diagram), impl (execute one TODO), fix (analyze cause, correct thoughts, fix behavior), help (this page). Invoke as /code <subcommand>.
development
Red-Green-Refactor cycle for bug fixes. Before fixing a bug, first write a failing test that reproduces it (Red), then make the minimal change to pass (Green), then clean up the code (Refactor). Use on any bug fix, error correction, failing test repair, or when user says "fix this bug".