LaunchKit · 2026
Back to Skills

jarvis-refactor-planner-01

Plan low-risk refactors with seams, tests, and rollback points.

0
418 downloads
by @xammarie

Setup & Installation

openclaw skills install @xammarie/jarvis-refactor-planner-01

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install jarvis-refactor-planner-01

What This Skill Does

Structures development tasks into checkpoint-based plans with quality gates and rollback options. Takes a desired outcome, constraints, and available artifacts, then returns a ranked action plan with explicit risks and next steps. Best suited for refactors or changes where reversibility and evidence matter.

Forces explicit tradeoffs and a fallback plan upfront, reducing unplanned rollbacks compared to informal planning.

When to use it

  • Planning a database schema migration with rollback checkpoints
  • Refactoring legacy auth code before a scheduled deploy
  • Breaking messy notes into a risk-ordered implementation checklist
  • Scoping a feature rewrite under time and tooling constraints
  • Getting a fallback plan for a high-risk dependency upgrade

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Plan a refactor of our payment service before the end of the sprint

AGENT
  1. 1Identifies measurable success and failure criteria for the refactor
  2. 2Maps the smallest valid execution path given sprint constraints
  3. 3Defines checkpoints with required evidence at each step
  4. 4Applies quality gates: reversible changes, explicit assumptions, clear ownership and ETA
  5. 5Returns a ranked action plan with risks, mitigations, and exact commands
OUTPUT

A structured plan with today/this-week actions, ranked risks with mitigations, and a fallback if the primary approach fails