agentleFS
donniesilalahidonniesilalahi/cocreation-skills/skills/coplan/SKILL.md

coplan

Skill0 starsChanged 5 months agoMITView on GitHub

The "plan" loop. Break a non-trivial task into clear, tracked, verifiable steps before building, and adapt the plan as work reveals new information. Use when starting any feature, refactor, or bug fix that isn't a one-liner. Mandatory leg of a full cycle; runs standalone too. Pairs with cochangelog (the plan and its changelog cross-reference each other).

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    When the planned work ships, cochangelog records it.

    line 52
  2. Distinctive:

    Update the plan live — don't wait until the end.

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

coplan — plan the work

The doer is coplanner. This is the mandatory plan loop that feeds the core make → check → learn engine. Turn a vague goal into concrete, verifiable steps.

When to Use

  • Starting a feature, refactor, or bug fix that's more than a one-liner.
  • The task feels too large or ambiguous, or spans multiple files/systems.
  • You want a tracked list so nothing is forgotten.

How to Use

  1. Recall first — run colearn to pull any lessons relevant to this task.
  2. Understand the goal and constraints. For high-blast-radius work, shape it with EnterPlanMode / codirect before decomposing.
  3. Decompose into small, actionable items (each completable in ~2 hours).
  4. Track with TaskCreate / TaskUpdate so progress is visible live.
  5. Prioritize by dependency and impact; execute one item at a time.
  6. Update the plan as you learn; review at completion.

Native tooling

EnterPlanMode (shape the approach) · TaskCreate / TaskUpdate (track todos) · /loop (self-paced passes on a long plan) · hand the built result to cotest, and a recurring lesson to colearn.

Memory Bank

Storage: Resolve workspaceRoot from .agents/workspace/cocreation.yaml (default .agents). In local, write the full record to <workspaceRoot>/skills/<name>/memory-bank/ and refresh its index. In linear-primary, write the human-facing artifact through the active backend and keep provider metadata, links, and the local navigation/index cache; never write project records into the plugin cache.

Save each plan as YYYY-MM-DD-kebab-title.md:

.agents/skills/coplan/memory-bank/2026-06-26-fix-login-bug.md

Copy _template.md, keep its frontmatter (title, date, status, optional changelog) filled. PLAN.md is the auto-generated index — never edit it by hand. After changes: node .agents/skills/coplan/index.mjs.

Pairing with a changelog (cross-reference)

When the planned work ships, cochangelog records it. Link the two both ways: the plan's frontmatter gets changelog: <changelog-record.md>, the changelog's gets plan: <this-record.md>. /cocreator wires this automatically when running coplan → core loop → cochangelog.

Todo Format

---
title: Task name
date: YYYY-MM-DD
status: todo
changelog:
---

# Plan: [Task Name]

- **Goal**: [What are we trying to achieve?]
- **Constraints**: [Time, tech, or business limits]
- **Todos**:
  - [ ] Step 1
  - [ ] Step 2
- **Completed**:
  - [x] Step 0
- **Blockers**: [Anything preventing progress]
- **Notes**: [Observations as work progresses]

Self-eval gate (close the loop)

  • All todos done, output verified → PASS to cochangelog (and link it).
  • New info breaks the plan → re-loop: revise and keep going.
  • Blocked / needs a decision → escalate to the human.
  • Scope ballooning → cut scope to fit the appetite; don't grow the box (default: cancel, not extend).

Principles

  • Each todo completable in under 2 hours.
  • Update the plan live — don't wait until the end.
  • Mark blockers immediately.
  • Close the loop: review what went well and what didn't, and feed lessons to colearn.

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.