Automated architecture governance fitness function evaluator
Agent-agnostic software architecture guardrails skills collection
npx -y skills add anyulled/architecture-guardrails-skills --skill automated-architecture-governance-fitness-function-evaluatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Evaluate codebases against architectural fitness functions, governance files, and dependency rules to prevent architectural drift. Use when enforcing layering, cyclic dependency, or static metric thresholds in CI/CD or pre-commit checks.
SKILL.md
3.1 KB, 530 tokens by cl100k_base, as published. Nobody here has run it
Automated Architecture Governance (Fitness Function Evaluator)
Evaluate structural rules and quantitative thresholds defined by architecture governance.
When to Use
- CI/CD architectural gates
- Nightly governance checks
- Pre-commit architecture checks
- Audits of layering, cycles, or metric thresholds
Scope
- Scans: explicit governance files, architecture tests, dependency graphs, and structural metrics such as cycles or layer violations.
- Exclusions: documentation-only updates, style-only changes, and runtime issues without a static architectural rule to evaluate.
- Fallback: if the repository lacks explicit rules, use the shared conventions fallback and report warning rather than fail.
- Routing: defer documentation freshness to Decision Log and ADR Tracer or Automated Software Guidebook Generator, and module-level coupling to Structural Coupling and Volatility Analyzer.
Workflow
- Parse fitness functions.
- Read governance files, architecture rules, and architecture-focused test suites.
- Also inspect CI includes and validation jobs for executable governance that is not stored in a dedicated rules file.
- Extract explicit thresholds and dependency rules.
- Verify structure.
- Detect forbidden cross-layer dependencies.
- Detect cycles across packages, modules, or bounded contexts.
- Evaluate metrics.
- Check complexity, file size, and similar static thresholds.
- Flag modules that exceed defined limits.
- Report findings.
- List failed fitness functions.
- Include file paths, classes, and lines.
- Distinguish between:
- explicit architecture fitness functions that can fail the build
- general CI governance that validates contracts, lint, or security
- missing architecture rules, which should warn rather than fail if governance exists elsewhere
- Provide CI-ready failure output and exit-code guidance.
Rules
- Use static analysis, configuration files, and AST parsing only.
- Keep the analysis deterministic and language-agnostic where possible.
- Prefer explicit governance definitions over inferred conventions.
- Treat the absence of a dedicated architecture rules file as a warning if other executable governance exists in CI.
- Treat explicit violations of declared architecture fitness functions as fails.
Shared Conventions
- Follow the repository-wide conventions in shared-skill-conventions.
- Use the canonical output contract, severity levels, confidence rubric, routing rules, and false-positive downgrades defined there.
- If this skill is not the closest match, defer to the routing guidance in the shared conventions file.
Output
Return:
- Failed fitness functions
- Structural dependency violations
- Metric threshold breaches
- CI-ready pass or fail output
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.