request-refactor-plan

Originally frommattpocock/skills
Installation
SKILL.md

This skill will be invoked when the user wants to create a refactor request. You should go through the steps below. You may skip steps if you don't consider them necessary.

  1. Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions. The user may also provide links to Linear issues, Figma designs, or Notion documents.

  2. Gather external context. If the user provided references to external tools, use the available MCP tools to pull in context:

    • Linear: The user may provide a ticket code (e.g., EO-1234) or a URL. Fetch issue details, comments, and project context to understand the motivation, constraints, and prior discussion around the refactor.
    • Figma: The user may provide a Figma URL. Fetch design context if the refactor involves UI changes, to understand the target design.
    • Notion: The user may provide a page title or a URL. Search Notion by title if no URL is given. Fetch documents for architectural decision records, tech debt inventories, or related specs.

    Use this context to inform your understanding of the refactor scope. If no external references are provided, skip this step.

  3. Explore the repo to verify their assertions and understand the current state of the codebase.

  4. Ask whether they have considered other options, and present other options to them.

  5. Interview the user about the implementation. Be extremely detailed and thorough. Refer back to any external context gathered in step 2 to avoid re-asking questions already answered in external sources.

  6. Hammer out the exact scope of the implementation. Work out what you plan to change and what you plan not to change.

Related skills

More from evans-sam/skills

Installs
13
First Seen
Mar 17, 2026