Plan

From juanibiapina/dotfiles · View interactive version

Plan is an AI agent skill from the GitHub repository juanibiapina/dotfiles. Produces a written implementation plan (research plus steps) for a code change. Use when asked to plan a coding task.

How to use this skill

Skill file

Plan

Research the codebase and produce an implementation plan. Make no source-code

changes.

Self-containment

A plan must be self-contained. Assume the reader has only the plan, with no

access to the conversation that produced it. It must carry enough context and

rationale for a fresh agent to make good decisions on its own: key constraints,

decisions already made and why, and relevant background found during research.

It does not need exhaustive detail or exact code locations; it needs enough that

a competent agent can find the rest and choose well. When deciding whether

something belongs in the plan, apply this test: could a fresh agent build the

right thing from the plan alone?

Workflow

1. Load skills

Load all three before reading any source:

Completion criterion: all three loaded before the first source-file read.

2. Research

Before planning, explore the codebase to understand what exists:

Before concluding anything is absent (a file, usage, dependency, or pattern), confirm the checkout is current: git fetch, and fast-forward if behind the upstream default branch.

3. Plan

Keep the plan focused on what the user wants. Choose the smallest set of changes

that achieves that goal. Avoid scope creep: include adjacent work only when it

is necessary to deliver the requested outcome.

When the change is to agent instructions, name the skill that owns the procedure and leave out its commands. Add a guard step only for a case that exists today.

Prefer a library over custom code when it is maintained, current, and

recommended by the platform the project runs on (e.g. Cloudflare's Agents SDK

on Workers, expo-* packages in an Expo app). Write custom code only when no

such library fits, and state in the plan which library was rejected and why.

When relevant, include data models as code in the project's language and Mermaid

diagrams that clarify relationships, flows, or state transitions. Keep each

artifact limited to the design needed for the task.

When breaking the work into steps:

Choose a detail level based on complexity:

Minimal, for simple, well-understood changes:

Comprehensive, for architectural changes, complex features or entire new projects:

Default to minimal.

Under "Out of scope", name the adjacent work the plan deliberately excludes and,

where useful, why.

A plan has no "Open questions" section and leaves no question for the reader

to answer. Turn each unknown into one of:

can accept or change it in review;

way, or a check the builder runs first with the action for each result;

For "Skills to use", recommend the skills available in your context that match

the work in the plan. List them by name, each with a one-line note on when it

applies during implementation (e.g. "tdd — for the parser changes",

"commit — when committing").

4. Output

Open the plan with a Summary: one sentence on what the change does, then what changes for the people who use it: for a library's consumers, its public interface and dependencies; for an app's users, its screens and interactions. Then the proposed decisions. The details for the builder follow.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.