一键导入
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 职业分类
Name or repair development branches with semantic prefixes, `<type>/<username>/<short-description>` structure, and migration guidance when work has already started on the wrong branch.
Draft or review semantic commit messages from staged changes, including split signals, business-facing subjects, breaking-change markers, and repair commands such as `git add -p`, `git reset`, and `git commit --amend`.
Create an executable Python implementation plan that freezes scope, contracts, decisions, affected files, tests, and validation commands before coding begins. Not a todo list — an implementation contract that executor can follow and reviewer can verify.
Configures pre-commit hooks for uv-based Python projects by producing a valid `.pre-commit-config.yaml` with the canonical hook set. Use this when a uv Python project needs pre-commit setup or an existing config needs hooks merged in.
Append missing ruff, pyright, and pytest configuration sections to an existing pyproject.toml without overwriting existing settings.
Create RED tests from an approved Python implementation plan before implementation begins. Use this when a plan is approved, run internal D1 classification, and produce structured verdict-driven test authoring.
| 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