senior-architect
БесплатноЗапускает вложенные скриптыНе проверенMakes and records architecture decisions (pattern, database, monolith vs services) as ADRs, backed by coupling and diagram tools. Use when writing an ADR…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Senior Architect
Architecture design and analysis tools for making informed technical decisions: visualize system structure, analyze dependencies and coupling, detect architectural patterns, and run decision workflows for databases, patterns, and monolith-vs-microservices trade-offs.
Decision Workflow
The value of this skill is the decision and its record; the tools supply evidence.
- Frame the decision: one question (for example "split billing out of the monolith?"), the constraints (team size, deployment cadence, data consistency, budget) and who decides.
- Gather evidence from the code:
dependency_analyzer.pyfor coupling and cycles,project_architect.pyfor the current pattern and layer violations,architecture_diagram_generator.pyfor a current-state diagram. Low confidence orunknownlayers mean the structure does not follow naming conventions; read the code rather than trusting the label. - Run the matching workflow in references/decision_workflows.md: database selection, pattern selection, or monolith vs microservices. Write down at least two real options and the cost of each.
- Write the ADR (template in the same reference): context, options, decision, consequences, and the signal that would make you revisit it.
- Done when the ADR is accepted by the people who will own the result, and the evidence it cites can be regenerated by rerunning the tools.
Not this skill: cloud-provider service design (see engineering/aws-solution-architect, engineering/azure-cloud-architect, engineering/gcp-cloud-architect), choosing between frameworks or vendors (see engineering/tech-stack-evaluator), and backend implementation (see engineering/senior-backend).
Core Capabilities
- Diagram generation — produce component, layer, and deployment diagrams in Mermaid, PlantUML, or ASCII from a project directory.
- Dependency analysis — map the dependency tree, score coupling (0-100), and detect circular dependencies across npm, pip, Poetry, Go modules, and Cargo.
- Pattern detection — assess an existing codebase for layered/MVC/hexagonal/clean/microservices patterns, layer violations, god classes, and mixed concerns.
- Database selection — match data characteristics, scale, and consistency needs to SQL/NoSQL options with an ADR template.
- Pattern & topology selection — choose an architecture pattern by team size, deployment, and data-boundary requirements.
- Monolith vs microservices — apply decision checklists and a modular-monolith-first hybrid strategy.
When to Use
- Designing a new system or refactoring existing architecture.
- Evaluating microservices vs monolith, or choosing a database.
- Writing an ADR, planning for scalability, or reviewing a system design.
- Generating architecture diagrams for documentation or team review.
Clarify First
Before generating diagrams or an assessment, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Project root: the codebase directory to analyze (drives pattern detection, dependency scoring, and diagram contents).
- Diagram type & format: component / layer / deployment in Mermaid / PlantUML / ASCII (sets what the generator emits).
- Architecture decision in question: e.g. database choice or monolith vs microservices (selects the decision workflow and ADR).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Tools Overview
| Tool | Purpose | Command |
|---|---|---|
architecture_diagram_generator.py |
Component, layer or deployment diagrams (Mermaid, PlantUML, ASCII) from a project directory | python3 scripts/architecture_diagram_generator.py ./project --format mermaid --type component |
dependency_analyzer.py |
Coupling score (0-100) and circular dependencies across npm, pip, Poetry, Go modules and Cargo | python3 scripts/dependency_analyzer.py ./project --output json --check circular |
project_architect.py |
Pattern detection, layer violations and code smells, with a confidence score | python3 scripts/project_architect.py ./project --check layers --verbose |
Exit codes: 0 report (or check passed); 1 a --check gate failed (cycles found, coupling above 70); 2 missing or unreadable project path. --output json applies to the --check gates too. Detection is name-based: folders called services/ or domain/ are read as layers, so treat a low confidence score as "no clear pattern", not as a finding.
Quick Start
# from engineering/senior-architect/ (a small layered Python app with one deliberate back-reference)
python3 scripts/project_architect.py assets/sample_layered_app # Layered, 55% confidence
python3 scripts/dependency_analyzer.py
Установить senior-architect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл senior-architect?
Makes and records architecture decisions (pattern, database, monolith vs services) as ADRs, backed by coupling and diagram tools. Use when writing an ADR, choosing an architecture or database, or reviewing system structure.
Как установить скилл senior-architect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл senior-architect запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic