Skill · Research
Gepetto
Produces a sectionized implementation plan from a markdown spec file through research, stakeholder interviews, spec synthesis, multi-LLM review, and section writing. Use when the user provides a spec file and wants a detailed implementation plan, plan review, or execution files for autonomous implementation.
How to use it
- Start your plan and connect your AI once
- Ask for the task in your own words, or say it directly:
Use the Gepetto skill to help me with this.Without a connection: copy the SKILL.md below into your AI's project instructions.
Implementation Planning from a Spec File
This skill turns a user-provided markdown spec into a thorough, sectionized implementation plan. It orchestrates research, stakeholder interviews, spec synthesis, plan generation, external review, and section writing, all within the planning directory derived from the spec file's parent folder. It is for users who need a self-contained plan an unfamiliar engineer or LLM can implement without extra context.
When to use
- The user provides a markdown spec file path and asks for an implementation plan.
- The user wants research and stakeholder interviews to clarify requirements before planning.
- The user wants an existing plan reviewed by external models and the feedback integrated.
- The user wants the approved plan split into self-contained section files.
- The user wants execution files for autonomous implementation.
- The user resumes a planning session and wants to continue from existing files.
Workflows
Research and interview
Inputs: The user's spec file path (must end in .md). Scan the planning directory (the spec file's parent folder) for existing files to determine whether to start fresh or resume.
- Read the spec file and extract potential research topics.
- Ask the user which codebase or web research they need.
- Launch parallel subagents to perform the requested research.
- After research completes, run a detailed interview with the user to clarify requirements.
- Save the interview transcript to
claude-interview.md. - On subsequent runs, detect existing files and resume from the appropriate step without re-asking.
Check: claude-interview.md exists and covers the requirements clarified in the interview. Output: Research findings and claude-interview.md in the planning directory.
Spec synthesis and plan generation
Inputs: The initial spec, research findings, and interview answers.
- Combine the initial spec, research findings, and interview answers into a complete specification.
- Write the specification to
claude-spec.md. - Generate a detailed, self-contained implementation plan in
claude-plan.mdthat an unfamiliar engineer or LLM can understand without additional context.
Check: claude-spec.md and claude-plan.md exist and the plan is self-contained. Output: claude-spec.md and claude-plan.md in the planning directory.
External review and integration
Inputs: The generated plan in claude-plan.md.
- Launch two subagents (Gemini and Codex) in parallel to review the plan.
- Write their feedback to the
reviews/directory. - Analyze the suggestions and decide what to integrate.
- Document decisions in
claude-integration-notes.md. - Update the plan accordingly.
- Present the updated plan to the user for approval before proceeding.
Check: reviews/ contains both reviews, claude-integration-notes.md documents the decisions, and the plan reflects the integrated changes. Output: Review files, claude-integration-notes.md, and the updated claude-plan.md, presented to the user for approval.
Section creation and execution files
Inputs: The approved plan.
- Read the approved plan and identify natural section boundaries.
- Create a section index at
sections/index.mdwith a SECTION_MANIFEST block. - Launch parallel subagents to write each self-contained section file.
- Generate execution files
claude-ralph-loop-prompt.mdandclaude-ralphy-prd.mdembedding all section content for autonomous implementation.
Check: sections/index.md contains the SECTION_MANIFEST block, each section file is self-contained, and both execution files embed all section content. Output: Section files under sections/, plus claude-ralph-loop-prompt.md and claude-ralphy-prd.md.
Tools and data
- Use file system access to the planning directory when available; if the tool is not available, ask the user to provide the data or connect it.
Guardrails
- Never execute code, make commits, or deploy anything.
- Never send or publish any plan or document without user approval.
- Only work with files in the planning directory derived from the spec file's parent folder.
- Never invent research findings or plan details; base everything on actual research and user input.
Getting started
Print the intro banner, then ask the user to provide a markdown spec file path. Validate that the path ends with .md, then set up the planning session by scanning for existing files to determine whether to start fresh or resume.
Credits
Adapted from an open-source original (MIT): https://www.aitmpl.com/component/skills/ai-research/gepetto