Skip to content

mgiovani/ai-arsenal / skills/docs-diagram

docs-diagram

Verified

Generate a Mermaid diagram (ER, architecture, deployment, or security) by reading the actual codebase and writing it to docs/. Use for requests like "draw an ER diagram of these tables", "show me the architecture", "diagram the deployment setup", "visualize the security data flow", or "generate a system diagram". Not for scaffolding a new docs directory structure (use docs-init), syncing existing prose docs with code changes (use docs-update), or recording a design decision's rationale (use docs-adr), this skill only produces diagrams generated from code.

assets/templates/data-model.md

View on GitHub
# {{PROJECT_NAME}} - Data Model

**Last Updated:** {{DATE}}

## Overview

{{OVERVIEW}}

[One paragraph: what domain this data model covers and how the entities relate.]

## Entity Relationship Diagram

```mermaid
erDiagram
{{ER_DIAGRAM_CONTENT}}
```

## Entities

### {{ENTITY_1}}

{{ENTITY_1_DESCRIPTION}}

| Column | Type | Constraints |
|--------|------|-------------|
| {{ENTITY_1_ATTR_1}} | {{TYPE_1}} | {{CONSTRAINTS_1}} |
| {{ENTITY_1_ATTR_2}} | {{TYPE_2}} | {{CONSTRAINTS_2}} |

**Relationships:** {{RELATIONSHIP_1}}

### {{ENTITY_2}}

{{ENTITY_2_DESCRIPTION}}

| Column | Type | Constraints |
|--------|------|-------------|
| {{ENTITY_2_ATTR_1}} | {{TYPE_1}} | {{CONSTRAINTS_1}} |
| {{ENTITY_2_ATTR_2}} | {{TYPE_2}} | {{CONSTRAINTS_2}} |

**Relationships:** {{RELATIONSHIP_2}}

---

*Generated from ORM models. Regenerate with docs-diagram after schema changes.*
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall