一键导入
plan-step-tracker
Query step status (pending/done) in plan/<topic>/<topic>.step.md with minimal token cost and explicit blocking when incomplete.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Query step status (pending/done) in plan/<topic>/<topic>.step.md with minimal token cost and explicit blocking when incomplete.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a new single-purpose Agent Skill folder that reaches review-ready with a clear trigger, risk-appropriate validation, concise positive and negative examples, and explicit roles for all local files. Use this when asked to draft or scaffold a new Agent Skill for this repository.
Review a review-ready Agent Skill folder for required core files, complexity-gated sections, YAML-body alignment, risk-appropriate validation, concise positive and negative examples, declared local file roles, single responsibility, portability, independence, and explicit trigger clarity. Use this when a skill draft is ready to be approved or sent back for rework.
Provide the canonical structure for a review-ready, portable, single-purpose Agent Skill in this repository, including complexity-gated sections and risk-based validation guidance. Use this when asked for the standard shape of a new skill or when building a new skill manually from a template.
Generate or backfill the minimum v1 spec document set for one explicit `spec-name` using only the local templates, while preserving existing authored content and refusing out-of-scope outputs.
Build one minimal task-specific handoff package for a real subAgent dispatch without carrying unrelated history, registry hints, or workflow reconstruction.
Enforce a strict release gate for PR readiness, version-source synchronization, tagging safety, emergency exceptions, and release repair guidance without bypassing core quality checks.
| name | plan-step-tracker |
| description | Query step status (pending/done) in plan/<topic>/<topic>.step.md with minimal token cost and explicit blocking when incomplete. |
| complexity | medium |
| risk_profile | ["external_tooling"] |
| inputs | ["topic name that maps to plan/<topic>/<topic>.step.md","operation: read_all, read_not_run, read_success, check_all_succeeded, or check_impl_steps_succeeded"] |
| outputs | ["Python CLI stdout with matching step lines or success/blocked summary","exit code 0 or 1 that the caller can use as a workflow gate","stderr warning/error text for lowercase [x] or missing files"] |
| use_when | ["you need a read-only status query for one topic's .step.md file","you need exit-code blocking before continuing a workflow or review step","you need fallback grep guidance when the Python CLI cannot run"] |
| do_not_use_when | ["you need to modify step files or mark steps complete","you need to aggregate multiple topics or verify evidence outside the checkbox file","you need live monitoring or richer states than done versus pending"] |
Provide a low-token, read-only way to query plan/<topic>/<topic>.step.md and enforce blocking when incomplete work remains.
Use this skill when:
.step.md file without reading the whole fileDo not use this skill when:
.step.md files or change checkbox markers<topic>: required topic name; resolves to plan/<topic>/<topic>.step.md<operation>: one of read_all, read_not_run, read_success, check_all_succeeded, or check_impl_steps_succeededplan/<topic>/<topic>.step.md and keep the interaction read-only.python skills/plan-step-tracker/scripts/step_tracker.py <operation> <topic>
[X] = done[ ] = pending[x] = pending, with a warning on stderrread_all, read_not_run, read_success return exit code 0 on successful readscheck_all_succeeded returns exit code 0 only when nothing is pendingcheck_impl_steps_succeeded returns exit code 0 only when ## Implementation Steps contains no pending items.step.md returns exit code 1 and is blockingreference.md, and explicitly note that grep cannot reproduce the lowercase [x] warning by itself..step.md, normalize checkbox casing, or continue past a blocking check_all_succeeded result.Positive: Use the blocking command before a gated handoff
$ python skills/plan-step-tracker/scripts/step_tracker.py check_all_succeeded my-feature
❌ BLOCKED: 2 steps pending (exit code 1)
[ ] implementation-review
[x] code-review
The caller stops and reports the pending steps.
Negative: Treat lowercase [x] as complete or ignore exit code 1
$ python skills/plan-step-tracker/scripts/step_tracker.py check_all_succeeded my-feature
Warning: Found lowercase [x] at line 18; treating as pending
❌ BLOCKED: 1 steps pending (exit code 1)
[x] code-review
Wrong follow-up: continuing anyway or rewriting the file inside this skill.
read_all: all parsed checkbox lines on stdout; exit code 0read_not_run: pending lines on stdout, including lowercase [x]; exit code 0read_success: completed [X] lines on stdout; exit code 0check_all_succeeded: success summary with exit code 0, or blocked summary plus pending lines with exit code 1check_impl_steps_succeeded: implementation-only success summary with exit code 0, or blocked summary plus pending implementation lines with exit code 1Error: File not found: plan/<topic>/<topic>.step.md on stderr with exit code 1python skills/plan-step-tracker/scripts/step_tracker.py <operation> <topic>1 from check_all_succeeded or missing files as blocking1 from check_impl_steps_succeeded as an implementation-only blocking signal[x] as pending, not done[x] limitation explicitlyINCOMPLETE when the caller's desired operation is unclear<topic> is missing or does not resolve to a single expected path, mark the result BLOCKED and request the exact topic nameINCOMPLETE[x] must be checked manuallyreference.mdBLOCKED rather than inferring status from memory0 from check_all_succeeded before continuing a gated workflow1 blocks continuation when any pending step or missing file is reportedcheck_impl_steps_succeeded inspects only ## Implementation Steps and ignores pending items outside that section[x] remains pending and produces a warning when the Python CLI is used.step.md filereference.md: stable CLI contract, path rules, exit-code semantics, and grep fallback limitationsexamples.md: detailed command examples, blocking cases, edge cases, and fallback usage patternsscripts/step_tracker.py: local Python CLI that implements the preserved command and exit-code contracttests/: pytest coverage for parsing, filtering, blocking, missing-file handling, and lowercase [x] behavior