Request refactor plan

From redpanda-data/ui-harness · View interactive version

Request refactor plan is an AI agent skill from the GitHub repository redpanda-data/ui-harness. DEPRECATED. Prefer `/improve-codebase-architecture` for refactor discovery, then `/to-issues` for tickets. Do not use unless user explicitly says `/request-refactor-plan`.

How to use this skill

Skill file

Deprecated: prefer replacement named in description. Keep only for backward compatibility.

Request Refactor Plan

Process

1. Understand

Ask problem + solution ideas. What wrong? What "better" mean?

2. Verify

Agent(subagent_type=Explore) verify claims vs codebase. Check real state.

3. Alternatives

Ask other approaches + trade-offs.

4. Drill Into Details

Scope, interface contracts (before/after), data migrations, backcompat, incremental path.

5. Test Coverage

Assess coverage. Insufficient -> ask test plan first.

6. Tiny Commits

Each step: deployable alone, tests green, one change.

7. GitHub Issue

gh issue create:

## Problem Statement

What wrong and why.

## Solution

Chosen approach and rationale.

## Commits

1. [description] -- what changes, tests green

2. [description] -- what changes, tests green

## Decisions

Key decisions + rationale from interview.

## Testing

New tests needed, existing tests changed.

## Out of Scope

What NOT touched.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.