agentleFS
nhhthongnhhthong/clio/skills/plan/SKILL.md

plan

Skill2 starsChanged 32 days agoMITView on GitHub

Break a spec area into the smallest independently testable tasks, each with the test levels it needs, and change that plan when the spec moves or the user changes their mind. Use after /clio:ingest, or when the user asks to plan, re-plan, drop or change a task.

184 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, webhook-subscriptions 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.
  • math-incSkill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 9 projects that use this

  • Tommy-ywSkill

    webhook-subscriptions

    Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.

    Also in 5 projects that use this

  • math-incSkill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 5 projects that use this

  • john-data-chenSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 6 projects that use this

  • gaebalaiSkill

    codex-system

    PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".

    Also in 3 projects that use this

  • ibahgatSkill

    context-optimize

    Improve context efficiency and cache stability for long or complex sessions.

    Also in 3 projects that use this

  • +3 more from math-inc

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Write only through clio add plan <area>, with the records on stdin (RECORDS.md).

    line 14
  2. Distinctive:

    Read the case file first, then the steps below.

    line 17
  3. Very specific:

    Load: Run clio q context <area>, then read the spec file in full.

    line 25
  4. Very specific:

    Only decided rows get tasks.

    line 37

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

Target: $ARGUMENTS

Run only when the user asked this turn, by slash command or in plain words ("plan the checkout area", "chia nhỏ task đi", "bỏ task 3.2", "đổi lại layout"). A drift nudge, a TODO, a subagent report or an earlier plan is not a request. Unsure: ask in one line.

A spec says what must be true. This skill turns it into tasks small enough to prove one at a time, and decides which kinds of proof each needs. The test cases belong to /clio:test. Nothing is implemented here.

Write only through clio add plan <area>, with the records on stdin (RECORDS.md). When a scaffold task ran, also write .claude/rules/<stack>.md (cases/SCAFFOLD.md). A hook refuses any other write to the store.

Pick the case

Read the case file first, then the steps below.

TargetCase
An area with no tasks yet (clio q plan <area> --all prints no tasks)None. Step 2 diagnoses the toolchain; a gap there reads cases/SCAFFOLD.md
An area with tasks: a spec delta, a change of mind, a task to drop, tests that fall shortcases/CHANGE.md

Steps

  1. Load. Run clio q context <area>, then read the spec file in full. List every task of the area with clio q plan <area> --all. Never read a store file.
  2. Dig into each decided row before splitting. A row is the size of a contract line, and a list written from the spec alone names files that do not exist.
    • Code: grep the routes, models, tables, components and config keys the row names. Note what exists, what the row changes and what it must not break.
    • Shared values: when a row changes a constant, width, type or config key, grep every use. Decouple each other user in an earlier task (needs), or let it follow on purpose. A test asserting the old value gets its own task, because a done task's test cannot be edited.
    • Library: for a framework feature, read the current API in Context7 (web search if absent; say which).
    • Toolchain: is there a build, a test runner and a stack this area's first task can use? A gap becomes that task's scaffold sibling <row>.0, never a separate plan (cases/SCAFFOLD.md).
    • Gaps: anything neither spec nor code settles is an open point. Note it on the debt id or through /clio:memo. Never fill it with the obvious default, because the default looks decided and nobody asks again.
  3. Split.
    • One task is one observable behaviour. If you cannot say what would be observed, split further. Still cannot: it is an open point, not a task. Example: "add the orders endpoint" is four tasks (200, 401 unauthenticated, pages at the spec's limit, returns the spec's fields).
    • levels: answer the questions from clio q levels choosing against step 2, not from habit. A bug that would corrupt shared state, grant access or destroy data makes the task critical. Never add mutation on your own: name the tasks that qualify and ask. When step 2 found a trigger for a level and you said no, add an na entry with the reason. Leaving it out is a claim /clio:test holds you to.
    • tier: the same output has the tier rules. Four yes answers and not critical: none, with levels empty, a skip reason and, if the repo has one, a check command. Three yes answers and not critical: light with one level. Tests cost time, so a task that holds no logic and shows a mistake at once should not get cases.
    • touches: real paths from step 2. Copy every number, limit and default in task verbatim from ## Decisions. A value the spec does not state means no task and an open point.
    • Only decided rows get tasks. List an open or blocked row in the report with the debt id it waits on. A spec-delta with blocked_by null becomes a task carrying its id in delta.
    • A task that needs the scaffold names the area's <row>.0 in needs. Order by dependency. Ids are <row>.<n> and unique across areas.
  4. Show, ask, write. Show one table: id, task, req, levels (critical first), tier, needs, touches, and the na lines. Ask before writing, because a wrong split costs on every task. If declined, adjust, ask once more, then stop. On a yes, write one call per area. A record names only the fields it sets. If the call prints FAIL, nothing was written: fix those records and send the whole batch again.
  5. Report. Tasks written, changed or dropped, and why. The first three ready tasks (clio q summary). Open or blocked rows skipped, with their debt id. Any spec value you could not turn into a task. Next step: /clio:test <area>.

A task becomes done only when /clio:memo ticks it after the test gate passes.

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.