All skills
architecture-enforcement-tooling
FoundationJIT onlyanalysis-agent/task-agent/review-agent: use when architecture rules need lint, dependency, type, or CI enforcement; skip when no enforcement decision is required.
- Group
- Architecture & design
- Supported roles
- MainAnalysisTaskReview
- Source
- SKILL.md
Use when
Trigger signals that make this skill the right owner
- architecture enforcement tooling, import boundary check, cycle detection, public private export, forbidden dependency lint, type strictness, dead code, complexity threshold, generated code exclusion, CI, ArchUnit, Dependency Cruiser, import linter, eslint boundaries, go vet, staticcheck
Do not use when
Anti-triggers — as binding as the triggers above
- no task-local architecture enforcement tooling decision is required
Required inputs
What must be supplied before this skill can decide anything
- current task contract
- selected primary Professional Skill
- task-local trigger evidence
Output contract
What this skill owes the next role
- Return an Architecture Enforcement Plan: list rules, tool and CI choices, failure examples, generated-code exceptions, migration, ownership, and residual gaps
Escalation signals
When this skill must hand the decision back
- Architecture rules that live only in documents drift because imports exports cycles and forbidden dependencies are not blocked by CI
Loaded by
This skill never owns a task. These professionals may pull it in as Layer 3.
Targeted references
Each reference carries its own load condition. None of them enter context by default.
| Reference | Load when | Do not load when | Required by |
|---|---|---|---|
| benchmarks-and-patterns.mdbenchmark-pattern | Multiple enforcement tools or ratchet strategies fit the rule. | Existing CI tooling already expresses the accepted rule. | AnalysisTaskReview |
| checklist.mddecision-checklist | Enforcement crosses exports, generated code, exceptions, or migration baselines. | One existing check covers the rule without exemptions. | AnalysisTaskReview |
| evidence-patterns.mdevidence-pattern | Enforcement claims depend on fresh graph, config, or CI results. | No enforceability or drift claim is being closed. | AnalysisTaskReview |