agentleFS
strikersamstrikersam/autonomous-ai-agency/.agents/skills/implementation-planner/SKILL.md

implementation-planner

Skill9 starsChanged 3 months agoMITView on GitHub

Plan a multi-file or multi-step implementation before writing any code. Use before any change touching more than two files, adding a new feature, or changing a module interface.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill before writing any code when:

    line 23
  2. Distinctive:

    Read the relevant module AGENTS.md if one exists.

    line 32
  3. Very specific:

    Run pytest -x to confirm the baseline is green.

    line 33
  4. Distinctive:

    Read the key files you expect to touch.

    line 34
  5. Very specific:

    If the plan involves a risky module (auth, key store, agent tools), invoke the risky-module-review skill before proceeding.

    line 65
  6. Very specific:

    Follow the plan step by step.

    line 69
  7. Distinctive:

    If tests fail, fix and re-run before reporting done.

    line 75
  8. Very specific:

    Update .Codex/state/agent-state.json with completed steps.

    line 77
  9. Distinctive:

    If a step fails (syntax error, test failure, unexpected interface):

    line 89
  10. Distinctive:

    Do NOT silently swallow the failure.

    line 90
  11. Very specific:

    If blocked, write the blocker to .Codex/state/NEXT_ACTION.md and stop cleanly.

    line 93

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: implementation-planner

When to Use

Use this skill before writing any code when:

  • The change touches more than 2 files
  • A new endpoint, agent capability, or routing behaviour is being added
  • The approach is not obvious from the existing code structure
  • You are unsure whether a change will break existing tests

Instructions

Step 1 — Understand the current state

  1. Read the relevant module AGENTS.md if one exists.
  2. Run pytest -x to confirm the baseline is green.
  3. Read the key files you expect to touch.

Step 2 — Write the plan

Produce a plan in this structure:

## Goal
One sentence: what does this change accomplish?

## Approach
2-3 sentences: the technical approach chosen and why.

## Files to change
- `path/to/file.py` — what changes and why
- `tests/test_something.py` — new or updated tests

## Files to read first
- `path/to/related.py` — to understand the interface

## Risks
- Any behaviour that might regress
- Any risky module being touched (triggers risky-module-review skill)

## Acceptance checks
- [ ] pytest -x passes
- [ ] changelog entry added
- [ ] no hardcoded secrets
- [ ] new tests cover the new behaviour

Step 3 — Get implicit approval before coding

If the plan involves a risky module (auth, key store, agent tools), invoke the risky-module-review skill before proceeding.

Step 4 — Implement

Follow the plan step by step. Update the plan if reality diverges from the written plan (annotate with # REVISED: comments).

Step 5 — Verify

After implementing:

  1. Run pytest -x.
  2. If tests fail, fix and re-run before reporting done.
  3. Update docs/changelog.md.
  4. Update .Codex/state/agent-state.json with completed steps.

Acceptance Checks

  • Plan was written before implementation
  • All listed files were changed
  • All tests pass
  • Changelog updated
  • No risky module changed without risky-module-review

Failure / Retry Behaviour

If a step fails (syntax error, test failure, unexpected interface):

  1. Do NOT silently swallow the failure.
  2. Annotate the plan with the failure.
  3. Diagnose before retrying — read the error carefully.
  4. If blocked, write the blocker to .Codex/state/NEXT_ACTION.md and stop cleanly.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.