file-todos
todos/」ディレクトリ内のファイルベースのタスク管理システムを操作し、タスクの作成、ステータスや依存関係の管理、トリアージ、コードレビュー連携を行うSkill。
📜 元の英語説明(参考)
This skill should be used when managing the file-based todo tracking system in the todos/ directory. It provides workflows for creating todos, managing status and dependencies, conducting triage, and integrating with slash commands and code review processes.
🇯🇵 日本人クリエイター向け解説
todos/」ディレクトリ内のファイルベースのタスク管理システムを操作し、タスクの作成、ステータスや依存関係の管理、トリアージ、コードレビュー連携を行うSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] file-todos
ファイルベースのTodoトラッキングスキル
概要
todos/ ディレクトリには、コードレビューのフィードバック、技術的負債、機能リクエスト、および作業項目を管理するためのファイルベースのトラッキングシステムが含まれています。各Todoは、YAMLフロントマターと構造化されたセクションを持つMarkdownファイルです。
このスキルは、以下の場合に使用してください。
- 発見事項やフィードバックから新しいTodoを作成する場合
- Todoのライフサイクル(保留中 → 準備完了 → 完了)を管理する場合
- 承認のために保留中の項目をトリアージする場合
- 依存関係を確認または管理する場合
- PRコメントやコードの発見事項を追跡対象の作業に変換する場合
- Todoの実行中に作業ログを更新する場合
ファイル命名規則
Todoファイルは以下の命名パターンに従います。
{issue_id}-{status}-{priority}-{description}.md
構成要素:
- issue_id: 連番(001, 002, 003...)- 再利用されません
- status:
pending(トリアージが必要)、ready(承認済み)、complete(完了) - priority:
p1(クリティカル)、p2(重要)、p3(あれば良い) - description: ケバブケース、簡単な説明
例:
001-pending-p1-mailer-test.md
002-ready-p1-fix-n-plus-1.md
005-complete-p2-refactor-csv.md
ファイル構造
各Todoは、YAMLフロントマターと構造化されたセクションを持つMarkdownファイルです。新しいTodoを作成する際は、todo-template.md のテンプレートを出発点として使用してください。
必須セクション:
- Problem Statement - 何が壊れているか、不足しているか、改善が必要か?
- Findings - 調査結果、根本原因、主要な発見
- Proposed Solutions - 複数の選択肢(長所/短所、労力、リスクを含む)
- Recommended Action - 明確な計画(トリアージ中に記入)
- Acceptance Criteria - テスト可能なチェックリスト項目
- Work Log - 日付、アクション、学習事項を含む時系列記録
オプションセクション:
- Technical Details - 影響を受けるファイル、関連コンポーネント、DB変更
- Resources - エラー、テスト、PR、ドキュメントへのリンク
- Notes - 追加のコンテキストまたは決定事項
YAMLフロントマターフィールド:
---
status: ready # pending | ready | complete
priority: p1 # p1 | p2 | p3
issue_id: "002"
tags: [rails, performance, database]
dependencies: ["001"] # これがブロックされているIssue ID
---
一般的なワークフロー
新しいTodoの作成
発見事項やフィードバックから新しいTodoを作成するには:
- 次のIssue IDを決定します:
ls todos/ | grep -o '^[0-9]\+' | sort -n | tail -1 - テンプレートをコピーします:
cp assets/todo-template.md todos/{NEXT_ID}-pending-{priority}-{description}.md - 必須セクションを編集して記入します:
- Problem Statement
- Findings(調査による場合)
- Proposed Solutions(複数の選択肢)
- Acceptance Criteria
- 最初のWork Logエントリを追加
- ステータスを決定します:
pending(トリアージが必要)またはready(事前承認済み) - フィルタリングに関連するタグを追加します
Todoを作成すべき時:
- 15〜20分以上の作業が必要な場合
- 調査、計画、または複数のアプローチの検討が必要な場合
- 他の作業に依存関係がある場合
- マネージャーの承認または優先順位付けが必要な場合
- より大きな機能またはリファクタリングの一部である場合
- ドキュメント化が必要な技術的負債
代わりにすぐに行動すべき時:
- 問題が些細な場合(15分未満)
- 現在、完全なコンテキストが利用可能な場合
- 計画が不要な場合
- ユーザーが明示的に即時アクションを要求した場合
- 明らかな解決策を持つ単純なバグ修正
保留中の項目のトリアージ
保留中のTodoをトリアージするには:
- 保留中の項目を一覧表示します:
ls todos/*-pending-*.md - 各Todoについて:
- Problem StatementとFindingsを読みます
- Proposed Solutionsを確認します
- 決定を下します: 承認、延期、または優先順位の変更
- 承認されたTodoを更新します:
- ファイル名を変更します:
mv {file}-pending-{pri}-{desc}.md {file}-ready-{pri}-{desc}.md - フロントマターを更新します:
status: pending→status: ready - 「Recommended Action」セクションに明確な計画を記入します
- 初期評価と異なる場合は優先順位を調整します
- ファイル名を変更します:
- 延期されたTodoは
pendingステータスのままです
スラッシュコマンドを使用します: 対話型承認ワークフローには /triage
依存関係の管理
依存関係を追跡するには:
dependencies: ["002", "005"] # このTodoはIssue 002と005によってブロックされています
dependencies: [] # ブロッカーなし - すぐに作業できます
Todoをブロックしているものを確認するには:
grep "^dependencies:" todos/003-*.md
Todoがブロックしているものを検索するには:
grep -l 'dependencies:.*"002"' todos/*.md
開始前にブロッカーが完了していることを確認するには:
for dep in 001 002 003; do
[ -f "todos/${dep}-complete-*.md" ] || echo "Issue $dep not complete"
done
作業ログの更新
Todoに取り組む際は、常に作業ログエントリを追加してください:
### YYYY-MM-DD - Session Title
**By:** Claude Code / Developer Name
**Actions:**
- Specific changes made (include file:line references)
- Commands executed
- Tests run
- Results of investigation
**Learnings:**
- What worked / what didn't
- Patterns discovered
- Key insights for future work
作業ログは以下の役割を果たします。
- 調査の履歴記録
- 試行されたアプローチの文書化
- チームのための知識共有
- 将来の同様の作業のためのコンテキスト
Todoの完了
Todoを完了としてマークするには:
- すべての受け入れ基準がチェックオフされていることを確認します
- 最終セッションと結果を作業ログで更新します
- ファイル名を変更します:
mv {file}-ready-{pri}-{desc}.md {file}-complete-{pri}-{desc}.md - フロントマターを更新します:
status: ready→status: complete - ブロック解除された作業を確認します:
grep -l 'dependencies:.*"002"' todos/*-ready-*.md - Issue参照付きでコミットします:
feat: resolve issue 002
開発ワークフローとの統合
| トリガー | フロー | ツール |
|---|---|---|
| コードレビュー | /workflows:review → 発見事項 → /triage → Todos |
レビューエージェント + スキル |
| PRコメント | /resolve_pr_parallel → 個別の修正 → Todos |
gh CLI + スキル |
| コードTODOs | /resolve_todo_parallel → 修正 + 複雑なTodo |
エージェント + スキル |
| 計画 | ブレインストーミング → Todo作成 → 作業 → 完了 | スキル |
| フィードバック | 議論 → Todo作成 → トリアージ → 作業 | スキル + スラッシュ |
クイックリファレンスコマンド
作業の検索:
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
File-Based Todo Tracking Skill
Overview
The todos/ directory contains a file-based tracking system for managing code review feedback, technical debt, feature requests, and work items. Each todo is a markdown file with YAML frontmatter and structured sections.
This skill should be used when:
- Creating new todos from findings or feedback
- Managing todo lifecycle (pending → ready → complete)
- Triaging pending items for approval
- Checking or managing dependencies
- Converting PR comments or code findings into tracked work
- Updating work logs during todo execution
File Naming Convention
Todo files follow this naming pattern:
{issue_id}-{status}-{priority}-{description}.md
Components:
- issue_id: Sequential number (001, 002, 003...) - never reused
- status:
pending(needs triage),ready(approved),complete(done) - priority:
p1(critical),p2(important),p3(nice-to-have) - description: kebab-case, brief description
Examples:
001-pending-p1-mailer-test.md
002-ready-p1-fix-n-plus-1.md
005-complete-p2-refactor-csv.md
File Structure
Each todo is a markdown file with YAML frontmatter and structured sections. Use the template at todo-template.md as a starting point when creating new todos.
Required sections:
- Problem Statement - What is broken, missing, or needs improvement?
- Findings - Investigation results, root cause, key discoveries
- Proposed Solutions - Multiple options with pros/cons, effort, risk
- Recommended Action - Clear plan (filled during triage)
- Acceptance Criteria - Testable checklist items
- Work Log - Chronological record with date, actions, learnings
Optional sections:
- Technical Details - Affected files, related components, DB changes
- Resources - Links to errors, tests, PRs, documentation
- Notes - Additional context or decisions
YAML frontmatter fields:
---
status: ready # pending | ready | complete
priority: p1 # p1 | p2 | p3
issue_id: "002"
tags: [rails, performance, database]
dependencies: ["001"] # Issue IDs this is blocked by
---
Common Workflows
Creating a New Todo
To create a new todo from findings or feedback:
- Determine next issue ID:
ls todos/ | grep -o '^[0-9]\+' | sort -n | tail -1 - Copy template:
cp assets/todo-template.md todos/{NEXT_ID}-pending-{priority}-{description}.md - Edit and fill required sections:
- Problem Statement
- Findings (if from investigation)
- Proposed Solutions (multiple options)
- Acceptance Criteria
- Add initial Work Log entry
- Determine status:
pending(needs triage) orready(pre-approved) - Add relevant tags for filtering
When to create a todo:
- Requires more than 15-20 minutes of work
- Needs research, planning, or multiple approaches considered
- Has dependencies on other work
- Requires manager approval or prioritization
- Part of larger feature or refactor
- Technical debt needing documentation
When to act immediately instead:
- Issue is trivial (< 15 minutes)
- Complete context available now
- No planning needed
- User explicitly requests immediate action
- Simple bug fix with obvious solution
Triaging Pending Items
To triage pending todos:
- List pending items:
ls todos/*-pending-*.md - For each todo:
- Read Problem Statement and Findings
- Review Proposed Solutions
- Make decision: approve, defer, or modify priority
- Update approved todos:
- Rename file:
mv {file}-pending-{pri}-{desc}.md {file}-ready-{pri}-{desc}.md - Update frontmatter:
status: pending→status: ready - Fill "Recommended Action" section with clear plan
- Adjust priority if different from initial assessment
- Rename file:
- Deferred todos stay in
pendingstatus
Use slash command: /triage for interactive approval workflow
Managing Dependencies
To track dependencies:
dependencies: ["002", "005"] # This todo blocked by issues 002 and 005
dependencies: [] # No blockers - can work immediately
To check what blocks a todo:
grep "^dependencies:" todos/003-*.md
To find what a todo blocks:
grep -l 'dependencies:.*"002"' todos/*.md
To verify blockers are complete before starting:
for dep in 001 002 003; do
[ -f "todos/${dep}-complete-*.md" ] || echo "Issue $dep not complete"
done
Updating Work Logs
When working on a todo, always add a work log entry:
### YYYY-MM-DD - Session Title
**By:** Claude Code / Developer Name
**Actions:**
- Specific changes made (include file:line references)
- Commands executed
- Tests run
- Results of investigation
**Learnings:**
- What worked / what didn't
- Patterns discovered
- Key insights for future work
Work logs serve as:
- Historical record of investigation
- Documentation of approaches attempted
- Knowledge sharing for team
- Context for future similar work
Completing a Todo
To mark a todo as complete:
- Verify all acceptance criteria checked off
- Update Work Log with final session and results
- Rename file:
mv {file}-ready-{pri}-{desc}.md {file}-complete-{pri}-{desc}.md - Update frontmatter:
status: ready→status: complete - Check for unblocked work:
grep -l 'dependencies:.*"002"' todos/*-ready-*.md - Commit with issue reference:
feat: resolve issue 002
Integration with Development Workflows
| Trigger | Flow | Tool |
|---|---|---|
| Code review | /workflows:review → Findings → /triage → Todos |
Review agent + skill |
| PR comments | /resolve_pr_parallel → Individual fixes → Todos |
gh CLI + skill |
| Code TODOs | /resolve_todo_parallel → Fixes + Complex todos |
Agent + skill |
| Planning | Brainstorm → Create todo → Work → Complete | Skill |
| Feedback | Discussion → Create todo → Triage → Work | Skill + slash |
Quick Reference Commands
Finding work:
# List highest priority unblocked work
grep -l 'dependencies: \[\]' todos/*-ready-p1-*.md
# List all pending items needing triage
ls todos/*-pending-*.md
# Find next issue ID
ls todos/ | grep -o '^[0-9]\+' | sort -n | tail -1 | awk '{printf "%03d", $1+1}'
# Count by status
for status in pending ready complete; do
echo "$status: $(ls -1 todos/*-$status-*.md 2>/dev/null | wc -l)"
done
Dependency management:
# What blocks this todo?
grep "^dependencies:" todos/003-*.md
# What does this todo block?
grep -l 'dependencies:.*"002"' todos/*.md
Searching:
# Search by tag
grep -l "tags:.*rails" todos/*.md
# Search by priority
ls todos/*-p1-*.md
# Full-text search
grep -r "payment" todos/
Key Distinctions
File-todos system (this skill):
- Markdown files in
todos/directory - Development/project tracking
- Standalone markdown files with YAML frontmatter
- Used by humans and agents
Rails Todo model:
- Database model in
app/models/todo.rb - User-facing feature in the application
- Active Record CRUD operations
- Different from this file-based system
TodoWrite tool:
- In-memory task tracking during agent sessions
- Temporary tracking for single conversation
- Not persisted to disk
- Different from both systems above