Planning-with-files planning-with-files
Manus-style file-based planning for complex tasks. Creates and maintains task_plan.md, findings.md, and progress.md under .kiro/plan/. Use when planning, breaking down work, resuming a multi-step task, tracking phases, or restoring context after compaction. Trigger phrases include start planning, continue task, resume work, current phase, restore context.
git clone https://github.com/OthmanAdi/planning-with-files
T=$(mktemp -d) && git clone --depth=1 https://github.com/OthmanAdi/planning-with-files "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.kiro/skills/planning-with-files" ~/.claude/skills/othmanadi-planning-with-files-planning-with-files-e81ae5 && rm -rf "$T"
.kiro/skills/planning-with-files/SKILL.mdPlanning 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,
uses.kiro/steering/planning-context.md
andinclusion: auto
live references (Steering docs).#[[file:…]]
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 Bypass -File .kiro/skills/planning-with-files/assets/scripts/bootstrap.ps1
Creates:
,.kiro/plan/task_plan.md
,findings.mdprogress.md
(auto +.kiro/steering/planning-context.md
)#[[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:
Before each turn, read[Planning Active]and.kiro/plan/task_plan.mdto restore context..kiro/plan/progress.md
STEP 2 — Read plan every turn (while active)
- Read
— goal, phases, status.kiro/plan/task_plan.md - Read
— recent actions.kiro/plan/progress.md - Use
for research and decisions.kiro/plan/findings.md
If
.kiro/plan/ is missing, run STEP 0.
STEP 3 — Session catchup (after a long gap or suspected drift)
Summaries + file mtimes (compare with
git diff --stat if needed):
$(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
Rules (summary)
Full detail: references/planning-rules.md. Inline template skeletons: references/planning-templates.md.
- Plan first — no open-ended multi-step work without
.task_plan.md - 2-action rule — after every two view/search/browser steps, write to
.findings.md - Read before big decisions — refresh
into attention.task_plan.md - Update after each phase —
→in_progress
, log errors.complete - Never repeat the same failed action — change tool, approach, or assumptions.
When to use
Use: multi-step work, research, refactors, anything that spans many tool calls.
Skip: one-off questions, tiny single-file edits.
Anti-patterns
| Avoid | Prefer |
|---|---|
| Goals only in chat | |
| Silent retries | Log errors; change approach |
| Huge pasted logs in chat | Append to or |