Plan to tasks

From albinotonnina/echos · View interactive version

Plan to tasks is an AI agent skill from the GitHub repository albinotonnina/echos. Transform a plan (from session memory, a markdown file, or inline description) into agent-executable tasks in docs/IMPLEMENTATION.md following the project's established format. Use when the user says "add to implementation", "convert plan to tasks", "create tasks from this plan", "add a phase", or s

How to use this skill

Skill file

Plan to Tasks

Convert a plan into the docs/IMPLEMENTATION.md task format so each task can

be executed by an AI agent via the implement-task skill, one task per session.

When to Use This Skill

agent-executable tasks

Step 1: Gather the Plan

Find the plan content. Check in order:

  1. Session memory (/memories/session/) — look for plan files
  2. User's message — inline plan description
  3. Ask the user where the plan is

Extract the high-level goals, steps, files involved, and verification criteria.

Step 2: Read the Existing `docs/IMPLEMENTATION.md`

# Get the current phase numbering
grep -n "^## Phase\|^### [0-9]" docs/IMPLEMENTATION.md

Determine:

Step 3: Design the Task Breakdown

Transform the plan into tasks following these rules:

Task Sizing

Task Independence

Task Scope

Each task must be self-contained:

Step 4: Write Tasks in the Exact Format

Every task MUST follow this template exactly:

### X.YY — Task Title

**Description:** 2-5 sentences explaining what to build/change, why it matters,
and any key design decisions. Be specific enough that an agent can implement
without asking questions. Include the current state (what exists now) and the
target state (what should exist after).

**Files to create:**

- `path/to/new-file.ts` — What this file contains. What it exports. Key functions
  or types with their signatures. Approximate size. Enough detail that the agent
  knows what to write without inventing the API.

**Files to modify:**

- `path/to/existing-file.ts` — What specific changes to make. Which sections to
  add/remove/update. Be explicit: "Remove lines X-Y", "Add import for Z",
  "Replace the foo() call with bar()".

**Acceptance criteria:**

- Bullet list of verifiable conditions
- Always include: `pnpm -r build` passes
- Include test requirements if applicable
- Include behavioral checks (e.g. "daemon starts and logs show X")
- Include size targets if splitting files (e.g. "file is under 100 lines")

**Dependencies:** None (or list specific task IDs like 9.01)

Format Rules

  1. Task ID: X.YY where X = phase number, YY = zero-padded sequence (01, 02, ...)
  2. Title: Short, descriptive, starts with a verb or noun
  3. Description: Present tense. Explain the problem AND the solution.
  4. Files to create: Only for NEW files. Include enough implementation detail

(types, function signatures, behavior) that the agent doesn't need to guess.

  1. Files to modify: Only for EXISTING files. Be specific about what changes.
  2. Background job / Docs to update / Docs to read: Optional sections,

include only when relevant.

  1. Acceptance criteria: Always include pnpm -r build passes (or equivalent

build command). Include pnpm vitest run if tests exist for the area.

  1. Dependencies: Always present. Use "None" or list task IDs.

What NOT to Include

already updates docs per the implement-task skill Step 10)

Step 5: Insert into `docs/IMPLEMENTATION.md`

  1. Add the new phase section after the last existing phase (before the Dependency Graph)
  2. Add entries to the Dependency Graph section
  3. Add entries to the Recommended Execution Order section
  4. Update the Parallelization note if relevant

Insertion Points

Step 6: Verify the Format

After writing, verify:

  1. Task IDs are sequential and correctly numbered
  2. All file paths are valid (check they exist or are clearly new files)
  3. Dependencies are consistent (no circular deps, referenced tasks exist)
  4. Each task has all required sections (Description, Files to create/modify,

Acceptance criteria, Dependencies)

  1. Phase heading uses ## Phase N: format
  2. Task headings use ### N.YY — format with em dash (—), not hyphen (-)
  3. The document still renders correctly as Markdown

Step 7: Summarize

Tell the user:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.