/todo:doctorfrom todo
Use when asked to set up or check how a repository keeps tasks and decisions, or when todo.txt or docs/adr is missing, the agent instructions (CLAUDE.md / AGENTS.md) do not point at either, or `todo check` / `adr check` report violations that need explaining. Diagnoses by default; installs the files and instruction pointers when requested.
Ships in todo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
このスキルのディレクトリから ../../bin/todo・../../bin/adr・../../bin/doctor を絶対パスに解決し、対象リポジトリのルートで todo check・adr ls・adr check・doctor check を実行する。以下の todo adr doctor は、それぞれの同梱 CLI を引用符で囲んだ絶対パスで呼ぶことを指す。作業ディレクトリは対象リポジトリに保つ。
検査結果とファイルの実在を確認する。ファイルが無い場合も check は成功するので、成功だけで導入済みと判断しない。既定は診断まで。導入が依頼されていれば、その範囲のファイル作成と指示更新は進める。
id: が無い行は add 以外のコマンドで扱えないので、todo id で配る。id: の重複はどちらを指しているか決まらない。存在しない id を指す dep: は、その行を永久に ready から外す。dep: の循環は、循環に含まれる全行を永久に ready から外す。key:value の形式違反は、たとえば see:https://… のように value に二つ目のコロンを含むもの。x で始まる行が todo.txt にあると open として数え続ける。記法の定義は ../todo/SKILL.md にあり、行が仕様上どう読まれるか分からないときだけ ../todo/references/todo-txt-format.md を読む。直し方は行を直接編集しても todo replace や todo append でもよく、直したあとに todo check が通ればよい。
adr check はファイル名・番号の重複・題・Date:・Implementation: の語彙・Status: の語彙・Superseded by の残骸・構造(見出し・箇条書き・表・コードフェンス・引用・複数段落)・内容([実測・[検査:・id: 参照・Date: 行以外の日付)を見る。書式は ../adr/references/ADR-FORMAT.md が正。受理済み ADR は、短くする・Implementation: を更新する以外では編集しない。決定が変わったら adr replace <古い> <新しい> で新しい番号にする —— 古い方はファイルごと削除される(git 管理下なら git rm。記録は git の履歴に残る)ので、Superseded by や Status: deprecated/superseded を手で足さない(その語彙はもう無い)。
doctor check)doctor check は CLAUDE.md / AGENTS.md を読み、次の 2 つだけを見る。
docs/adr など)が無い、またはあっても指示から参照されていない。.claude/hooks/ .codex/hooks/ .githooks/ .git/hooks/ の配下)が実在しない、または設定(core.hooksPath / .claude/settings.json / .codex/config.toml・.codex/hooks.json)に登録されていない。todo.txt の指し忘れはここでは見ない(todo check 側の診断と重複するため)。
対象は極めて狭く絞ってある —— 誤検知を避けるため、doctor check は「正典」という語が無い行の参照や、上記 4 つのフック用ディレクトリに当たらないパスは指摘しない。それでも拾いきれない・判断が割れる指摘は残る(例: フックが別の目的で意図的に外されている、指示が文書を単に参照しているだけで正典と明記していない)。そうした場合は doctor check の指摘を鵜呑みにせず、確信が持てなければ利用者に「確認したほうがよい点」として伝えるに留め、断定して直さない。直し方はこのスキルが決めない —— 何が正しいかはリポジトリごとに違うので、矛盾している 2 か所をパスと行で示すところまでにする。
導入を依頼された場合は、次の順で行う。
todo.txt と done.txt が無ければ空で作り、.gitignore には入れない(タスクはリポジトリの資産で、個人の設定ではない)。docs/adr/ は、最初の 1 件を書くときに作る(空のディレクトリだけを先に作らない — ../adr/SKILL.md の規律どおり、書く材料が無いのに雛形を作らない)。
対象が使う CLAUDE.md / AGENTS.md へ、無い方だけ一行足す: Tasks live in todo.txt; use the todo skills.(todo.txt 用)と Decisions live in docs/adr/; use the adr skill.(docs/adr 用)。既存ファイルが両方あれば両方を更新し、同じ実体への symlink なら一度だけ。どちらも無ければ、利用中のホストが読む方を作る。書き方の規律は ../todo/SKILL.md と ../adr/SKILL.md にあるので、ここに複製しない。
リポジトリに検証コマンドがあれば、そこへ todo check と adr check を足すことを提案し、足すかは利用者が決める。
フックは置かず、現在地や経緯や log のファイルも作らない。形式は書き込みのたびに CLI 自身が検査し、ls と ready が毎回結果を出す。経緯はコミットメッセージに、知識は docs にある。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gigun-dev/claude-code --plugin todo3 skills in this plugin
/adrRead this repository's recorded decisions before touching an area that may already be decided, and record new hard-to-reverse ones. Use it at the start of work in a repository, before proposing or implementing a change to a protocol, a default, a build flag, a file format or a layout, when someone asks why it is done this way, when a measurement refutes an approach, and when the user settles a trade-off. Fire even when nobody says "ADR" or "decision"./todoTrack repository work in todo.txt and done.txt. Use when starting or updating work, or answering progress, remaining-task, and who-is-waiting questions — even without "todo". Also on '/todo:todo'.