skill-cd-ci-ddd-score-validation
Installation
SKILL.md
1. Purpose
Audit any codebase to verify that Clean Architecture / DDD layer ordering is respected:
Domain <- Application <- UseCases <- Infrastructure
Domain <- Application <- Interface
The agent (LLM) is the primary auditor. Companion shell scripts in tools/ extract raw data (file lists, imports, dependency graph). The agent interprets this data, applies subjective criteria, computes a score, and writes the final YAML report.
2. When to Use
- New project onboarding: assess architecture health.
- Pre-refactoring: identify violations before restructuring.
- CI/CD gate: generate a score report on every PR.
- Code review: validate that changes respect layer boundaries.
3. Workflow (7 Steps)
Related skills