一键导入
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 职业分类
Wrapper workflow recipe for parent Codex sessions that need to coordinate Python topic delivery with repo-local planner, implementer, and reviewer agents while preserving shared artifact-contract boundaries.
Shared contract for repo-local Codex workflow artifacts. Use when creating, updating, or reviewing custom agents, wrapper skills, and their validation so paths, minimal schemas, and role boundaries stay consistent.
Implement one source SDK API or safe same-family batch from planner output using request-test-first porting, minimal implementation, response and error contract checks, optional tracker updates, and an explicit final decision.
Plan a source SDK API client port before implementation by collecting source evidence, drafting request contracts, classifying risk and stop flags, and preparing implementer handoff output for one endpoint family or safe same-family batch.
Query step status (pending/done) in plan/<topic>/<topic>.step.md with minimal token cost and explicit blocking when incomplete.
Run the sense_env.py scaffold to discover or assert facts about the repository environment. Use this when you need a structured JSON snapshot of the current environment state, or when you need to evaluate a contract's sensing assertions.
| 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, check_impl_steps_succeededplan/<topic>/<topic>.step.md and keep the interaction read-only.python .github/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 no pending items remain under ## Implementation Steps.step.md returns exit code 1 and is blockingcheck_impl_steps_succeeded when the workflow gate must evaluate only ## Implementation Steps and ignore informational items under later headings such as ## Workflow Stages.reference.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 or check_impl_steps_succeeded result.Positive: Use the implementation-only blocking command before implementation review
$ python .github/skills/plan-step-tracker/scripts/step_tracker.py check_impl_steps_succeeded my-feature
❌ 阻擋:仍有 1 個實作步驟待完成(exit code 1)
[ ] implementation-review
The caller stops because an implementation step is still pending, even if later informational workflow-stage items exist elsewhere in the file.
Negative: Treat lowercase [x] as complete or use the broad gate when only implementation steps matter
$ python .github/skills/plan-step-tracker/scripts/step_tracker.py check_impl_steps_succeeded my-feature
警告:在第 18 行發現小寫 [x];將視為待完成
❌ 阻擋:仍有 1 個實作步驟待完成(exit code 1)
[x] code-review
Wrong follow-up: continuing anyway, or using check_all_succeeded to block on informational ## Workflow Stages entries when the gate is supposed to read only ## Implementation Steps.
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 Steps lines with exit code 1錯誤:找不到檔案:plan/<topic>/<topic>.step.md on stderr with exit code 1python .github/skills/plan-step-tracker/scripts/step_tracker.py <operation> <topic>1 from check_all_succeeded, check_impl_steps_succeeded, or missing files as blocking[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 or check_impl_steps_succeeded before continuing the matching gated workflow1 blocks continuation when any pending step, pending implementation step, or missing file is reported[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