← ClaudeAtlas

task-stocktakelisted

Consolidate a repo's pending-task tracking into its single task ledger (default .notes/TASKS.md) — bootstrap it if missing, sweep handoff / audit / remaining-issues files and auto-memory for stray task lines, verify pending entries against git log and actual code, archive detail files of completed tasks. Use when the user says 「残タスクを棚卸しして」「タスク台帳を作って/整理して」「残っているタスクは?」, "task stocktake", when task lines are scattered across notes files, or when a repo's ledger may be stale. Also the 正本 for two questions the library routes here: 状態語をどれにするか(draft / accepted / in_progress / blocked と終端 5 語、`blocked` の入場条件)と、レビュー指摘を起票すべきか(起票規律の足切りと producer 引用)— 「この状態でいい?」「blocked にしていい?」「このレビュー指摘は起票する?」. NOT for — skills → skill-stocktake; rules → rules-stocktake; repo non-code assets → repo-asset-stocktake; in-session todos → harness task tools.
shimo4228/claude-harness · ★ 3 · AI & Automation · score 79
Install: claude install-skill shimo4228/claude-harness
# task-stocktake — Task Ledger Audit & Consolidation repo の pending タスク追跡を**単一台帳**に収束させ、台帳の鮮度を git 実態と突合する。 原則の正本は rule `common/task-tracking.md`(台帳は 1 repo 1 ファイル / 詳細資料に タスク行の正本を持たせない / MEMORY.md はポインタのみ)。本 skill はその手順を持つ。 ## Phase 1 — Bootstrap(台帳の解決・作成) 1. 台帳を解決する: `.notes/TASKS.md` → 既存タスクファイル(`TODO.md` / `TASKS.md` / `docs/backlog.md` 等)の順 2. 見つかればそれを台帳と確定して Phase 2 へ 3. 無ければ作成する。「作るか」は聞かない(skill の起動自体が依頼)— 確認するのは**置き場所だけ**: - `.notes/` 慣行がある repo は `.notes/TASKS.md`(gitignored = private)に即決。 無い repo は gitignore 状況を見て private / git-tracked(clone 先でも cold-start 可能)の トレードオフを提示して選んでもらう - 初期内容: Phase 2 の sweep 結果を集約して生成 台帳フォーマット(1 タスク 1 行): ```markdown # TASKS — <repo name> > 正本: このファイル。詳細はリンク先。規約: rule common/task-tracking.md ## Pending | ID | 状態 | タスク | 着手条件 | 詳細 | |----|------|--------|----------|------| | T1 | accepted | … | なし | [handoff-….md](…) | | T2 | blocked | … | 次リリース後 | … | ## Done / Withdrawn | ID | 結果 | タスク | 完了日 / 判断 | 詳細 | ``` ## 状態語彙(この skill が正本) 開いている状態は 4 つ。**この節が語彙の唯一の正本** — rule / ADR / 他 skill は ここを参照し、定義を複製しない(分散した版は誰も刈らず肥大する。 [ADR-0050](../../docs/adr/0050-standardize-ledger-state-vocabulary.md))。語は標準語彙 (RFC 標準 + issue-tracker 標準 — 非標準語彙はセッションごとに写像がずれる)。 | 状態 | 定義 | |---|---| | `draft` | **採否判断がまだ要る**。やるかどうかを決めていない | | `accepted` | 採用済みで、今選べば着手できる | | `in_progress` | claim 中 | | `blocked` | **採用済みで、条件成立だけで accepted になる** | 終端は `done` / `resolved` / `rejected` / `withdrawn` / `obsoleted`(下節)。 ### `blocked` の入場条件 `b