agentleFS
kimgoetzkekimgoetzke/coding-agent-configs/skills/planning/SKILL.md

planning

Skill2 starsChanged 7 months agoMITView on GitHub

Planning a change to any codebase. Use when user asks you to plan something instead of taking immediate action.

43 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use executing, media-processing 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.
  • LucasDuysSkill

    executing

    Autonomous task implementation workflow — implement, test, review, commit for each task in the frontier

    Also in 3 projects that use this

  • mrgoonieSkill

    media-processing

    Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.

    Also in 3 projects that use this

  • mrgoonieSkill

    repomix

    Package entire code repositories into single AI-friendly files using Repomix. Capabilities include pack codebases with customizable include/exclude patterns, generate multiple output formats (XML, Markdown, plain text), preserve file structure and context, optimize for AI consumption with token counting, filter by file types and directories, add custom headers and summaries. Use when packaging codebases for AI analysis, creating repository snapshots for LLM context, analyzing third-party libraries, preparing for security audits, generating documentation context, or evaluating unfamiliar codebases.

    Also in 3 projects that use this

  • truongtv22Skill

    mobile-development

    Build modern mobile applications with React Native, Flutter, Swift/SwiftUI, and Kotlin/Jetpack Compose. Covers mobile-first design principles, performance optimization (battery, memory, network), offline-first architecture, platform-specific guidelines (iOS HIG, Material Design), testing strategies, security best practices, accessibility, app store deployment, and mobile development mindset. Use when building mobile apps, implementing mobile UX patterns, optimizing for mobile constraints, or making native vs cross-platform decisions.

    Also in 3 projects that use this

  • ShopifySkill

    shopify

    Build anything on Shopify. One skill covering every Shopify developer surface: Use Shopify CLI, Admin API, ShopifyQL, Storefront GraphQL API, Partner API, Customer Account API, Payments Apps API, Shopify Functions, Polaris App Home, Polaris Admin Extensions, Polaris Checkout Extensions, Polaris Customer Account Extensions, POS UI, Hydrogen, Liquid, Custom Data, Shopify App Pricing, App Store Review, Developer Onboarding, Merchant Onboarding. Use it for any Shopify API, extension, theme, storefront, function, or CLI task — writing or explaining code, looking up operations, fields, components and valid values, validating generated code, and choosing which surface a request belongs to. Also use it when someone asks to make, build, open, or set up a store or shop that sells something, and when a prompt mentions or asks for any of: metafields or metaobjects, make me a store that sells pet supplies, mock.shop reference stores, build a storefront without an account — even without saying Shopify.

    Also in 3 projects that use this

  • AnthropicSkill

    memory-management

    Two-tier memory system that makes Claude a true workplace collaborator. Decodes shorthand, acronyms, nicknames, and internal language so Claude understands requests like a colleague would. CLAUDE.md for working memory, memory/ directory for the full knowledge base.

    Also in 3 projects that use this

  • +4 more from mrgoonie

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 6 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 38 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use persistent markdown files as your "working memory on disk." Context windows are volatile and limited.

    line 18
  2. Very specific:

    Before creating the planning files, you must read the starting templates in ./templates/

    line 26
  3. Distinctive:

    If you decide or are expected to produce a plan, follow the steps outlined in this section in order.

    line 38
  4. Very specific:

    Create the plan folder and findings.md following the template: templates/findings.md

    line 44
  5. Very specific:

    Document findings in findings.md as you go

    line 46
  6. Very specific:

    Document your determination and reasoning at the top of findings.md under a ## Plan Size heading.

    line 56
  7. Very specific:

    If running in GitHub Copilot, recommend: "You can run /rename {task-name} to rename this conversation."

    line 67
  8. Very specific:

    If running in Claude Code or Pi, recommend: "You can run /name {task-name} to name this conversation."

    line 68
  9. Distinctive:

    Every plan — single-phase or multi-phase — must conclude with all planning files up-to-date

    line 75
  10. Distinctive:

    When updating planning files, do so in line with the templates for these files

    line 78
  11. Distinctive:

    Before major decisions, read the plan file.

    line 95
  12. Distinctive:

    After completing any phase:

    line 99
  13. Very specific:

    Update ## Status in plan.md

    line 101
  14. Very specific:

    Every error goes in plan.md (the single home for errors across all planning files).

    line 108

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

Planning

Planning folder

  • Any plan must be stored in {repo root}/.ai/planning/{yyyy-mm-dd} {task-name}/ - where:
    • {repo root} is the root of the current repository
    • {yyyy-mm-dd} is the date of the plan creation
    • {task-name} is an extremely succinct name for the task in kebab-case

Planning files

Use persistent markdown files as your "working memory on disk." Context windows are volatile and limited; anything important gets written to disk.

  • For any plan, you must create the following files in the plan folder:
    • plan.md — Track work breakdown and progress
    • questions.md — Track your questions and the user's responses and vice versa
    • findings.md — Store research and discoveries
  • For multi-phase plans, you must also create:
    • progress.md — Session log and test results
  • Before creating the planning files, you must read the starting templates in ./templates/
  • You must use the starting templates when creating or updating planning files to guide the structure and content of these files
FilePurposeWhen to UpdateScope
plan.mdWork breakdown, decisionsAfter each phaseAll plans
findings.mdResearch, discoveriesPer 2-action ruleAll plans
questions.mdLog of questions and user responsesThroughout planningAll plans
progress.mdSession log, test resultsThroughout sessionMulti-phase only

Workflow

If you decide or are expected to produce a plan, follow the steps outlined in this section in order.

Step 1: Research & discover

  • Gather requirements from the user's request
  • Derive {task-name} — an extremely succinct name for the task, use kebab-case e.g. refactor-mfa-flow
  • Create the plan folder and findings.md following the template: templates/findings.md
  • Explore the codebase to understand the scope of the change
  • Document findings in findings.md as you go

Step 2: Determine plan size

Based on your research, explicitly determine whether this is a multi-phase plan. A plan is multi-phase if it meets ANY of the following:

  • More than 5 files will likely be modified
  • More than 5 tool uses are expected
  • More than 150 lines of code will change

Document your determination and reasoning at the top of findings.md under a ## Plan Size heading.

Step 3: Create remainaing planning files

Create the remaining planning files from the templates based on the determination in step 2 (see Planning files). Populate plan.md with the plan and questions.md with any unresolved questions. Keep questions.md scaffolded even if you have no questions yet, as they may come up later. For multi-phase plans, also create progress.md as a stub — it will be populated during execution.

Step 4: Respond

  • Return a summarised version of the plan to the user
  • You must highlight if there are unresolved questions or if the plan is ready for implementation
  • Recommend to the user that they rename this conversation:
    • If running in GitHub Copilot, recommend: "You can run /rename {task-name} to rename this conversation."
    • If running in Claude Code or Pi, recommend: "You can run /name {task-name} to name this conversation."
    • Otherwise, recommend: "Consider renaming this conversation to {task-name} if your tool supports it."

Critical rules

1. Keep docs up-to-date

  • Every plan — single-phase or multi-phase — must conclude with all planning files up-to-date
  • For multi-phase plans, this applies at the end of every phase, not just the final one
  • The plan must have explicit actions to this effect that specifically refer to this planning skill (in each phase, for multi-phase plans)
  • When updating planning files, do so in line with the templates for these files

2. Reference relevant skills

  • During planning, you must check the skills available to you that apply to the work in that phase (e.g. rust-bevy-standards, java-conventions, tdd)
  • Each phase must have a task to read the relevant skills, followed by a list of those skills
  • Any development work must follow test-driven development practices i.e. you have to use your tdd skill for any code you write and task descriptions featuring development work must make this clear
  • Do not edit any file in a phase until you have read every skill listed for that phase

3. The 2-action rule

"After every 2 view/browser/search operations, IMMEDIATELY save key findings to text files."

This prevents visual/multimodal information from being lost.

4. Read before decide

Before major decisions, read the plan file. This keeps goals in your attention window.

5. Update after act

After completing any phase:

  • Update ## Status in plan.md
  • Mark phase status: In progress → Complete
  • Log any errors encountered
  • Note files created/modified

6. Log ALL errors

Every error goes in plan.md (the single home for errors across all planning files). This builds knowledge and prevents repetition.

7. Never repeat failures

if action_failed:
    next_action != same_action

Track what you tried. Mutate the approach.

The 3-strike error protocol

ATTEMPT 1: Diagnose & Fix
  → Read error carefully
  → Identify root cause
  → Apply targeted fix

ATTEMPT 2: Alternative Approach
  → Same error? Try different method
  → Different tool? Different library?
  → NEVER repeat exact same failing action

ATTEMPT 3: Broader Rethink
  → Question assumptions
  → Search for solutions
  → Consider updating the plan

AFTER 3 FAILURES: Escalate to User
  → Explain what you tried
  → Share the specific error
  → Ask for guidance

Templates

  • templates/plan.md — Work breakdown and progress template
  • templates/findings.md — Research storage template
  • templates/progress.md — Session logging template
  • templates/questions.md — Questions and responses template

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.