skills/architecture/architecture-crosscutting/SKILL.md
Documents crosscutting concepts: dependency rules, layering, and architecture tests. Use when enforcing constraints or detecting architecture drift; produces arc42 §8 content.
npx skillsauth add pkuppens/pkuppens architecture-crosscuttingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Documents and enforces architectural constraints: dependency rules, layer boundaries, and architecture test proposals. Aligns with arc42 §8 (crosscutting concepts).
Scan for: import/dependency patterns, layer violations (e.g. API calling DB directly), abstraction violations, circular dependencies, forbidden dependencies.
Adds section to:
docs/architecture/02-quality-attributes.md — "Architecture Rules"docs/architecture/00-system-architecture.md## Architecture Rules
### Allowed Dependencies
- ✅ API → Service → Repository → Database
- ✅ Service → Abstraction (interface)
- ✅ Frontend → API (via client abstraction)
### Forbidden Dependencies
- ❌ API → Repository (must go through Service)
- ❌ Service → Concrete (must use abstraction)
- ❌ Domain → Infrastructure
Define layers and rules:
Propose verification (Python: import-linter, AST, pytest; TypeScript: madge, dependency-cruiser). Example:
def test_api_does_not_import_repositories():
"""API routes must not directly import repositories."""
violations = check_imports(api_modules, repo_modules)
assert len(violations) == 0
tools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.
tools
Orchestrates Azure DevOps work item, repo, and pipeline workflows using az CLI. Use when working with Azure DevOps, Azure Repos, Azure Boards, Azure Pipelines, or az devops commands.