Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Design und Kreativität · SKILL.md

architecture

architecture

Query and visualize the full project architecture. Use this during project onboarding, before code reviews, before adding new domains, or whenever you need to understand the tech stack. Responds to questions like "show me the overall structure", "list all APIs", "what's the tech stack", or "explain the domain structure". Triggers on /architecture.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill-Dokumentation

GitHub

name: architecture description: Query and visualize the full project architecture. Use this during project onboarding, before code reviews, before adding new domains, or whenever you need to understand the tech stack. Responds to questions like "show me the overall structure", "list all APIs", "what's the tech stack", or "explain the domain structure". Triggers on /architecture. version: 1.1.0 updated: 2026-02-11

Architecture Map

Query and visualize the full project architecture. Get a clear picture of domain structure, API catalog, layer layout, and tech stack at a glance.


Skill Triggers

  • /architecture — Full architecture overview
  • /architecture domains — Domain structure
  • /architecture api — API catalog
  • /architecture layers — Layer-by-layer structure
  • /architecture tech — Tech stack
  • /architecture <domain-name> — Specific domain detail
  • "show me the architecture"
  • "understand the overall structure"
  • "list all APIs"

Absolute Prohibitions

  1. Do not modify code — this skill is read/visualize only.
  2. Do not guess at structure — analyze based on the actual filesystem.
  3. Do not edit architecture documents directly — that is the responsibility of the architecture-updater.js hook.

Execution Steps

Receive /architecture [subcommand]
    |
    v
[1] Parse subcommand
    |
    v
[2] Check existing architecture documents (.claude/architecture/)
    |
    v
[3] Explore project structure
    |
    v
[4] Analyze by subcommand
    |
    +--> overview: full architecture overview
    +--> domains: domain structure
    +--> api: API endpoints
    +--> layers: layer structure
    +--> tech: tech stack
    +--> <domain-name>: domain detail
    |
    v
[5] Output visualization

Subcommands

SubcommandDescription
(none)Full architecture overview
domainsDomain structure + Mermaid diagram
apiAPI endpoint catalog
layersLayer-by-layer structure + violation detection
techAuto-detected tech stack
<domain-name>Detailed analysis of a specific domain

Domain Discovery Patterns

PatternExample
src/domains/<name>/src/domains/member/
domains/<name>/domains/order/
packages/<name>/packages/auth/
modules/<name>/modules/payment/

Layers vs. Domains:

  • Layers (not domains): api/, services/, models/, utils/
  • Domains (analysis targets): order/, member/, product/

Layer Identification Patterns

LayerDirectory Patterns
API/Routeapi/, routes/, controllers/
Serviceservices/, usecases/
Model/Entitymodels/, entities/
Schemaschemas/, dto/
Repositoryrepositories/, dao/
Infrastructureinfrastructure/, adapters/
Testtests/, __tests__/

Tech Stack Detection

CategoryDetection Source
LanguageFile extension distribution
FrameworkConfig files, import patterns
DatabaseConfig files, ORM imports
InfrastructureDocker, K8s config files
CI/CDWorkflow files
# Check config files
cat package.json pyproject.toml requirements.txt 2>/dev/null | head -30

# Infrastructure config
ls Dockerfile docker-compose*.yml .github/workflows/ 2>/dev/null

Data Source Priority

PrioritySource
1.claude/architecture/*.md (hook-generated documents)
2.claude/project-team.yaml (project config)
3Real-time filesystem scan

Hook Integration

AspectHook (architecture-updater.js)Skill (/architecture)
TriggerAuto-runs after Write/EditOn user request
ScopeIncremental, based on changed filesFull or per subcommand
OutputAuto-updates documentsInteractive visualization
PurposeDocument maintenanceArchitecture understanding

Related Skill Integration

SkillWhen to LinkPurpose
/depsAfter full analysisDeep dependency analysis
/impact <file>When a specific file is of interestChange impact scope
/changelog <domain>After domain detail viewChange history
/coverageAfter layer analysisTest coverage

Reference Documents

  • references/output-formats.md — Output format details
  • references/examples.md — Usage examples
Gespeicherte Skills