architecture-fitness-functions

Solid

Use when architecture choices need executable guardrails: dependency rules, cycle checks, boundary tests, ownership review gates, ADR compliance, runtime/resilience checks, and CI fitness functions.

AI & Automation 8 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
32
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Architecture Fitness Functions Bundled commands use `$PLUGIN_ROOT` (`$env:PLUGIN_ROOT` in PowerShell; same path suffix) for the plugin root. Set it once: use the host's plugin-root variable when defined (Claude Code: `PLUGIN_ROOT="$CLAUDE_PLUGIN_ROOT"`), otherwise the absolute path of this plugin's root directory. Use when architecture quality should become observable, testable, or CI-enforced. ## Rule Shape Each rule needs: intent, scope, owner, signal, mechanism, pass condition, cadence, failure action, exception path, related ADR/principle, protected quality attribute, and tradeoff. Cadence: `local`, `pre-commit`, `ci`, `release`, `scheduled`, `production`. Rollout: `measure -> warn -> enforce` for legacy systems. ## Common Guardrails - Dependency direction: domain, UI, adapters, shared packages, and apps import only allowed layers. - Cycle prevention: package, namespace, module, service, or workspace cycles. - Boundary API: imports only through public entry points. - Data ownership: one bounded context owns writes for a table/topic/entity family. - Runtime coupling: sync calls, queues, cache, external APIs follow approved directions. - Observability/resilience: critical flows expose logs/metrics/traces/health checks and timeout/retry/fallback/idempotency policies. - Deployment safety: migration order, feature flags, rollback readiness, compatibility windows. - Documentation drift: architecture-changing code links ADRs, diagrams, ownership docs. - Ownership topol...

Details

Author
Xopoko
Repository
Xopoko/plug-n-skills
Created
1 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category