architecture-refiner
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
- Decoupling: Extract business logic into specialized
Actions. - Standardization: Align code with the
GRAVITO_AGENT_GUIDE.md. - 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.
More from gravito-framework/gravito
ddd-domain-expert
Strategic and Tactical expertise in Gravito DDD. Trigger this for complex domains requiring Bounded Contexts, Aggregates, and Event-Driven architecture.
64mvc-master
Deep expertise in the Gravito Enterprise MVC architecture (Laravel-inspired). Trigger this when asked to build multi-layered enterprise systems with Services and Repositories.
49clean-architect
Senior expertise in Gravito Clean Architecture. Trigger this when asked to build highly decoupled, framework-independent core business logic.
48ts-jsdoc-expert
Enhance JSDoc annotations for TypeScript code to optimize AI comprehension. Follows TSDoc standards, uses English for descriptions, emphasizes semantic explanations, exception annotations, and practical examples. Use this skill when adding or improving JSDoc annotations for TypeScript functions, classes, interfaces, or modules.
47satellites-pilot
Expert in Gravito Satellite modules. Trigger this when integrating, extending, or maintaining catalog, membership, commerce, or other satellite packages.
45cms-engine
Expert in Content Management Systems (CMS). Trigger this when building Blogs, Portals, or Media-heavy applications.
44