Skip to content
Skills Library
Programming · Review & audit

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.

Repository
episteme ↗
Licence
Apache-2.0
Last repository change
24.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

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

  1. Prerequisites
Original SKILL.md headings · 47 lines, 251 words
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

: harmful content, incorrect descriptions or an author’s removal request.

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.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.