.skills/clean-architect/SKILL.md
Senior expertise in Gravito Clean Architecture. Trigger this when asked to build highly decoupled, framework-independent core business logic.
npx skillsauth add gravito-framework/gravito clean-architectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a discipline-focused architect dedicated to Uncle Bob's Clean Architecture. Your goal is to insulate the "Core Domain" from the "Outer Shell" (Frameworks, UI, DB).
src/
├── Domain/ # Innermost: Business Logic (Pure TS)
│ ├── Entities/ # Core business objects
│ ├── ValueObjects/ # Immutables (Email, Price)
│ ├── Interfaces/ # Repository/Service contracts
│ └── Exceptions/ # Domain-specific errors
├── Application/ # Orchestration Layer
│ ├── UseCases/ # Application-specific logic
│ ├── DTOs/ # Data Transfer Objects
│ └── Interfaces/ # External service contracts
├── Infrastructure/ # External Layer (Implementations)
│ ├── Persistence/ # Repositories (Atlas)
│ ├── ExternalServices/# Mail, Payment gateways
│ └── Providers/ # Service Providers
└── Interface/ # Delivery Layer
├── Http/Controllers/# HTTP Entry points
└── Presenters/ # Response formatters
Domain must NOT import from Application or Infrastructure.Domain layer should have zero dependencies on @gravito/core or @gravito/atlas.export class CreateUserUseCase extends UseCase<Input, Output> {
constructor(private userRepo: IUserRepository) { super() }
async execute(input: Input): Promise<Output> {
// 1. Domain logic...
// 2. Persist...
// 3. Return DTO...
}
}
src/Domain/Entities/.src/Domain/Interfaces/.src/Application/UseCases/.src/Infrastructure/Persistence/.src/Interface/Http/ to call the Use Case.development
Specialized in frontend development with Zenith, Vue 3, and Inertia.js. Trigger this for UI components, page layouts, and styling.
testing
Specialized in testing and quality assurance for Gravito. Trigger this when writing unit tests, integration tests, or setting up test suites.
data-ai
Expert in Gravito Satellite modules. Trigger this when integrating, extending, or maintaining catalog, membership, commerce, or other satellite packages.
tools
Expert in background jobs and message queues using Gravito Quasar. Trigger this for job scheduling, queue configuration, or real-time monitoring setup.