Implement plan

From raffertyuy/repo-of-repos · View interactive version

Implement plan is an AI agent skill from the GitHub repository raffertyuy/repo-of-repos. Execute a plan from _plans/, implementing steps, checking off tasks, running tests, and documenting fixes

How to use this skill

Skill file

Implement Plan

Execute an implementation plan from _plans/, working through each step, updating the plan as you go, and running tests to verify.

This skill combines the "implement" and "run" phases into one — you build it, run it, test it, fix it, and the plan documents everything that happened.

Arguments

The user provides the plan file to implement. For example:

Steps

1. Load the Plan

  1. Read the plan file from _plans/
  2. If the user gave a shorthand (no path or partial name), find the matching .plan.md file
  3. If no argument and multiple draft/in-progress plans exist, ask the user which one
  4. Parse the frontmatter and step list
  5. Identify which steps are already checked (- [x]) and which are pending (- [ ])

2. Read Per-Repo Instructions

For each repo listed in the plan's repos frontmatter:

  1. Check if repos/<name>/CLAUDE.md exists — if so, read and follow it
  2. Check if repos/<name>/AGENTS.md exists — if so, read and follow it
  3. These instructions supplement the root CLAUDE.md and govern how code is written in that repo

3. Set Status to In-Progress

Update the plan file's frontmatter:

status: in-progress

4. Implement Each Step

For each unchecked step (- [ ]), in order:

  1. Read the step — understand the task, files, and pseudocode
  2. Implement it — write the actual code
  1. Mark it done — update the plan file: change - [ ] to - [x]
  2. Add notes if needed — if you discovered something unexpected, adapted the approach, or made a decision not in the original plan, add a **Notes** line under the step:

```markdown

```

IMPORTANT: Update the plan file after EACH step, not at the end. If the session is interrupted, the plan shows exactly where things stand.

5. Run and Test

After all implementation steps are complete:

  1. Run the application — start it up, verify it launches without errors
  2. Run existing tests — make sure nothing is broken
  3. Run new tests — if the plan included test steps, verify they pass
  4. If using Playwright MCP — for frontend work, use browser automation to verify UI changes

6. Fix Issues

If tests fail or the app has issues:

  1. Diagnose — read errors, check logs, identify root cause
  2. Fix — make the necessary changes
  3. Document in the plan — add new checked steps at the end:

```markdown

```

  1. Re-run tests — verify the fix works
  2. Repeat until everything passes

7. Complete the Plan

When all steps pass and tests are green:

  1. Update the plan file's frontmatter:

```yaml

status: completed

```

  1. Report to the user:

Error Handling

Notes

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.