# Senior Architect (senior-architect)

> Supports architecture decisions and design reviews, with scripts for dependency analysis, project assessment and architecture diagrams.

- Category: [Architecture](https://www.myskills.tools/en/categories/architecture/)
- Source: Community · Alireza Rezvani
- Repository: https://github.com/alirezarezvani/claude-skills/tree/main/engineering-team/skills/senior-architect (commit b078bb8)
- SKILL.md: https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/senior-architect/SKILL.md
- Install command: `npx skills add alirezarezvani/claude-skills --skill senior-architect`
- License: MIT
- Compatible with: Claude Code, Codex, Cursor, Gemini CLI, Windsurf
- Permissions: read-repo ✓, write-files ✗, shell ✓, network ✗
- Status: Scan passed
- A rule scan cannot catch every risk. Read this skill's SKILL.md and check its permissions before installing.

## Core rule

Analyze the project's actual structure and dependencies with the scripts before recommending an architecture.

## Execution Phases

1. **Assess the project** — project_architect.py detects architectural patterns, code smells and improvement opportunities.
2. **Analyze dependencies** — dependency_analyzer.py checks the dependency tree, circular dependencies and outdated packages, with JSON output for CI.
3. **Decide** — Compare options against the architecture-pattern and tech-decision guides and record trade-offs in an ADR.
4. **Draw the diagram** — architecture_diagram_generator.py outputs Mermaid, PlantUML or ASCII diagrams.

## Permissions (summarised from SKILL.md)

| Capability | Needed | Details |
|---|---|---|
| File writes | Limited | Prints results by default; saves a diagram or report to a file only when -o is given. |
| Command execution | Limited | Runs the skill's three bundled Python scripts against the project directory. |
| Network outbound | Not required | The skill does not call for network access. |

## SKILL.md frontmatter (YAML)

```yaml
---
name: "senior-architect"
description: "Use for system architecture decisions (monolith vs microservices, database choice, scalability, ADRs, design reviews) or architecture diagrams. Analyzes dependencies with dependency_analyzer.py, assesses the project with project_architect.py and draws Mermaid or PlantUML with architecture_diagram_generator.py."
---
```

Home: https://www.myskills.tools/en/ · URL: https://www.myskills.tools/en/skills/senior-architect/
