AGENT SKILL

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.

License 许可
MIT
最近更新
2026-07-28
Stars
★ 1
Forks
0

01 前言 Front Matter

name
planning-with-files
license
MIT
metadata
{ "version": "2.32.0-kiro", "integration": "kiro" }
description
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.
allowed-tools
shell read write
compatibility
Requires a POSIX shell or PowerShell, Python 3 for session-catchup, and read/write access to the workspace. See Kiro Agent Skills — https://kiro.dev/docs/skills/

02 资源文件 12

03 SKILL.md 正文

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.md uses inclusion: auto and #[[file:…]] 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 Bypass -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.md and .kiro/plan/progress.md to restore context.


STEP 2 — Read plan every turn (while active)

  1. Read .kiro/plan/task_plan.md — goal, phases, status
  2. Read .kiro/plan/progress.md — recent actions
  3. Use .kiro/plan/findings.md for research and decisions

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.

  1. Plan first — no open-ended multi-step work without task_plan.md.
  2. 2-action rule — after every two view/search/browser steps, write to findings.md.
  3. Read before big decisions — refresh task_plan.md into attention.
  4. Update after each phase — in_progress → complete, log errors.
  5. 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 .kiro/plan/task_plan.md
Silent retries Log errors; change approach
Huge pasted logs in chat Append to findings.md or progress.md

04 同仓库更多 Skills

Herxinsasa
Herxinsasa/Skills-Collector

ckm:ui-styling

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.

设计师视觉设计
★ 1
Herxinsasa
Herxinsasa/Skills-Collector

ckm:design

Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.

设计师演示文稿视觉设计
★ 1
Herxinsasa
Herxinsasa/Skills-Collector

ckm:design-system

Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.

设计师视觉设计
★ 1
Herxinsasa
Herxinsasa/Skills-Collector

ckm:banner-design

Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.

设计师前端开发视觉设计
★ 1
Herxinsasa
Herxinsasa/Skills-Collector

qiaomu-anything-to-notebooklm

多源内容智能处理器:支持微信公众号、网页、YouTube、播客(小宇宙/喜马拉雅)、PDF、Markdown等,自动上传到NotebookLM并生成播客/PPT/思维导图等多种格式。支持深度分析模式和飞书文档自动创建

文档处理
★ 1
Herxinsasa
Herxinsasa/Skills-Collector

code_simplifier

Use when changed code should be reviewed for reuse, code quality, and efficiency, then cleaned up before finalizing.

开发工程师
★ 1