agentleFS
mhmzdevmhmzdev/hisab-whatsapp/.agents/skills/create-plan/SKILL.md

create-plan

Skill9 starsChanged 3 months agoMITView on GitHub

Turn a GitHub issue, spec, brainstorm or task description into a file:line-grounded implementation plan with phases and machine-checkable success criteria, written to docs/exec-plans/backlog/<slug>.md and registered in the INDEX. Use when the user says "create a plan", "plan this", "how should we build X". A plan carries no open question.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use codebase-migrate, email-draft-polish and 10 more.

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.
  • composio-communitySkill

    codebase-migrate

    Run large codebase migrations and multi-file refactors. Uses the Composio CLI to coordinate issue tracking, batched PRs, and CI verification while the agent executes the transforms locally across hundreds of files.

    Also in 3 projects that use this

  • composio-communitySkill

    email-draft-polish

    Draft, rewrite, or condense emails with target tone, length, and audience; use for cold outreach, replies, status updates, or escalations where clarity and brevity matter.

    Also in 3 projects that use this

  • jesgarramSkill

    implement-plan

    Convert a plan document into Claude Code tasks with dependencies. Pure parser that reads plans from context/plans/ and creates executable task workflows.

    Also in 8 projects that use this

  • mhylleSkill

    iterate-plan

    Update existing implementation plans through user feedback with thorough research and validation. Also migrates old checkbox-based plans to the new Task tools system. This skill should be used when iterating on implementation plans, updating plans based on new requirements, refining technical approaches in existing plans, migrating old plans to Task tools, or when the user wants to modify a previously created plan file. Triggers on requests like "update the plan", "change the implementation approach", "iterate on this plan", "migrate to new system", or when feedback is provided about an existing plan document.

    Also in 3 projects that use this

  • shawn-dumasSkill

    validate-plan

    Validate an orchestration plan after pre-flight certification. Runs adversarial review, deep review (verify prompt data against codebase), and PoC gate for risky approaches. Auto-invoked by orchestrate-* skills at Step 8.

    Also in 3 projects that use this

  • joshuaalpuertoSkill

    research-codebase

    Conducts structured research across a codebase to answer questions about architecture, components, and data flow. Use when investigating how code works, where functionality lives, or how systems interact. Decomposes questions, runs parallel investigations, synthesizes findings with file:line references, and produces persistent research documents.

    Also in 3 projects that use this

  • +3 more from composio-community

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read every mentioned file fully.

    line 17
  2. Very specific:

    If the WHAT is still fuzzy or the approach was never grilled and touches a risk area (the strict-check path, entry numbering, the store and …

    line 19
  3. Very specific:

    Add a row to docs/exec-plans/INDEX.md (Backlog table: file, problem, depends on).

    line 72
  4. Very specific:

    Write code. Put the plan anywhere but backlog/.

    line 78

“Common” is measured: kept by at least 6 in 10 of the 24 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

Create Plan

Honour .agents/skills/README.md. You turn a WHAT into a HOW. Output is a plan document, precise enough that /implement executes it without re-deciding scope: exact paths, file:line anchors, the code shape where it is the decision, and criteria a command settles.

Position: /file-an-issue (or a picked issue) → /create-plan → /implement → /review → /open-pr. Input is normally one GitHub issue (one plan per issue); also a spec, brainstorm or bare description.

Step 0 — Facts and naming

Repo facts from AGENTS.md: check, docs/exec-plans/{backlog,active,completed,superseded}, issues_repo, board. ls docs/exec-plans/*/ for the naming convention (bare slug per Contract 2; no date prefix). No argument → ask for the issue, spec or task, then wait.

Step 1 — Context

  1. Read every mentioned file fully. Derive the slug (GH-<N>-<topic> when an issue exists) and read any docs/brainstorm/ or docs/specs/ file for it first.
  2. Issue given: gh issue view <N> --repo mhmzdev/hisab-whatsapp --json title,body,url,labels,state,assignees. It is the ticket: settled decisions from its body, its Done when boxes seed the criteria. Check blockers (blockedBy via gh api graphql); an open blocker → say so and stop unless told to plan ahead.
  3. If the WHAT is still fuzzy or the approach was never grilled and touches a risk area (the strict-check path, entry numbering, the store and offset, language strings, anything privacy-adjacent), recommend /grill-me first. Do not plan a moving target.

Step 2 — Targeted research

Grep/read only the areas the plan touches. For a new tool: tools.py schema + Tools method, the ledger.py function, the prompt line in agent.py, and the smoke test that covers the sibling. For a transport change: wa.py and loop.py around the offset and the store. For setup or language: setup.py and the en/ur dicts in i18n.py. Note exact file:line anchors. Read tests/smoke.py to see how the sibling is tested.

Step 3 — Criteria (the contract)

Each criterion carries exactly one:

  • verify: python3 tests/smoke.py — the repo check; every plan includes it.
  • verify: <command> — another command whose exit 0 proves it (docker build -q -t hisab-whatsapp ., hledger -f sample-vault/hisab.md check --strict, python3 tests/make_sample.py).
  • verify: manual <numbered steps> — terminal mode via tests/demo_terminal.sh, or the phone against the demo agent; name the exact lines to type and the expected reply shape. Rewrite anything vacuous into something provable.

Step 4 — Write docs/exec-plans/backlog/<slug>.md

---
slug: <slug>
issue: <N or none>
status: backlog
open_questions: none
---

# <type>: <title>          ⬜ BACKLOG

## Problem
Why this exists. Link the issue / spec.

## Approach
The design in prose. Which existing pattern it reuses; which invariants it keeps (six tools, strict check, entry numbers, offset-after-batch, `en`/`ur` fixed strings, privacy).

## Success criteria
- [ ] <criterion> — `verify: …`
- [ ] Repo check passes — `verify: python3 tests/smoke.py`

## Phases
### Phase 1 — <name>
**Status:** Not started
- Files: `hisab/…` (`file:line` anchors), `tests/smoke.py`
- Change: what, in enough detail that no decision remains
- Test: the assertion to add

### Phase 2 — …

## Risks
- ...

## Out of scope
- ...

Sizing: one phase ≈ one context window. Tool + prompt + test is one phase; the phone path is its own. Any new user-facing string appears in en and ur in i18n.py in the same phase.

Step 5 — Register and hand off

Add a row to docs/exec-plans/INDEX.md (Backlog table: file, problem, depends on). Then offer via one question: Implement now (/implement) · Refine (/refine-approach) · Grill first (/grill-me) · Leave in backlog.

The no-open-questions contract

open_questions: none is a claim you make only when true. A fork the user has not decided goes back to /grill-me; it never ships inside a plan as "TBD".

What NOT to do

  • Write code. Put the plan anywhere but backlog/. Skip the INDEX row. Invent a criterion you cannot verify. Re-run a full audit when the brainstorm did recon. Leave a question open.

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.