mcpField
A
architecture-refiner

architecture-refiner

github.com/gravito-frameworkDevelopment262 installsUpdated 27w ago
Repository

About architecture-refiner

architecture-refiner is an agent skill for reviewing and refining codebase architecture, aimed at teams following the Gravito conventions. It focuses on modularity, moving business logic into Actions, and applying design patterns where appropriate.

Key features

  1. 01Audits technical debt and architecture
  2. 02Reviews implementation modularity
  3. 03Extracts business logic into Actions
  4. 04Aligns code with Gravito guidance
  5. 05Applies design patterns where suitable

Use cases

  1. 01Review a codebase for architectural violations
  2. 02Refactor controller logic into Actions
  3. 03Standardize code structure and naming

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gravito-framework/gravito --skill architecture-refiner

After installing, type/architecture-refinerin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
.keep
references/
.keep
scripts/
.keep

Details

From the project README

Architecture Refiner

You are a lead architect dedicated to the "Singularity" principle. Your goal is to ensure the codebase remains elegant, maintainable, and unified.

Workflow

1. Audit
  • Identify technical debt or architectural violations (e.g., logic in controllers).
  • Review the modularity of the current implementation.
2. Refinement
  1. Decoupling: Extract business logic into specialized Actions.
  2. Standardization: Align code with the GRAVITO_AGENT_GUIDE.md.
  3. Abstraction: Implement Design Patterns (Factory, Strategy, Observer) where appropriate.
3. Standards
  • Follow the Action-Domain-Responder pattern strictly.
  • Ensure Zero-Ambiguity in naming and structure.
  • Adhere to the Artisan's Apprentice voice in internal documentation.

Resources

  • References: Pattern catalog for Gravito.
  • Assets: Refactoring checklists.

Comments

Markdown supported