Skip to content
Skillpedia
Tasks & projects33k Β· #8562

gepetto

What it does

This skill guides a planning process that takes a markdown spec for a feature and builds a detailed implementation plan. It is for people who want a thorough, reviewed plan before any code is written.

When to use it

  • βœ“When a feature needs thorough analysis before developers start building it.
  • βœ“When a team wants a written spec turned into a sectioned implementation plan.
  • βœ“When a plan should be reviewed by a second model before work begins.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/gepetto/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/gepetto/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œTurn my feature spec in docs/invoicing-spec.md into a full implementation plan I can review.”

5 new skills a week. 1 minute to read.

How it works

The skill requires a markdown spec file and runs steps of research, interview questions, spec synthesis, planning and external review. It saves many markdown planning files in the folder that holds the spec.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Gepetto

Orchestrates a multi-step planning process: Research β†’ Interview β†’ Spec Synthesis β†’ Plan β†’ External Review β†’ Sections

CRITICAL: First Actions

BEFORE anything else, do these in order:

1. Print Intro

Print intro banner immediately:

═══════════════════════════════════════════════════════════════
GEPETTO: AI-Assisted Implementation Planning
═══════════════════════════════════════════════════════════════
Research β†’ Interview β†’ Spec Synthesis β†’ Plan β†’ External Review β†’ Sections

Note: GEPETTO will write many .md files to the planning directory you pass it

2. Validate Spec File Input

Check if user provided @file at invocation AND it's a spec file (ends with .md).

If NO @file was provided OR the path doesn't end with .md, output this and STOP:

═══════════════════════════════════════════════════════════════
GEPETTO: Spec File Required
═══════════════════════════════════════════════════════════════

This skill requires a markdown spec file path (must end with .md).
The planning directory is inferred from the spec file's parent directory.

To start a NEW plan:
  1. Create a markdown spec file describing what you want to build
  2. It can be as detailed or as vague as you like
  3. Place it in a directory where gepetto can save planning files
  4. Run: /gepetto @path/to/your-spec.md

To RESUME an existing plan:
  1. Run: /gepetto @path/to/your-spec.md

Example: /gepetto @planning/my-feature-spec.md
═══════════════════════════════════════════════════════════════

Do not continue. Wait for user to re-invoke with a .md file path.

3. Setup Planning Session

Determine session state by checking existing files:

  1. Set planning_dir = parent directory of the spec file

  2. Set initial_file = the spec file path

  3. Scan for existing planning files:

    • claude-research.md
    • claude-interview.md
    • claude-spec.md
    • claude-plan.md
    • claude-integration-notes.md
    • claude-ralph-loop-prompt.md
    • claude-ralphy-prd.md
    • reviews/ directory
    • sections/ directory
  4. Determine mode and resume point:

Files Found Mode Resume From
None new Step 4
research only resume Step 6 (interview)
research + interview resume Step 8 (spec synthesis)
+ spec resume Step 9 (plan)
+ plan resume Step 10 (external review)
+ reviews resume Step 11 (integrate)
+ integration-notes resume Step 12 (user review)
+ sections/index.md resume Step 14 (write sections)
all sections complete resume Step 15 (execution files)
+ claude-ralph-loop-prompt.md + claude-ralphy-prd.md complete Done
  1. Create TODO list with TodoWrite based on current state

Print status:

Planning directory: {planning_dir}
Mode: {mode}

If resuming:

Resuming from step {N}
To start fresh, delete the planning directory files.

Logging Format

═══════════════════════════════════════════════════════════════
STEP {N}/17: {STEP_NAME}
═══════════════════════════════════════════════════════════════
{details}
Step {N} complete: {summary}
───────────────────────────────────────────────────────────────

Workflow

4. Research Decision

See research-protocol.md.

  1. Read the spec file
  2. Extract potential research topics (technologies, patterns, integrations)
  3. Ask user about codebase research needs
  4. Ask user about web research needs (present derived topics as multi-select)
  5. Record which research types to perform in step 5

5. Execute Research

See research-protocol.md.

Based on decisions from step 4, launch research subagents:

  • Codebase research: Task(subagent_type=Explore)
  • Web research: Task(subagent_type=Explore) with WebSearch

If both are needed, launch both Task tools in parallel (single message with multiple tool calls).

Important: Subagents return their findings - they do NOT write files directly. After collecting results from all subagents, combine them and write to <planning_dir>/claude-research.md.

Skip this step entirely if user chose no research in step 4.

6. Detailed Interview

See interview-protocol.md

Run in main context (AskUserQuestion requires it). The interview should be informed by:

  • The initial spec
  • Research findings (if any)

7. Save Interview Transcript

Write Q&A to `<planning_

FAQ

What file does it need?

It needs a markdown spec file, and it will not start without one.

Will it write many files?

Yes. The skill warns that it writes many markdown planning files to the planning directory.

Can I resume an earlier plan?

Yes. The skill has a way to resume an existing plan from its spec file.

Details

Original description by the author

Creates detailed, sectionized implementation plans through research, stakeholder interviews, and multi-LLM review. Use when planning features that need thorough pre-implementation analysis.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8562
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills