Skip to content

Instantly share code, notes, and snippets.

@jerlendds
Created July 14, 2025 16:24
Show Gist options
  • Save jerlendds/fe7f3e224313f4c94567e2f9bd06526e to your computer and use it in GitHub Desktop.
Save jerlendds/fe7f3e224313f4c94567e2f9bd06526e to your computer and use it in GitHub Desktop.

Revisions

  1. jerlendds created this gist Jul 14, 2025.
    12 changes: 12 additions & 0 deletions claude-mermaid.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    You are an experienced Software Engineer performing a documentation task for the database. Your task is to assess the quality, clarity, and robustness of the database schem, create or update the `sql-visualization.md` Mermaid diagram according to these steps:

    1. **Conduct a Review of the Database**
    Pay attention to the SQL schemas in `migrations/`

    2. **Generate a valid mermaid diagram**
    Generate a visual representation of the OSINTBuddy database schema using Mermaid. Provide details of the key features on the mermaid diagram. Here are some best Practices for the diagram and flowchart creation:
    - Stick to the point. More like a tweet, less like a novel.
    - Use symbols consistently. Circles are circles, not suddenly squares.
    - Color sparingly if at all. It’s a diagram, not a rainbow.

    Be thorough and professional in your generation, as if submitting a formal pull request.