# dontriskit/awesome-ai-system-prompts architecture

> Architecture diagram of the GitHub repository dontriskit/awesome-ai-system-prompts, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dontriskit/awesome-ai-system-prompts
- Repository: https://github.com/dontriskit/awesome-ai-system-prompts

## Overview

##### Project type and purpose
- This repository is not a runnable application but an **open-source knowledge/reference library** of “agentic AI system prompts.”
- Its purpose is to collect, categorize, and analyze real-world system prompts (in Markdown, TypeScript, Python, etc.) and surface best-practice patterns for builders.

##### File structure
- Top-level directories (Augment, Blackbox.ai, Bolt.new, ChatGPT, Claude-Code, etc.) each contain one system’s prompt examples and any helper scripts or schemas.
- Root files: a global README.md (the overarching guide), LICENSE, older readmes.
- No src/ or build/ directories—content is purely Markdown/text, with some .ts/.js extraction or prompt-definition scripts.

##### README for additional insights
- The README is the **central driver**, containing the guide outline (principles, case studies, best practices).
- Each case study in the README corresponds 1:1 with a directory.

##### Main components
a. Content Layer
- **Global Guide** (root README.md) that aggregates and analyzes all modules.
b. Build & Deployment Layer (even if ad-hoc)
- **Static Site Generator** (e.g., Docusaurus, Hugo, or GitHub Pages) that transforms Markdown into HTML/CSS.
- **CI/CD Pipeline** (e.g., GitHub Actions) that triggers on push, runs linting/spell-check, then builds and deploys the site.
c. Hosting & Delivery
- **Web Host** (GitHub Pages, Vercel, Netlify) serving the generated site to end users.
d. External Services (optional)
- **Search Index** (Algolia or Lunr) for full-text search across prompts.
- **Analytics** (Google Analytics) to track guide usage.

##### Relationships & interactions
- **Authors** commit content (Markdown, scripts) → **Version Control** (GitHub)
- On merge, **CI/CD** → invokes **Static Site Generator** → outputs a website artifact
- **Hosting Service** serves site to **End Users** (developers, AI builders)
- **Analytics** embedded in pages collect usage data for maintainers

##### Architectural patterns/design principles
- **Separation of Concerns**: content (Markdown) is decoupled from presentation (static site).
- **Modular Content**: each case study lives in its own directory—easy to add/remove examples.
- **“Documentation-as-Code”**: treat docs with the same pipelines, linting, versioning, and tests as code.
- **Automated Publish**: CI/CD ensures consistency and freshness.

##### Relevant technologies/frameworks
- Markdown, YAML (front-matter, if used)
- Static Site Generator (e.g., Docusaurus, Hugo, Jekyll)
- GitHub Actions for build & deploy
- Hosting: GitHub Pages / Vercel / Netlify
- Optional: Algolia/Lunr for search, Google Analytics

##### Be detailed but focused
- Prompt directories as leaf-nodes under “Content Modules.”
- Explicitly show the root README as the aggregator/analysis hub.
- This separation highlights how new modules (case studies) plug into the system and get published automatically.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Content Layer
    subgraph "Content Layer"
        direction TB
        GlobalGuide["Global Guide (README.md)"]:::content
        LegacyGuide["Legacy Guide (readme_old.md)"]:::content
        LicenseFile["License (LICENSE)"]:::content
        Augment["Augment Module"]:::content
        Blackbox["Blackbox.ai Module"]:::content
        BoltNew["Bolt.new Module"]:::content
        ChatGPTMod["ChatGPT Module"]:::content
        ClaudeCode["Claude-Code Module"]:::content
        Claude["Claude Module"]:::content
        Cline["Cline Module"]:::content
        Devin["Devin Module"]:::content
        Grok["Grok Module"]:::content
        Loveable["Loveable Module"]:::content
        Manus["Manus Module"]:::content
        MetaWhats["MetaAI-Whatsapp Module"]:::content
        Replit["Replit Module"]:::content
        Notion["notion Module"]:::content
        Notte["notte Module"]:::content
        Perplex["perplexity.ai Module"]:::content
        SameNew["same.new Module"]:::content
        V0["v0 Module"]:::content
        Windsurf["windsurf Module"]:::content
    end

    %% Build & Deploy
    subgraph "Build & Deploy"
        direction TB
        CI["CI/CD Pipeline"]:::process
        SSG["Static Site Generator"]:::process
    end

    %% Hosting & Delivery
    subgraph "Hosting & Delivery"
        direction TB
        Host["Hosting Service"]:::host
        EndUser["End Users"]:::host
    end

    %% External Services
    subgraph "External Services"
        direction TB
        Search["Search Index"]:::external
        Analytics["Analytics"]:::external
    end

    %% Actors & Version Control
    Authors["Authors"]:::external
    GitHub["Version Control (GitHub)"]:::external

    %% Relationships
    Authors -->|"commit content"| GitHub
    GitHub -->|"on merge"| CI
    CI -->|"run build"| SSG
    SSG -->|"generate site"| Host
    Host -->|"serves site"| EndUser
    SSG -->|"populate index"| Search
    SSG -->|"embed analytics"| Analytics
    EndUser -->|"search queries"| Search
    EndUser -->|"usage data"| Analytics

    %% Click Events
    click GlobalGuide "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/README.md"
    click LegacyGuide "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/readme_old.md"
    click LicenseFile "https://github.com/dontriskit/awesome-ai-system-prompts/tree/main/LICENSE"
    click Augment "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Augment/README.md"
    click Blackbox "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Blackbox.ai/README.md"
    click BoltNew "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Bolt.new/prompts.ts"
    click ChatGPTMod "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/ChatGPT/4-5.md"
    click ClaudeCode "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Claude-Code/README.md"
    click Claude "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Claude/Claude-Sonnet-3.7.txt"
    click Cline "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Cline/system.ts"
    click Devin "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Devin/system.md"
    click Grok "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Grok/Grok2.md"
    click Loveable "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Loveable/Loveable.md"
    click Manus "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Manus/AgentLoop.txt"
    click MetaWhats "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/MetaAI-Whatsapp/LLama4.txt"
    click Replit "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/Replit/system.md"
    click Notion "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/notion/WIP-partial.md"
    click Notte "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/notte/prompt.md"
    click Perplex "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/perplexity.ai/regular.md"
    click SameNew "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/same.new/same.new.md"
    click V0 "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/v0/v0.md"
    click Windsurf "https://github.com/dontriskit/awesome-ai-system-prompts/blob/main/windsurf/system-2025-04-20.md"

    %% Styles
    classDef content fill:#D0E8FF,stroke:#0366d6,color:#000;
    classDef process fill:#DFFFE0,stroke:#28a745,color:#000;
    classDef host fill:#FFF4D6,stroke:#ff8c00,color:#000;
    classDef external fill:#E0E0E0,stroke:#888888,color:#000;
```
