refactor-to-standards

Community

Refactor code to match project conventions.

Authorandrecini
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps teams quickly bring existing code into alignment with the project’s established engineering standards, reducing inconsistencies and improving maintainability without changing business logic.

Core Features & Use Cases

  • Standard-focused refactoring: Diagnoses deviations against project patterns such as constructors, mapping, result patterns, endpoint conventions, logging style, SOLID boundaries, DI registration, and safety checks.
  • Guardrailed changes: Enforces rules like no new artifacts, no business-logic changes, and no production test changes without explicit notice.
  • Staged or provided input: Refactors either user-supplied code files or files detected as modified in staging, with per-file control.
  • Keep/undo workflow: Applies refactors only after confirmation, offering an undo option per file to prevent unwanted edits.

Quick Start

Ask the agent to refactor the files you provide (or the staging changes) to follow the project standards with a file-by-file keep/undo confirmation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: refactor-to-standards
Download link: https://github.com/andrecini/dotnet-squad-copilot-agent/archive/main.zip#refactor-to-standards

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.