skills/architecture/architecture-building-blocks/SKILL.md
Documents static decomposition: hierarchy and black-box/white-box view of building blocks. Use when defining structure for a new system; produces arc42 §5 content.
npx skillsauth add pkuppens/pkuppens architecture-building-blocksInstall 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 static structure: hierarchy, black-box and white-box views. Aligns with arc42 §5: building blocks, modules, components, packages.
docs/architecture/04-solution-strategy.md if present.src/, backend/, frontend/).Write or append to docs/architecture/05-building-blocks.md:
# Building Blocks (arc42 §5)
## Level 1: System
[Black-box: system responsibility, interfaces to external actors]
## Level 2: Top-level building blocks
| Block | Responsibility | Interface |
|-------|----------------|-----------|
| [Block A] | [role] | [API / events] |
| [Block B] | [role] | [API / events] |
## White-box: [Block A]
[Inner structure: sub-blocks or modules]
When documenting existing components (from architecture-document-existing scan), create docs/architecture/components/<name>.md with: Purpose & responsibilities; Public interfaces (API, events, signatures); Dependencies; Data (schemas, tables); Runtime interactions; Errors/retries; Tests; Observability; Links to abstractions and ADRs. Component = concrete implementation (e.g. WhisperService); abstraction = conceptual boundary (e.g. "Transcription Provider").
When documenting existing abstractions, create docs/architecture/abstractions/<name>.md with: Intent and scope; Contract (interfaces, invariants); Allowed implementations; Maturity state (Concrete/Abstract/Mixed/Missing/Proposed); Anti-corruption rules; Links to components. Prefer "protocol + vendor adapter" pattern.
testing
Syncs remote default branch locally (checkout, fetch --prune, pull) and returns to the previous branch when it still exists. Reports stashes and worktrees not yet handled. Use when the user asks to sync main, update default branch, fetch/pull origin, or run /sync-branch.
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.