Command Palette

Search for a command to run...

Назад к скиллам
скилл № 97234

space-planning-with-files

File-based plans on disk (task_plan.md, findings.md, progress.md) another CLI or agent can resume. Opt-in: on request or for long handoff-ready work.

БесплатноЗапускает вложенные скрипты
oll4comот oll4com★ 30 звёзд на GitHub

Установить space-planning-with-files в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Planning with Files

Work like Manus: Use persistent markdown files as your "working memory on disk."

In Space

Read this section first; it decides where the files go.

  • Space repository and Space worktrees (/opt/spaceapp*, /opt/spaceapp/var/worktrees/*, worktrees under /var/lib/spaceapp-user/agent-workspace/active/): never write the planning files or .planning/ into the repository. They are untracked, so npm run hygiene:preflight fails, and repo-local working files are forbidden. Keep them in the task's scratch directory and use absolute paths from then on:

    PLAN_DIR=/var/lib/spaceapp-user/agent-workspace/active/YYYYMMDD-HHMM-<task>   # reuse it if it already exists
    mkdir -p "$PLAN_DIR" && (cd "$PLAN_DIR" && bash <skill-dir>/scripts/init-session.sh)
    sh <skill-dir>/scripts/check-complete.sh "$PLAN_DIR/task_plan.md"
    
  • Other projects (a user's own repository): the upstream layout below applies (project root, or .planning/<id>/ for named plans).

  • <skill-dir> is this installed skill: /opt/spaceapp/agent-skills/space-planning-with-files on the Space host.

  • Put the worktree path, branch, PLAN_DIR and any merge-queue ticket at the top of task_plan.md.

  • Recovery after a CLI restart, a pane-host restart or a handoff: find the plan with ls -t /var/lib/spaceapp-user/agent-workspace/active/*/task_plan.md | head, open the one for this task, and read all three files before acting. A handoff document (space-mattpocock-skills → handoff) names PLAN_DIR.

  • With Superpowers: writing-plans produces the implementation plan document. task_plan.md is working memory: link that document and track progress, decisions and errors here instead of copying its steps.

  • These files are not the operator's Space clipboard PLAN record. When the operator expects a designed plan, save that record too.

  • Never put secrets, tokens, cookies or .env values in the files. Delete the scratch directory when the task is finished and nothing in it is still needed.

FIRST: Restore Project State

Before continuing, resolve the plan this task owns:

  1. In Space, read task_plan.md, progress.md and findings.md from PLAN_DIR (see above). Elsewhere, use scripts/resolve-plan-dir.sh with the task's PLAN_ID and PWF_PLAN_ROOT, and read the three files from that one selected directory. A root task_plan.md must not override a selected .planning/<id>/ plan.
  2. If an explicit selector is rejected, or multiple named plans exist without PLAN_ID, stop plan recovery and correct the pin. Do not fall back to another task.
  3. Run git diff --stat to see code changes that may not yet be recorded in the planning files.

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 results Throughout session

Critical Rules

1. Create Plan First

Never start a complex task without task_plan.md. Non-negotiable.

2. The 2-Action Rule

"After every 2 view/browser/search operations, IMMEDIATELY save key findings to text files."

This prevents visual/multimodal information from being lost.

3. Read Before Decide

Before major decisions, read the plan file. This keeps goals in your attention window.

4. Update After Act

After completing any phase:

  • Mark phase status: in_progress → complete
  • Log any errors encountered
  • Note files created/modified

Whenever a phase status changes, also refresh ## Next Step in task_plan.md so it names the single next action.

5. Log ALL Errors

Every error goes in the plan file. This builds knowledge and prevents repetition.

## Errors Encountered
| Error | Attempt | Resolution |
|-------|---------|------------|
| FileNotFoundError | 1 | Created default config |
| API timeout | 2 | Added retry logic |

6. Never Repeat Failures

if action_failed:
    next_action != same_action

Track what you tried. Mutate the approach.

7. Continue After Completion

When all phases are done but the user requests additional work:

  • Add new phases to task_plan.md (e.g., Phase 6, Phase 7)
  • Log a new session entry in progress.md
  • Continue the planning workflow as normal

The 3-Strike Error Protocol

ATTEMPT 1: Diagnose & Fix
  → Read error carefully
  → Identify root cause
  → Apply targeted fix

ATTEMPT 2: Alternative Approach
  → Same error? Try different method
  → Different tool? Different library?
  → NEVER repeat exact same failing action

ATTEMPT 3: Broader Rethink
  → Question assumptions
  → Search for solutions
  → Consider updating the plan

AFTER 3 FAILURES: Escalate to User
  → Explain what you tried
  → Share the specific erro
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • UPSTREAM.md
  • examples.md
  • reference.md
  • scripts/check-complete.sh
  • scripts/init-session.sh
  • scripts/resolve-plan-dir.sh
  • scripts/set-active-plan.sh
  • templates/analytics_findings.md
  • templates/analytics_task_plan.md
  • templates/findings.md
  • templates/progress.md
  • templates/task_plan.md

FAQ

Что делает скилл space-planning-with-files?

File-based plans on disk (task_plan.md, findings.md, progress.md) another CLI or agent can resume. Opt-in: on request or for long handoff-ready work.

Как установить скилл space-planning-with-files?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл space-planning-with-files запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить space-planning-with-files с