request-refactor-plan

Decompose structural refactors into smallest commits that keep the codebase green.

5|2|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/OutlineDriven/odin-gemini-cli-extension --skill request-refactor-plan-outlinedriven
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: request-refactor-plan
Source: https://github.com/OutlineDriven/odin-gemini-cli-extension/tree/main/skills/request-refactor-plan
Command: npx skills add https://github.com/OutlineDriven/odin-gemini-cli-extension --skill request-refactor-plan-outlinedriven

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Adversarial interview to break a refactor into the smallest commits that each leave the codebase green.

Core Features & Use Cases

  • Guided adversarial interview workflow to decompose structural refactors into tiny, verifiable commits.
  • Provides a concrete plan template and checkpoint criteria to ensure each commit keeps the tree green.
  • Optional process for mirroring outcomes to issue trackers and maintaining traceability.

Quick Start

Initiate an adversarial interview to draft a minimal-commit plan for a structural refactor.

Frequently Asked Questions about request-refactor-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a structural refactor to keep the codebase green?

Plan a refactor by decomposing structural changes into the smallest commits that keep the codebase green. This approach uses an adversarial interview to verify each step maintains passing tests before proceeding.

What is an adversarial interview for code refactoring?

An adversarial interview for code refactoring is a guided workflow that challenges your plan to break changes into tiny, verifiable commits. It ensures each commit leaves the tree green by applying strict checkpoint criteria.

How do I break a large rename or extract operation into minimal commits?

Break down structural changes like rename, extract, move, split, or dedupe by following a concrete plan template. This template guides you through checkpoint criteria to isolate each operation into a minimal, green commit.

Can I mirror my refactor plan to GitHub issues for traceability?

Yes, you can mirror refactor outcomes to issue trackers for traceability. The process includes an optional feature to emit GitHub issues directly from the finalized commit plan.

Does this refactoring approach work without existing test coverage?

This refactoring approach requires keeping the codebase green at each commit, which inherently depends on existing test coverage. Without green tests, the checkpoint criteria cannot verify that each minimal commit leaves the tree in a valid state.