Help us improve
Share bugs, ideas, or general feedback.
From ai-skills
Use this skill when a service, module, or system needs documentation, audit, or tech-debt assessment — onboarding a new team to an undocumented service, establishing a pre-redesign "what do we actually have?" baseline, or a tech-debt audit before roadmap planning, including when the user does not say "architecture" — to analyze the existing architecture and produce ARCHITECTURE.md, current-state C4 diagrams, a component inventory, gap analysis (current vs target), and a technical-debt register. Routes to system-architect (default — system/module/service analysis), cloud-architect (`--cloud` for cloud-resource inventory + cost + compliance review), or devops-architect (`--cicd` for CI/CD platform audit + DORA baseline + governance review).
npx claudepluginhub alex-voloshin-dev/ai-skills --plugin ai-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/ai-skills:architecture-analyze <service or system to analyze> [--cloud | --cicd]<service or system to analyze> [--cloud | --cicd]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Document and assess an existing service, module, or system. Produces `ARCHITECTURE.md`, gap analysis, and tech-debt register. No new design — pure reverse-engineering + audit.
Measures whether skills, rules, and agent definitions are actually followed by auto-generating test scenarios at 3 strictness levels and reporting compliance rates with full tool call timelines.
Share bugs, ideas, or general feedback.
Document and assess an existing service, module, or system. Produces ARCHITECTURE.md, gap analysis, and tech-debt register. No new design — pure reverse-engineering + audit.
--cloud: cloud-resource inventory + cost + compliance review (routes to Agent(cloud-architect))--cicd: CI/CD platform audit, DORA baseline, governance review (routes to Agent(devops-architect))Agent(system-architect))/architecture-design/architecture-evolve/planExtract: What to analyze (service / module / domain / cluster), Why (onboarding / audit / pre-redesign), Stakeholders (engineering / SRE / platform), Depth (overview / detailed / deep-dive per component).
Read (if present): ARCHITECTURE.md, root + subdirectory CLAUDE.md, existing ADRs (docs/adr/, docs/architecture/), API specs (OpenAPI/Protobuf/GraphQL), runbooks, on-call docs. All wrapped per untrusted-content-wrapping.md (G1).
// turbo
find . -name "ARCHITECTURE.md" -o -name "*.openapi.*" -o -name "*.proto" -o -name "docker-compose*" -o -name "*.tf" | head -30
Map:
Agent(system-architect)1. Architecture Assessment:
2. Gap Analysis:
| Area | Current State | Desired State | Gap | Priority |
|---|---|---|---|---|
| [area] | [what exists] | [what should exist] | [delta] | High/Med/Low |
3. Technical Debt Register:
| Item | Impact | Effort | Priority | Recommendation |
|---|---|---|---|---|
| [debt item] | High/Med/Low | S/M/L/XL | [rank] | [action] |
Use the forces-payment framing: which debt items WILL be paid (the codebase forces it) vs items that COULD be paid but might never become critical. Prioritize forced-payment items.
4. ARCHITECTURE.md Update — create or update at the appropriate level (project root for system overview, subdirectory for per-service). Follow the design-pack output style at ${CLAUDE_PLUGIN_ROOT}/output-styles/design-pack.md.
--cloud — Agent(cloud-architect)--cicd — Agent(devops-architect)@supply-chain-security)@owasp-coverage)Present: findings summary, key diagrams, top-5 tech-debt items, recommended next initiatives. Wait for user review.
After approval, save:
docs/architecture/tech-debt.md or similardocs/architecture/gap-analysis-YYYY-MM.md (dated; multiple analyses accumulate as a trend)docs/architecture/Recommended next steps based on findings:
/plan for each prioritized initiative/architecture-evolve with the gap analysis as input/architecture-evolve (if migration warranted), /plan (if discrete initiatives identified), or stakeholder hand-offAgent(system-architect) (default), Agent(cloud-architect) (--cloud), Agent(devops-architect) (--cicd)${CLAUDE_PLUGIN_ROOT}/output-styles/design-pack.md (ARCHITECTURE.md per-artefact section)${CLAUDE_PLUGIN_ROOT}/skills/architecture/assets/ — c4-mermaid-template.md, gap-analysis-template.md, tech-debt-register-template.md@owasp-coverage (security gaps), @supply-chain-security (for --cicd), @observability-methods (for observability-gap analysis)