refactoring-workflow

Verify brainbase 3-Phase Refactoring compliance across Infrastructure, Client, and Server layers.

9|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/Unson-LLC/brainbase --skill refactoring-workflow-unson-llc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactoring-workflow
Source: https://github.com/Unson-LLC/brainbase/tree/main/.claude/skills/refactoring-workflow
Command: npx skills add https://github.com/Unson-LLC/brainbase --skill refactoring-workflow-unson-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

brainbaseの3-Phase Refactoring戦略への準拠をチェック。既存機能を壊さずに段階的に移行する5ステップを自動化。

Core Features & Use Cases

  • Phase1 Phase-checkとPhase2の5ステップを自動検証し、実装・テスト・互換性・段階的移行・旧コード削除の順序を保証する拡張性のあるワークフロー。
  • CLAUDE.mdとdocs/REFACTORING_PLAN.mdを参照して、標準に沿ったリファクタリング計画を適用する。

Quick Start

このスキルをブランチ上で実行し、ワークフローを走らせて現在のコードベースの適合性を評価する。

Frequently Asked Questions about refactoring-workflow

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

FAQPage Schema
How do I automate refactoring checks for safe code migration?

Automated refactoring checks enforce a 3-Phase compliance strategy to ensure safe code migration. The workflow validates the 5-step execution order across Infrastructure, Client, and Server layers, guaranteeing new pattern implementation, test additions, compatibility checks, staged migration, and old code removal.

What is the 3-Phase Refactoring workflow for legacy code removal?

The 3-Phase Refactoring workflow is a staged migration strategy that safely removes legacy code by enforcing a strict 5-step execution order. It validates pattern implementation, test additions, compatibility checks, staged migration, and old code removal across Infrastructure, Client, and Server layers for auditable outcomes.

How do I enforce a specific refactoring plan order using CLAUDE.md?

You can enforce a refactoring plan order by reading and applying rules from CLAUDE.md and docs/REFACTORING_PLAN.md. The workflow integrates with phase checkers under the agents/ directory to deterministically verify that your codebase follows the standard 5-step execution sequence.

Does the automated refactoring workflow support both client and server layers?

Yes, the automated refactoring workflow applies across Infrastructure, Client, and Server layers. It enforces phase order and the 5-step execution sequence to ensure compatibility checks and staged migration are validated deterministically across all three architectural layers.

Why does my staged migration fail the phase check?

Staged migration fails the phase check when the 5-step execution order is violated. The workflow enforces sequential compliance for new pattern implementation, test additions, compatibility checks, staged migration, and old code removal to guarantee safe migrations without breaking existing functionality.