skills/architecture-onboarding/SKILL.md
Interactive concept map explorer for architecture documentation onboarding. Reads ARCHITECTURE.md, docs/, compliance-docs/, and adr/ to generate a canvas-based concept map playground with draggable nodes representing sections, components, principles, compliance contracts, and skills — connected by dependency, ownership, and workflow edges. Users cycle knowledge levels (Know/Fuzzy/Unknown) per node and generate targeted learning prompts. Use when onboarding a new team member, exploring the architecture suite, getting an architecture overview, or mapping what you know and don't know.
npx skillsauth add shadowx4fox/solutions-architect-skills architecture-onboardingInstall 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.
This skill is the entry point for new team members joining a project that uses the solutions-architect-skills documentation suite. It reads the project's existing architecture docs and generates an interactive concept map — a canvas-based, draggable node-and-edge visualization — that helps users explore:
adr/ existsUsers can cycle knowledge levels per node (Know / Fuzzy / Unknown) and copy a targeted learning prompt pre-shaped by their knowledge gaps.
Distinct from architecture-peer-review (which reviews quality) and architecture-compliance-review (which analyzes contract health) — this skill is for exploration and learning, not evaluation.
/skill architecture-onboardingDo NOT invoke for:
architecture-docs skillarchitecture-compliance skillarchitecture-peer-review skillarchitecture-compliance-review skillarchitecture-dev-handoff skill| File | Purpose |
|------|---------|
| SKILL.md | This file — entry point and workflow |
| PLAYGROUND_TEMPLATE.md | Concept map playground template for the interactive HTML explorer |
Search for ARCHITECTURE.md at the project root (and one level up if running from a subdirectory). If not found, abort with:
"No ARCHITECTURE.md found. Use
/skill architecture-docsto create one first, then run onboarding."
Detect structure type:
ARCHITECTURE.md is a navigation index + docs/ directory with section filesARCHITECTURE.md contains all contentFrom ARCHITECTURE.md:
<!-- ARCHITECTURE_TYPE: XXX --> comment. If not found, infer from content (look for "META", "BIAN", "Microservices", "3-Tier", "N-Layer" keywords). Default to "unknown".docs/ directory exists with numbered filesGlob for docs/NN-*.md files. Map each found file to its S-number using this fixed table:
| File | S-number | Tier |
|------|----------|------|
| docs/01-system-overview.md | S1+S2 | 0 (Foundation) |
| docs/02-architecture-principles.md | S3 | 0 (Foundation) |
| docs/03-architecture-layers.md | S4 | 1 |
| docs/04-data-flow-patterns.md | S6 | 3 |
| docs/05-integration-points.md | S7 | 3 |
| docs/06-technology-stack.md | S8 | 3 |
| docs/07-security-architecture.md | S9 | 4 |
| docs/08-scalability-and-performance.md | S10 | 4 |
| docs/09-operational-considerations.md | S11 | 5 |
| docs/components/ (directory) | S5 | 2 |
| adr/ (directory) | S12 | 0 (Foundation) |
For monolithic docs: use heading patterns to infer which sections are present.
Design drivers (if S1 present): Search docs/01-system-overview.md for ### Design Drivers heading. Extract Value Delivery, Scale, and Impacts levels — include in S1+S2 node detail.
All items in this step are optional — the skill works with just ARCHITECTURE.md.
Components (docs/components/README.md):
#, Component, File, Type)"present" if file exists, "not-created" otherwiseHandoffs (handoffs/ directory):
served-by edgesPO Spec (PRODUCT_OWNER_SPEC.md):
Use Cases (extracted from two sources in priority order):
docs/01-system-overview.md Section 2.3 "Primary Use Cases": Parse use case headings (### Use Case N: <Name>) and extract: name, description (first line after heading), actors, and success metrics.PRODUCT_OWNER_SPEC.md Section 4 "Use Cases": Parse ### Use Case N: <Name> headings with description, actors, primary flow steps, and success metrics.Use Case → Component mapping (from handoff docs):
handoffs/ exists: scan each handoff file for the "Business Context" field (typically line ~30). Extract use case references (e.g., "UC 1", "UC 2", "Use Case 1") and map them to component IDs.Assemble onboardingData JSON following the schema in PLAYGROUND_TEMPLATE.md.
Node construction rules:
uc-N, group: usecases). Include description, actors, and success metrics in the detail field.s1-s2, s3 … s12, group: sections). Present nodes fully opaque; missing nodes as ghost nodes with status: "missing".comp-<slug>, group: components, up to 15).knowledge fields to "fuzzy"Edge construction rules:
Section tier dependencies (always present):
Use case → section edges (traces-to):
Use case → component edges (served-by) — extracted from handoff docs:
{ from: "uc-N", to: "comp-<slug>", type: "served-by" } for each mappingComponent → S5 edges (implements) — one per component from component index
Invoke the playground skill using PLAYGROUND_TEMPLATE.md as the template. Pass the assembled onboardingData as the data to embed.
Output filename: architecture-onboarding-<YYYY-MM-DD>.html (use today's date)
After writing the file, run: open architecture-onboarding-<YYYY-MM-DD>.html
If the playground plugin is not installed, output a structured plain-text report:
# Architecture Onboarding: [PROJECT NAME]
Type: [ARCH TYPE] | Structure: [MULTI-FILE | MONOLITHIC]
## Lifecycle Pipeline
Phase 1 (Readiness): [COMPLETE | PENDING] — /skill architecture-readiness
Phase 2 (Documentation): [COMPLETE | PARTIAL | PENDING] — /skill architecture-docs
Phase 3 (Compliance): [COMPLETE | PARTIAL | PENDING] — /skill architecture-compliance
Phase 4 (Review): — /skill architecture-peer-review, /skill architecture-compliance-review
Phase 5 (Handoff): [COMPLETE | PARTIAL | PENDING] — /skill architecture-dev-handoff
## Architecture Sections Present
[S-number] [Name] — [File] (Tier [N])
...
## Components ([N] found)
...
## Compliance Contracts ([N]/10 valid)
...
## Available Skills
[name] — [one-line description]
...
## Start Here
[Recommended next skill based on what's missing]
| Skill | Phase | Relationship |
|-------|-------|-------------|
| architecture-readiness | 1 | Onboarding shows Phase 1 status; this skill creates the PO Spec |
| architecture-docs | 2 | Primary data source for the concept map; this skill creates ARCHITECTURE.md |
| architecture-compliance | 3 | Onboarding shows compliance slot status; this skill generates contracts |
| architecture-peer-review | 4 | Onboarding links to this for architecture quality review |
| architecture-compliance-review | 4 | Onboarding links to this for compliance gap deep-dive |
| architecture-dev-handoff | 5 | Onboarding shows handoff presence; this skill generates them |
| architecture-docs-export | 5 | Onboarding references this for Word deliverable export |
| architecture-component-guardian | Cross-cutting | Onboarding reads component index; this skill maintains it |
| architecture-blueprint | Cross-cutting | Onboarding references this for organizational blueprint forms |
| playground | Infrastructure | External plugin dependency: generates the interactive concept map HTML |
"Give me an architecture onboarding overview"
→ Reads project docs, generates concept map HTML, opens in browser
"I'm new to this project — show me the architecture"
→ Same as above
"Create a concept map of this architecture"
→ Same as above
"Explore the architecture"
→ Same as above
onboardingData JSON assembled with nodes, edges, groups, and presetsdevelopment
Run risk and design-characteristics analyses over ARCHITECTURE.md documentation. Produces date-stamped reports in analysis/ covering ten lenses across two groups: HIGH-priority runtime/security — SPOF (single points of failure), Blast Radius (downstream cascade impact), Bottleneck (throughput chokepoints), Cost Hotspots (Pareto cost concentration), STRIDE (per-trust-boundary security threats); Strategic/sustainability — Vendor Lock-in (portability risk and exit cost), Latency Budget (per-hop SLO decomposition), Tech Debt/EOL (currency and deprecated tech), Coupling (fan-in/fan-out and cycles), Data Sensitivity (PII flow and encryption gaps). Each analysis can be requested individually, as a group, or all ten run in parallel. A consolidated Security Posture option (analysis 12) merges the STRIDE and Data Sensitivity reports into a single reviewer-fillable validation checklist of every security control to validate (markdown-only; exportable to a Word worksheet via architecture-docs-export). Output: analysis/<TYPE>-<YYYY-MM-DD>.md (default) OR analysis/<TYPE>-<YYYY-MM-DD>.html (interactive d3.js report; format is selected at runtime — Step 2.4). Requires ARCHITECTURE.md to exist (created by architecture-docs skill). Do NOT invoke for compliance contracts (use architecture-compliance), peer quality review (use architecture-peer-review), or ADR management (use architecture-definition-record).
development
On-demand export of architecture documents to professional Word (.docx) files. Exports are never automatic — invoke explicitly when ready to produce deliverables. Solution Architecture mode synthesizes an Executive Summary from docs/01-system-overview.md, the component index, and the compliance manifest (if present), then exports individual ADR docs. Handoff mode exports selected component development handoffs from handoffs/. Compliance mode exports selected compliance contracts from compliance-docs/. Security Posture mode exports the consolidated security validation checklist (analysis/SECURITY-POSTURE-<date>.md, from architecture-analysis) as a reviewer-fillable worksheet. IMPORTANT — this skill ONLY produces Word .docx files. It does NOT handle releasing, publishing, tagging, freezing, bumping, or finalizing an architecture version. For the Draft → Released lifecycle (git tag architecture-v{version}, archive snapshot, semver bump), use the `architecture-docs` skill (Workflow 10) instead. Do NOT invoke this skill when the user says "release my architecture", "release architecture", "publish architecture", "ship architecture", "tag architecture version", "freeze architecture", "bump architecture version", or "finalize architecture" — those route to `architecture-docs`.
testing
Generate Compliance Contracts (Contratos de Adherencia) from ARCHITECTURE.md files
testing
Use this skill whenever the user mentions deferred work, known compromises, shortcuts taken, "we'll fix this later," temporary workarounds, missing controls, or any architectural trade-off that should be made visible and tracked. Also trigger when arc42 Section 11 (Risks and Technical Debt) is being authored or updated, when a TDR / Technical Debt Record is requested by name, or when an ADR documents a decision that intentionally accepts debt. Do NOT use for general bug reports, feature requests, or backlog items — TDRs are for architectural or systemic compromises, not ordinary defects.