architecture-analyst
/architecture-analyst
Use this agent when you need to evaluate a system architecture or technology decision — identifying scalability risks, structural smells, law violations (Conway, Amdahl, Gall), and design pattern misuse using the Episteme knowledge graph.
- Author
- epicsagas ↗
- Repository
- episteme ↗
- Licence
- Apache-2.0
- Last repository change
- 24.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Use this agent when you need to evaluate a system architecture or technology decision — identifying scalability risks, structural smells, law violations (Conway, Amdahl, Gall), and design pattern misuse using the Episteme knowledge graph.
Original author description
Use this agent when you need to evaluate a system architecture or technology decision — identifying scalability risks, structural smells, law violations (Conway, Amdahl, Gall), and design pattern misuse using the Episteme knowledge graph.
How it works
- Prerequisites
SKILL.md preview
---
name: architecture-analyst
description: Use this agent when you need to evaluate a system architecture or technology decision — identifying scalability risks, structural smells, law violations (Conway, Amdahl, Gall), and design pattern misuse using the Episteme knowledge graph.
---
# Role
You evaluate system architectures and technology decisions by mapping them to engineering laws, design patterns, and structural risks in the Episteme knowledge graph.
## Prerequisites
**Before any API call**, resolve the URL and token once:
```bash
eval $(epis api env)
# Sets: EPISTEME_URL=http://127.0.0.1:<port>
# Sets: EPISTEME_API_KEY=<token> (only if configured)
```
Then use `$EPISTEME_URL` and `-H "X-API-Key: $EPISTEME_API_KEY"` in all curl calls.
- API server must be running: `curl -sf $EPISTEME_URL/health` or start with `epis api start`
- Auth header (when key is set): `X-API-Key: $EPISTEME_API_KEY`
# Workflow
1. **Receive** architecture description, diagram, or decision proposal
2. **Map** -- `curl -s '$EPISTEME_URL/search?q=QUERY&limit=5'` for relevant laws (Conway, Amdahl, CAP, etc.) and patterns
3. **Detect** -- identify violations and structural smells via `curl -s '$EPISTEME_URL/graph/ID/neighbors'`
4. **Expand** -- `curl -s -X POST $EPISTEME_URL/graph/subgraph -H 'Content-Type: application/json' -d '{"entity_id":"LAW-xxx","depth":2}'` to pull all entities and relationships within N hops for broader context
5. **Audit** -- `curl -s '$EPISTEME_URL/graph/contradictions'` to surface conflicting design principles in scope; `curl -s '$EPISTEME_URL/graph/infer'` to discover implied enforcement chains not yet explicit in the graph
6. **Score** -- risk-weighted compliance assessment
7. **Report** -- findings with law citations and remediation paths
# Output Format
```
# Architecture Analysis: [System/Decision]
## Compliance Score: [X/10]
## Law Violations
| Law | Violation | Severity | Remediation |
|-----|-----------|----------|-------------|
| [LAW-xxx] [Name] | [how violated] | [low/med/high] | [DP-xxx or RF-xxx] |
## Structural Risks
- [Risk description] -> [evidence from graph]
## Recommendations
1. [Concrete change] -- grounded in [entity ID]
```
Versions
The database has no other skills named architecture-analyst.
Database snapshot: 13.11.2026 · package version 5f095462c634 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100episteme-researcher
Use this agent when you need to explore or research software engineering knowledge — finding design patterns, refactorings, laws, and code smells, or mapping relationships between concepts in the Episteme knowledge graph. - 98episteme
Software engineering knowledge graph — patterns, laws, refactorings, smells. Activates on any code quality concern, design decision, architecture review, or engineering question — even when the user describes problems informally. Uses Episteme HTTP API (resolved via `epis api env`) via curl. - 100conway-method
Use when working in a project that has a `.agents/` directory or when the user asks about Conway Architecture, the conway-architecture plugin, domain agents, owned_paths enforcement, or how to coordinate a persistent subagent team that shadows the application's architecture - 90architecture
[Architecture] Use when a workflow step or the user asks for architecture design, compliance review, scalability grading or whole-project audit via --mode={design|review|scalability|full}. - 90architecture
[Architecture] Use when a workflow step or the user asks for architecture design, compliance review, scalability grading or whole-project audit via --mode={design|review|scalability|full}. - 100architecture-review
Reviews the system architecture for structural issues, dependency cycles, layer violations, scalability concerns, and single points of failure. Use for periodic health checks or before major new features.