planning-with-files
Provides Manus-style persistent planning memory across sessions using three filesystem files: task_plan.md (phased execution plan), findings.md (research and decisions log), progress.md (session timeline and error log). Use when activating /plan, starting a GSD task requiring 5+ tool calls, or resuming after context loss. Hooks fire automatically — no manual invocation needed during normal GSD execution. Trigger words: /plan, task_plan, persistent planning, session recovery, plan resume, goal drift, context loss.
- License 许可
- MIT
- 最近更新
- 2026-04-19
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- planning-with-files
- source
- integrated
- version
- 1.0.0
- description
- Provides Manus-style persistent planning memory across sessions using three filesystem files: task_plan.md (phased execution plan), findings.md (research and decisions log), progress.md (session timeline and error log). Use when activating /plan, starting a GSD task requiring 5+ tool calls, or resuming after context loss. Hooks fire automatically — no manual invocation needed during normal GSD execution. Trigger words: /plan, task_plan, persistent planning, session recovery, plan resume, goal drift, context loss.
02 资源文件 6
- 脚本scripts/check-complete.ps1802 B
- 脚本scripts/check-complete.sh723 B
- 脚本scripts/init-session.ps11.2 KB
- 脚本scripts/init-session.sh1.0 KB
- 脚本scripts/session-catchup.ps11.1 KB
- 脚本scripts/session-catchup.py1.0 KB
03 SKILL.md 正文
planning-with-files
The Three Files
| File | Purpose | Written by |
|---|---|---|
task_plan.md |
Phased execution plan with step status | Agent at PLAN phase |
findings.md |
Research, decisions, external content ONLY | Agent (2-Action Rule) |
progress.md |
Session log, errors, test results | Agent (AfterTool hook) |
Critical Constraint (Rule G-9)
task_plan.md is injected into context before EVERY tool call (BeforeTool hook).
Never write external fetched content here. External content → findings.md only.
Scripts
| Script | Purpose | Runtime |
|---|---|---|
| [init-session.sh](file:///agents/skills/planning-with-files/scripts/init-session.sh) | Bootstrap task_plan.md from SPEC.md (idempotent) | Bash |
| [init-session.ps1](file:///agents/skills/planning-with-files/scripts/init-session.ps1) | Same — Windows runtime | PowerShell |
| [session-catchup.py](file:///agents/skills/planning-with-files/scripts/session-catchup.py) | Emit structured session status on startup | Python 3 |
| [session-catchup.ps1](file:///agents/skills/planning-with-files/scripts/session-catchup.ps1) | Same — Windows fallback | PowerShell |
| [check-complete.sh](file:///agents/skills/planning-with-files/scripts/check-complete.sh) | Validate all phases complete before commit | Bash |
| [check-complete.ps1](file:///agents/skills/planning-with-files/scripts/check-complete.ps1) | Same — Windows runtime | PowerShell |
Extended GSD Workflow
See [gsd-with-persistent-planning.md](file:///agents/workflows/gsd-with-persistent-planning.md)
04 同仓库更多 Skills
wcag-audit-patterns
Comprehensive guide to auditing web content against WCAG 2.2 guidelines with actionable remediation strategies.
unit-testing-test-generate
Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.
testing-qa
Comprehensive testing and QA workflow covering unit testing, integration testing, E2E testing, browser automation, and quality assurance.
test-fixing
Systematically identify and fix all failing tests using smart grouping strategies. Use when explicitly asks to fix tests ("fix these tests", "make tests pass"), reports test failures ("tests are failing", "test suite is broken"), or completes implementation and wants tests passing.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
terraform-infrastructure
Terraform infrastructure as code workflow for provisioning cloud resources, creating reusable modules, and managing infrastructure at scale.