5d5eab70fe
docs/architecture/ created with README (boundary rule vs docs/adr + regeneration guide) and c4-context.md — a C4Context diagram of Лидерра: 2 actors, the system, 5 external systems (crm.bp-gr.ru, Unisender Go, Yandex 360, Sentry, JivoSite). Smoke #3 (mermaid-skill): discoverable, authored a valid C4Context block per references/c4.md. Smoke #4 (architecture-patterns): installed + enabled + discoverable (Skills(1), Hooks(0)). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
31 lines
1.3 KiB
Markdown
31 lines
1.3 KiB
Markdown
# docs/architecture — system diagrams and models
|
|
|
|
C4 and architecture diagrams for Лидерра, written as Mermaid source. Generated
|
|
and maintained with the `mermaid` skill (`.claude/skills/mermaid/`).
|
|
|
|
## Boundaries
|
|
|
|
- **`docs/architecture/`** (here) — *visual* models: C4 diagrams, system
|
|
context, container and component views. Not normative.
|
|
- **`docs/adr/`** — Architecture Decision Records: the *decisions* and their
|
|
rationale. An ADR may reference a diagram here.
|
|
- **`docs/Открытые_вопросы_v8_3.md`** — *open* product/business/legal questions.
|
|
|
|
See [ADR-000](../adr/ADR-000-adr-process.md) for the full boundary rule.
|
|
|
|
## Diagrams
|
|
|
|
| File | View | Mermaid type |
|
|
|---|---|---|
|
|
| [c4-context.md](c4-context.md) | System Context — Лидерра and its actors / external systems | `C4Context` |
|
|
|
|
## Regenerating
|
|
|
|
Mermaid blocks render natively on GitHub. To author or revise a diagram, invoke
|
|
the `mermaid` skill and describe the view; it reads the matching syntax
|
|
reference (`.claude/skills/mermaid/references/`) and emits a ` ```mermaid `
|
|
block. No local renderer (`mmdc`) is required.
|
|
|
|
For pattern guidance when shaping a new subsystem, the `architecture-patterns`
|
|
skill covers Clean / Hexagonal / layered architecture and Domain-Driven Design.
|