mermaid-erd
Generate a Mermaid ERD from SQL schema files
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Generate a Mermaid ERD from SQL schema files
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Run two heterogeneous fresh-context Herdr reviewers against both code quality and a governing plan, then synthesize evidence-backed feedback. Use when the user asks for a dual or adversarial review, code-versus-plan verification, or independent Claude and Pi reviewers before deciding whether a PR needs changes.
Control herdr from Codex. Use when the user says "use Herder" or asks to inspect, focus, prompt, spawn, or manage herdr workspaces, tabs, panes, or agents from a Codex session, without deciding whether they are inside or outside herdr.
Use when the user explicitly asks Codex Desktop or another shell outside Herdr to create, inspect, prompt, follow up with, or monitor Herdr agent tabs, or when the `codex-herdr` router skill hands off external control.
Fan out a user-provided task list into one reviewed PR per task through Herdr, then shepherd the PR fleet through CI and review without merging. Use when the user asks to fan out PRs, parallelize backlog items into separate PRs, or autonomously drive multiple agent-owned PRs to green.
Inspect and import content into my self-hosted AutoCaliWeb library. Use for catalog status, search, recent imports, shelves, metadata, or importing an ebook, comic, PDF, or audiobook.
Correct-by-construction TypeScript standards. Use for TypeScript engineering or when another skill needs the user's coding standards.
| name | mermaid-erd |
| description | Generate a Mermaid ERD from SQL schema files |
| allowed-tools | Read, Glob, Grep, Bash(npx:*) |
Analyze SQL schema files and generate a Mermaid entity relationship diagram.
Arguments: Path to SQL file(s) or directory containing schema files (*.sql)
Steps:
Find and read all relevant SQL schema files
Parse each table definition extracting:
Generate a Mermaid erDiagram showing:
Validate diagram by running: npx -y @mermaid-js/mermaid-cli mmdc -i /dev/stdin -o /dev/null <<< '<diagram>'
Verify complete coverage:
Output format:
erDiagram
users {
int id PK
string email UK
string name
timestamp created_at
}
posts {
int id PK
int user_id FK
string title
text content
}
users ||--o{ posts : "has many"
Relationship notation:
||--|| one-to-one||--o{ one-to-manyo{--o{ many-to-many (via junction table)Notes: