arch-refactor

Coordinate ADR drafting and phased implementation for kernel-pipeline-backend refactors.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/igij01/unified-kernel-framework-backend --skill arch-refactor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arch-refactor
Source: https://github.com/igij01/unified-kernel-framework-backend/tree/main/.claude/skills/arch-refactor
Command: npx skills add https://github.com/igij01/unified-kernel-framework-backend --skill arch-refactor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drives architectural refactors of kernel-pipeline-backend through paired ADRs and per-step sub-agent dispatch with hard gates between discussion, ADR, plan, and implementation. Use when the user types /arch-refactor, OR when the user proposes a major architectural change that should be documented by an ADR (signals: splitting a class along conceptual lines, introducing a Protocol or pluggable boundary, extracting an abstraction, language like refactor, extract, abstract, modularize, swap out, or mentioning an existing ADR that needs revision in step with code changes).

Core Features & Use Cases

  • Enforces phased workflow with explicit exit gates between Discussion, ADR, Plan, and Implementation.
  • Coordinates ADR drafting, planning, and staged implementation via sub-agents.
  • Supports paired ADRs when needed and ensures traceability across discussion, ADR, plan, and implementation.

Quick Start

Invoke this skill to begin a phased architectural split and draft the ADRs for kernel-pipeline-backend.

Frequently Asked Questions about arch-refactor

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

FAQPage Schema
How do I document an architectural refactor using ADRs?

Document an architectural refactor using ADRs by drafting Architecture Decision Records that capture structural changes to module boundaries and orchestration, ensuring traceability across discussion, planning, and implementation phases.

What is a phased workflow for software architecture refactoring?

A phased workflow for software architecture refactoring enforces hard exit gates between discussion, ADR drafting, planning, and implementation, coordinating sub-agents at each step to maintain structural integrity and documentation.

When do I need an Architecture Decision Record for a code modularization?

You need an Architecture Decision Record for a code modularization when major structural changes affect module boundaries, introduce pluggable protocols, or extract abstractions, requiring gated documentation and traceability.

How to plan structural changes that affect module boundaries and orchestration?

Plan structural changes affecting module boundaries and orchestration by enforcing a phased execution workflow with explicit gates, coordinating ADRs and sub-agent dispatch to guide discussion, ADR drafting, and implementation planning.

Can I use paired ADRs for splitting classes along conceptual lines?

Yes, you can use paired ADRs for splitting classes along conceptual lines to ensure traceability, coordinating documentation and phased implementation when introducing protocols or pluggable boundaries during the refactor.

What are the limitations of gated architectural refactoring workflows?

Gated architectural refactoring workflows require strict adherence to exit gates between discussion, ADR, plan, and implementation phases, which may introduce overhead for minor structural changes that do not affect module boundaries or extensibility.