planning-with-files
できること
Kiroのワークスペース内にmarkdownとして計画、調査結果、進捗ログを保存し、ステアリングからそれらにリンクして、エージェントが見られるようにします。Kiroを使い、長く複数手順のAIの作業をしている人向けです。
使う場面
- ✓Kiroを使っていて、長いタスクの計画をディスク上に残しておきたいとき。
- ✓ステアリングで計画ファイルをエージェントの文脈に残しておきたいとき。
- ✓複数手順のタスクで、後から再開できるように進捗を保存する必要があるとき。
スキルのリンク
https://github.com/OthmanAdi/planning-with-files/blob/master/.kiro/skills/planning-with-files/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“数週間かかる機能をKiroで開発しています。計画ファイルを用意し、文脈に残して、進捗を追えるようにしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ブートストラップ・スクリプトが、ワークスペースに計画、調査結果、進捗のファイルと、それらを指すステアリングファイルを作ります。エージェントは作業の進行に応じてファイルを更新します。バックグラウンドのフックはインストールされません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Planning with Files (Kiro)
Work like Manus: use persistent markdown as your working memory on disk while the model context behaves like volatile RAM. Deep background: references/manus-principles.md.
Kiro complements this with:
- Agent Skills (this file) — progressive disclosure when the task matches the description.
- Steering — after bootstrap,
.kiro/steering/planning-context.mdusesinclusion: autoand#[[file:.kiro/plan/…]]live references (Steering docs).
Hooks are not bundled: project-level hooks affect every chat in the workspace. Prefer this skill + steering + the reminder block below.
STEP 0 — Bootstrap (once per workspace)
From the workspace root:
sh .kiro/skills/planning-with-files/assets/scripts/bootstrap.sh
Windows (PowerShell):
pwsh -ExecutionPolicy RemoteSigned -File .kiro/skills/planning-with-files/assets/scripts/bootstrap.ps1
Creates:
.kiro/plan/task_plan.md,findings.md,progress.md.kiro/steering/planning-context.md(auto +#[[file:.kiro/plan/…]])
Idempotent: existing files are not overwritten.
Import as a workspace skill (optional): Kiro → Agent Steering & Skills → Import a skill → choose this planning-with-files folder (Skills docs).
STEP 1 — Persistent reminder (after skill activation)
Append the following block to the end of your reply, and repeat it at the end of subsequent replies while this planning session is active:
[Planning Active]Before each turn, read.kiro/plan/task_plan.mdand.kiro/plan/progress.mdto restore context.
STEP 2 — Read plan every turn (while active)
- Read
.kiro/plan/task_plan.md— goal, phases, status - Read
.kiro/plan/progress.md— recent actions - Use
.kiro/plan/findings.mdfor research and decisions
If .kiro/plan/ is missing, run STEP 0.
STEP 3: Project-file catchup (after a long gap or suspected drift)
Summaries and planning-file mtimes (compare with git diff --stat if needed). This helper does not read Kiro or other agent transcript stores:
$(command -v python3 || command -v python) \
.kiro/skills/planning-with-files/assets/scripts/session-catchup.py "$(pwd)"
Windows:
python .kiro/skills/planning-with-files/assets/scripts/session-catchup.py (Get-Location)
Then reconcile planning files with the actual codebase.
Optional — Phase checklist
From workspace root (defaults to .kiro/plan/task_plan.md):
sh .kiro/skills/planning-with-files/assets/scripts/check-complete.sh
pwsh -File .kiro/skills/planning-with-files/assets/scripts/check-complete.ps1
New plan creation contract
For a new Kiro task, run STEP 0 bootstrap before implementation. Set PWF_SKILL_DIR to the directory containing this SKILL.md, then run from the workspace root:
sh "$PWF_SKILL_DIR/assets/scripts/bootstrap.sh"
# After filling in the selected plan, validate its explicit path:
sh "$PWF_SKILL_DIR/assets/scripts/check-complete.sh" --validate .kiro/plan/task_plan.md
PowerShell equivalents are assets/scripts/bootstrap.ps1 and assets/scripts/check-complete.ps1 -Validate -PlanFile .kiro/plan/task_plan.md.
Keep each phase as ### Phase N: Name with exactly one **Status:** pending, **Status:** in_progress, or **Status:** complete line. A ## Phases checklist or numbered summary alone is not trackable. Preserve these markers when tailoring the generated plan; do not replace the skeleton with a compact custom format. Validation must succeed before substantive work and after changing phase structure. This checks format, not task completion or attestation.
Reuse existing plans without overwriting them. If an existing plan fails validation, report the issue for its owner to review; do not automatically rewrite it. If helpers cannot run, copy the shipped template exactly and state that native validation is unavailable.
The Core Pattern
Context Window = RAM (volatile, limited)
Filesystem = Disk (persistent, unlimited)
→ Anything important gets written to disk.
File Purposes
| File | Purpose | When to Update |
|---|---|---|
task_plan.md |
Phases, progress, decisions | After each phase |
findings.md |
Research, discoveries | After ANY discovery |
progress.md |
Session log, test resul |
よくある質問
フックがインストールされますか?
いいえ。スキルにはフックは同梱されず、代わりにスキルとステアリングのファイルに頼ると書かれています。
どのように設定しますか?
ワークスペースのルートから一度ブートストラップ・スクリプトを実行します。既存のファイルは上書きされません。
ワークスペースのスキルとして取り込めますか?
はい。KiroのImport a skillオプションで、そのフォルダを読み込めます。
詳細
作者による元の説明
Persistent file-based planning for multi-step AI-agent work. Keeps task_plan.md, findings.md, and progress.md on disk; Kiro skill instructions and steering state read selected project planning context. Recovery reads project planning files and their timestamps only, not agent transcript stores. This adapter registers no Stop hook, never requests continuation, and never runs commands declared in Markdown. The skill has no network upload path. Use for research or work needing 5+ tool calls.
人気
- GitHubのスター
- 28k
- ランキング
- #9871
- ライセンス
- MIT
- 更新日
- 2026/10/30
コメント
- …
このリポジトリの他のスキル
planning-with-files
28kエージェントが、計画、調査結果、進捗をマークダウンファイルとしてディスクに保存し、長い作業をリセット後にも再開できるよう支援します。
planning-with-files
28kエージェントが、計画、調査結果、進捗をファイルに保存することで、複数手順のプロジェクトを軌道に乗せられるよう支援します。長い作業や中断があっても再開できます。
planning-with-files
28kエージェントが、計画、調査結果、進捗をファイルに保存することで、複数手順のプロジェクトを軌道に乗せられるよう支援します。Geminiのフックが文脈を補います。