agentleFS
silvioventresilvioventre/lovable-skills/skills/build/plan/SKILL.md

plan

Skill4 starsChanged 4 months agoMITView on GitHub

Use when the user wants to build something new or substantial and it should be understood before it is written — "I want to add comments and likes", "how should I build this", "plan this feature", "what would this involve", "explore my project and explain how it works", "research the best way to do X", "I haven't touched this app in a while", "what am I signing up for", "break this down for me", "should I do it this way or that way". Covers exploring an unfamiliar or grown project, researching approaches before committing, scoping a vague request into a defined increment, and breaking work into buildable steps. Not for design direction, which art-direction owns, and not for diagnosing a failure, which debug owns.

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, minecraft-modpack-server 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.
  • braxtonROSE4Skill

    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 8 projects that use this

  • braxtonROSE4Skill

    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 4 projects that use this

  • kevinnftSkill

    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

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 7 projects that use this

  • kevinnftSkill

    debugging-hermes-tui-commands

    Debug Hermes TUI slash commands: Python, gateway, Ink UI.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 18 projects that use this

  • +5 more from braxtonROSE4
  • +1 more from kevinnft

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 158 edited versions we read keep these.

  • 4

    Distinctive

    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. Distinctive:

    Do not write code during planning: Not a small part, not "just scaffolding".

    line 30
  2. Distinctive:

    When there is a clear implementation to propose, it produces a structured plan in its own view: the approach, the decisions and …

    line 38
  3. Distinctive:

    It is editable markdown before approval: Add a constraint, delete a step, rewrite a section.

    line 42
  4. Distinctive:

    Before designing something from scratch, check whether it has been solved already.

    line 49
  5. Very specific:

    Not diagnosis: If something is broken and the cause is unknown, that is the debug skill.

    line 93

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

Plan

Understand before building. The cost of a wrong assumption is small while it is still a sentence and large once it is code that other code depends on.

This is the discipline that prevents the most expensive failure mode in AI-assisted building: a large request implemented confidently on top of a misunderstanding, discovered three features later.

Route the request

The requestPlaybook
"Explain how this project works"reference/investigate.md
"I haven't touched this in a while"reference/investigate.md
"Where is X handled, why does Y behave that way"reference/investigate.md
"What's the best way to build X"reference/approach.md
"Should I do it this way or that way"reference/approach.md
Research before committing to a designreference/approach.md
"Add [substantial feature]"reference/scope.md
"What would this involve / what am I signing up for"reference/scope.md
"Break this down"reference/scope.md

Most real requests need two of these in sequence: investigate what exists, then scope what to add. Approach sits between them when there is a genuine choice to make.

The rule that makes this work

Do not write code during planning. Not a small part, not "just scaffolding". The moment code exists, the conversation shifts from what should this be to how do we fix what is there, and the plan stops being examined.

State this explicitly when you begin, and end with a plan the user approves rather than an implementation they inherit.

Use Plan mode

Plan mode is the mode this skill belongs in. It reasons across steps and inspects files, logs, and project context, and it never modifies code — which is the guarantee that makes the rule above enforceable rather than aspirational.

When there is a clear implementation to propose, it produces a structured plan in its own view: the approach, the decisions and assumptions, the components and data models, and the implementation sequence.

Two things about that plan are worth using deliberately:

  • It is editable markdown before approval. Add a constraint, delete a step, rewrite a section. A plan that is nearly right should be corrected rather than regenerated — editing keeps the parts that were already agreed.
  • Approving it starts implementation against it. Build mode follows the approved plan, so anything vague in the plan is a decision handed to the implementation. Resolve it while it is still a sentence.

The latest approved plan is saved to .lovable/plan.md and can be read like any other project file. Earlier plans stay in chat history, so approaches can be compared and a change re-planned safely as requirements move.

Pull in what already exists

Before designing something from scratch, check whether it has been solved already.

  • Reference specific files with @ to make the conversation precise instead of approximate. @src/components/UserProfile.tsx beats describing the file.
  • Reference another project in the same workspace the same way. Code, files, assets, and chat history from a sibling project can be read and adapted — access is read-only and respects workspace permissions.

You can read a sibling project's file structure, source, patterns, assets, and its chat history — which is often the most valuable part, because it carries why something was built that way. Several projects can be referenced in one request:

Build this onboarding flow using the auth setup from @MainApp and the form validation pattern from @ContactApp.

For anything the team has built before — an auth flow, a table pattern, a checkout — adapting a working implementation beats designing a new one. Check before planning; it frequently collapses the whole task.

When a reference fails, it is one of four things, and none of them is a bug: cross-project sharing is disabled at the workspace or the project level, the two projects are in different workspaces (which is never supported), the target is a Restricted project (referenceable only by its owner), or you lack access to it. Check those before working around it — and note that large files and results may be truncated, so a partial answer is not necessarily a complete picture.

Delegate the investigation

For anything with several independent questions, delegate them to subagents rather than working through them serially in the main thread.

Subagents are read-only, start with fresh context, and see only what you pass into their briefing. They investigate, they report back, they cannot change anything. Several can run at once on independent questions.

Two reasons this matters beyond speed:

  • Context stays clean. File contents, search results, and abandoned paths do not fill the conversation, so the requirements and decisions remain legible.
  • Findings are sharper. A bounded question investigated with fresh context returns a better answer than the same question asked halfway through a long thread.

Because a subagent sees only its briefing, the briefing is the whole job: give it the specific question, the relevant paths, and the constraints. A vague briefing returns a vague finding, and you will not know it was vague.

Split by question, not by file. "How does authentication work" and "where would comments attach to the data model" are two investigations. "Look at these twelve files" is one investigation badly described.

Finish with something decidable

A plan the user cannot say no to is not a plan. Every output of this skill ends with:

  1. What you found — the current state, in the terms of this project, not generically.
  2. What you propose — the approach, and the alternatives you rejected with the reason.
  3. What it touches — files, data, existing behaviour, anything that could regress.
  4. The increments — the order to build in, each one independently verifiable.
  5. What is uncertain — the assumptions you made and what would change if they are wrong.
  6. The first step, small enough to do and check immediately.

Point 5 is the one that gets left out and the one that pays. An assumption stated is an assumption the user can correct in a sentence; an assumption buried in a plan gets discovered as a bug.

Scope boundaries

  • Not design direction. What it should look like, the visual world, the interaction character — that is the art-direction skill.
  • Not diagnosis. If something is broken and the cause is unknown, that is the debug skill. Planning around a bug you have not understood plans around a guess.
  • Not implementation. This skill ends where building begins, deliberately.

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.