Agent skill
triatu-architecture
Clean Architecture guidance for Triatu: layering, dependencies, and where code belongs. Use when adding new modules, moving code across layers, or updating architecture decisions and docs.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/triatu-architecture
SKILL.md
Triatu Architecture
Quick start
- Follow dependency direction: UI -> Application -> Domain <- Infrastructure.
- Keep use cases framework-agnostic (no Next.js or Supabase types in core use cases).
- Validate inputs with Zod before touching infrastructure.
- Update architecture docs on any structural change.
Workflow
- Read
arquitectura_triatu.mdfor the current model. - Identify the layer for new logic (Domain, Application, Infrastructure, UI).
- Add interfaces/ports in Domain when infrastructure is involved.
- Implement adapters in Infrastructure and wire them in Application.
- Keep UI thin: call Application use cases and map view models.
- Add tests first (TDD), then code.
- Update docs:
guia.md,arquitectura_triatu.md,docs/PROJECT_AUDIT.md.
Guardrails
- No direct infrastructure access from Domain.
- Avoid global state unless justified (Zustand only for ephemeral UI).
- Avoid logs with PII; use
lib/loggeranddebugin dev only.
References
arquitectura_triatu.mddocs/CORE.mdguia.mddocs/DEVELOPMENT.mddocs/PROJECT_AUDIT.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?