# hussainasghar/system-prompts-and-models-of-ai-tools architecture

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

- Interactive diagram: https://gitdiagram.com/hussainasghar/system-prompts-and-models-of-ai-tools
- Repository: https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools

## Overview

##### Project type and purpose
- This repo is a static content collection of AI “system prompts” and accompanying tool-config files, organized by agent or service (v0, Cursor, Manus, Same.dev, Lovable, Devin, Replit, Windsurf, VSCode, plus various open-source prompts).
- Its purpose is to host & share “full official” and open-source prompts, tool definitions (`.json`), and model metadata (`.md`), along with a README that serves as the project landing page.

##### File structure
- Top-level folders are your primary modules:
- v0 Prompts and Tools (Model.md, Prompt.txt)
- Cursor Prompts (`.txt`)
- Manus Agent Tools & Prompt (Prompt.txt, Agent loop.txt, Modules.txt, tools.json)
- Lovable, Devin AI, Same.dev, Replit, Windsurf, VSCode Agent (each with `.txt` prompts and some `.json` tools files)
- Open Source prompts (subfolders: Bolt, Cline, Codex CLI, RooCode – each with Prompt.txt)
- Root contains README.md and LICENSE.md. There are no `src/` or runtime code; everything is authored content.

##### README for additional insights
- Describes the collection (6,500+ lines of prompts & tools), highlights “official” vs “open-source,” and links to external services (ZeroLeaks for security, system-prompts.featurebase.app for feedback, star-history.com for metrics).

##### Main components and their relationships
a. Content Repository (GitHub)
- Modules (folders) containing prompt files and tool definitions
- README and license at root
b. Build / Publication Pipeline (optional but recommended)
- Static Site Generator (e.g., Docusaurus, Hugo) consumes the repo
- Outputs a browsable site or API for prompt lookup
c. Hosting / Frontend
- GitHub Pages / Vercel or similar, serving the generated site
d. End-Users
- AI engineers, startups, community members consuming prompts & tools
e. External Services
- star-history.com (visualizes repo stars over time)
- ZeroLeaks (AI security audit link)
- Roadmap & Feedback (system-prompts.featurebase.app)

##### Architectural patterns and design principles
- Modular content organization: each agent/type is a separate folder
- Separation of content (raw prompts & configs) from presentation (static site)
- Integration with third-party services as loosely coupled “micro-services” for metrics & feedback
- Extendability: adding a new agent simply means adding a new folder with `.txt` & optional `.json`

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "GitHub Repository"
        direction TB
        README["README.md"]:::content
        LICENSE["LICENSE.md"]:::content
        subgraph "Official Modules"
            direction TB
            subgraph "v0 Prompts and Tools"
                direction TB
                v0_Model["Model.md"]:::content
                v0_Prompt["Prompt.txt"]:::content
            end
            subgraph "Cursor Prompts"
                direction TB
                cursor_agent["cursor agent.txt"]:::content
                cursor_chat["cursor chat.txt"]:::content
            end
            subgraph "Manus Agent Tools & Prompt"
                direction TB
                manus_Prompt["Prompt.txt"]:::content
                manus_loop["Agent loop.txt"]:::content
                manus_modules["Modules.txt"]:::content
                manus_tools["tools.json"]:::content
            end
            subgraph "Lovable"
                direction TB
                lovable_txt["Lovable Prompt.txt"]:::content
            end
            subgraph "Devin AI"
                direction TB
                devin_txt["devin.txt"]:::content
            end
            subgraph "Same.dev"
                direction TB
                samedev_txt["Prompt.txt"]:::content
            end
            subgraph "Replit"
                direction TB
                replit_txt["Replit Prompt.txt"]:::content
                replit_tools["Replit Tools.json"]:::content
            end
            subgraph "Windsurf"
                direction TB
                windsurf_txt["Windsurf.txt"]:::content
                windsurf_tools["tools.json"]:::content
            end
            subgraph "VSCode Agent"
                direction TB
                vscode_txt["Prompt.txt"]:::content
            end
        end
        subgraph "Open Source Modules"
            direction TB
            subgraph "Bolt"
                direction TB
                bolt_txt["Prompt.txt"]:::content
            end
            subgraph "Cline"
                direction TB
                cline_txt["Prompt.txt"]:::content
            end
            subgraph "Codex CLI"
                direction TB
                codex_txt["Prompt.txt"]:::content
            end
            subgraph "RooCode"
                direction TB
                roocode_txt["Prompt.txt"]:::content
            end
        end
    end

    SSG["Static Site Generator"]:::build
    Hosting["Hosting / Frontend"]:::hosting
    EndUsers["End-Users\n(Engineers, AI Startups)"]:::hosting

    subgraph "External Services"
        direction TB
        Stars["star-history.com"]:::external
        ZeroLeaks["ZeroLeaks"]:::external
        Feedback["system-prompts.featurebase.app\n(Roadmap & Feedback)"]:::external
    end

    %% Connections
    README -->|"entry point links"| ZeroLeaks
    subgraph build_flow
        direction TB
        GitRepo["GitHub Repository"]
    end
    GitRepo -->|"raw prompts & tools"| SSG
    SSG -->|"site build"| Hosting
    Hosting -->|"served content"| EndUsers
    Hosting -->|"metrics requests"| Stars
    Hosting -->|"feedback submissions"| Feedback

    %% Click Events
    click v0_Model "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/v0 Prompts and Tools/Model.md"
    click v0_Prompt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/v0 Prompts and Tools/Prompt.txt"
    click cursor_agent "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Cursor Prompts/cursor agent.txt"
    click cursor_chat "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Cursor Prompts/cursor chat.txt"
    click manus_Prompt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Manus Agent Tools & Prompt/Prompt.txt"
    click manus_loop "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Manus Agent Tools & Prompt/Agent loop.txt"
    click manus_modules "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Manus Agent Tools & Prompt/Modules.txt"
    click manus_tools "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Manus Agent Tools & Prompt/tools.json"
    click lovable_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Lovable/Lovable Prompt.txt"
    click devin_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Devin AI/devin.txt"
    click samedev_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Same.dev/Prompt.txt"
    click replit_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Replit/Replit Prompt.txt"
    click replit_tools "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Replit/Replit Tools.json"
    click windsurf_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Windsurf/Windsurf.txt"
    click windsurf_tools "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Windsurf/tools.json"
    click vscode_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/VSCode Agent/Prompt.txt"
    click bolt_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Open Source prompts/Bolt/Prompt.txt"
    click cline_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Open Source prompts/Cline/Prompt.txt"
    click codex_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Open Source prompts/Codex CLI/Prompt.txt"
    click roocode_txt "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/Open Source prompts/RooCode/Prompt.txt"
    click README "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/README.md"
    click LICENSE "https://github.com/hussainasghar/system-prompts-and-models-of-ai-tools/blob/main/LICENSE.md"

    %% Styles
    classDef content fill:#cfe2f3,stroke:#036;stroke-width:1px
    classDef build fill:#d9ead3,stroke:#073;stroke-width:1px
    classDef hosting fill:#fce5cd,stroke:#e65;stroke-width:1px
    classDef external fill:#d9d9d9,stroke:#666;stroke-width:1px
```
