一键导入
verify-plan
Verify a plan for accuracy and architectural soundness
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify a plan for accuracy and architectural soundness
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Suggest and apply a semver version bump based on commits since the last tag
Push current branch to remote origin
Scaffold a new Sharpy.Stdlib module (spy-sourced or handwritten C#) with all required files, conventions, docs, and tests
Implement a plan with a coordinated agent team
Run compiler or cross-language benchmarks and compare results
Regenerate C# snapshot tests and spy stdlib after intentional codegen changes
| name | verify-plan |
| description | Verify a plan for accuracy and architectural soundness |
| argument-hint | <path/to/plan.md> |
Verify a plan file for accuracy against the actual Sharpy codebase. Reads the plan, extracts every verifiable claim, checks each against the codebase, and edits the plan directly to fix inaccuracies. Adds a verification stamp at the top.
If $ARGUMENTS is non-empty, use it as the path to the plan file.
If $ARGUMENTS is empty, find the most recently modified .md file in ~/.claude/plans/ using:
ls -t ~/.claude/plans/*.md | head -1
Read the plan file completely before proceeding.
Check each dimension in order. For each claim found, verify it against the actual codebase using Glob, Grep, and Read tools.
Verify every concrete reference in the plan:
src/Sharpy.Compiler/Diagnostics/DiagnosticCodes.csFlag as error: any path, name, or code that doesn't exist. Fix inline if the correct reference can be determined.
Check the plan follows Sharpy project rules:
docs/language_specification/ for relevant spec sections; flag if plan contradicts specFlag as warning: any convention violation. Add a note explaining the correct convention.
Verify architectural claims and decisions:
Flag as error: architectural violations that would break the pipeline. Flag as warning: suboptimal placement.
Check that proposed changes will actually work:
python3 -c "..." commands_narrowingContext (TypeNarrowingContext)_variableVersionsFlag as warning: unchecked edge cases. Flag as error: demonstrably incorrect claims.
Check that nothing is missing:
ValidationPipelineFactory with correct OrderFlag as warning: missing steps. Add them as suggestions in the verification summary.
After verification, edit the plan file directly:
<!-- Verified by /verify-plan on YYYY-MM-DD -->
<!-- Verification result: [PASS / PASS WITH CORRECTIONS / NEEDS REVISION] -->
Use:
## Verification Summary
**Result:** [PASS / PASS WITH CORRECTIONS / NEEDS REVISION]
**Verified on:** YYYY-MM-DD
**Plan file:** [path]
### Corrections Made
- (list each inline correction with before/after)
### Warnings
- (list each warning with explanation)
### Missing Steps Added
- (list suggestions for missing steps)
### Unchecked Claims
- (list any claims that couldn't be verified, with reason)
For each error found, edit the plan text directly to correct it. Mark corrections with [CORRECTED: reason] so the author can review changes.
Present a brief summary to the user after editing is complete.