Chuyển đến nội dung
Skillpedia
Công việc và dự án28k · #9871

planning-with-files

Skill này làm gì

Skill này giữ kế hoạch tác vụ, phát hiện và nhật ký tiến độ dưới dạng markdown trong workspace Kiro của bạn, và liên kết chúng vào steering để agent nhìn thấy. Dành cho người dùng Kiro chạy các tác vụ AI nhiều bước kéo dài.

Khi nào nên dùng

  • ✓Khi bạn dùng Kiro và muốn kế hoạch của một tác vụ dài được lưu trên đĩa.
  • ✓Khi bạn muốn steering giữ các file kế hoạch trong ngữ cảnh của agent.
  • ✓Khi một tác vụ nhiều bước cần lưu tiến độ để có thể tiếp tục sau này.

Liên kết skill

https://github.com/OthmanAdi/planning-with-files/blob/master/.kiro/skills/planning-with-files/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/OthmanAdi/planning-with-files/blob/master/.kiro/skills/planning-with-files/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi đang dùng Kiro cho một tính năng kéo dài nhiều tuần. Hãy thiết lập các file kế hoạch và giữ chúng trong ngữ cảnh để bạn theo dõi tiến độ của chúng tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Một script bootstrap tạo file kế hoạch, phát hiện và tiến độ trong workspace của bạn, cùng một file steering trỏ đến chúng. Agent cập nhật các file khi công việc tiến triển, và không cài đặt hook nền nào.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:.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.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: 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
Câu hỏi thường gặp

Nó có cài hook không?

Không. Skill nói rằng hook không được đi kèm, và nó dựa vào file skill và file steering thay thế.

Thiết lập như thế nào?

Bạn chạy một script bootstrap một lần từ thư mục gốc của workspace, và các file đã có sẵn sẽ không bị ghi đè.

Tôi có thể nhập nó như một skill của workspace không?

Có. Tùy chọn “Import a skill” của Kiro có thể tải thư mục này.

Chi tiết

Mô tả gốc của tác giả

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.

repo: OthmanAdi/planning-with-files

Độ phổ biến

Sao GitHub
28k
Vị trí xếp hạng
#9871
Giấy phép
MIT
Cập nhật
30/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự