# jujumilk3/leaked-system-prompts architecture

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

- Interactive diagram: https://gitdiagram.com/jujumilk3/leaked-system-prompts
- Repository: https://github.com/jujumilk3/leaked-system-prompts

## Overview

##### Main Components
- Repository Layer: At the highest level is the Git repository. Represent the version control system as a component managing all files.
- Index/README: The README file acts as an entry point or index that links to each leaked prompt.
- Prompt Files: Each markdown file (with specific names including model names, versions, and timestamps) can be represented as individual components or grouped by category (e.g., Anthropic Claude prompts, OpenAI prompts, etc.).
- Images/Assets: The “images” directory is a dedicated folder, if needed, for any graphical resources related to the collection.

##### Architectural Patterns and Design Principles
- Flat File Organization: The structure relies on a flat file system with meaningful naming conventions (model name, version, timestamp) rather than a complex codebase.
- Metadata as File Naming: The system leverages file names to encode metadata (like timestamps, model types, etc.). Represent this by annotating the prompt file components with their metadata.

##### Relevant Technologies or Themes
- Git: Emphasize the use of Git for version control.
- Date/Versioning: Indicate that file names include both versioning and time-stamped data.

- Start at the top with a “Repository” node that encapsulates the version-controlled project.
- Branch out to a “README” node that serves as the landing or navigation point.
- Branch from the README node into clusters or groups based on prompt file categories (e.g., group by language model or by timestamp/version).
- Metadata such as model names and versioning to capture the prompt file characteristics.
- Using annotations or legends to explain the significance of the names/timestamps in context.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Repo["Git Repository"]:::repoStyle
    Readme["README.md"]:::readmeStyle
    Images["images"]:::imagesStyle

    Repo -->|"contains"| Readme
    Repo -->|"contains"| PF

    subgraph "Prompt Files"
        direction TB
        subgraph "Anthropic Claude Prompts"
            direction TB
            AC_Haiku["anthropic-claude-3-haiku_20240712.md"]:::promptStyle
            AC_Opus["anthropic-claude-3-opus_20240712.md"]:::promptStyle
            AC_Sonnet["anthropic-claude-3-sonnet_20240306.md"]:::promptStyle
        end
        subgraph "Other Prompts"
            direction TB
            ChatGLM["ChatGLM4_20240821.md"]:::promptStyle
            ESTsoft["ESTsoft-alan_20230920.md"]:::promptStyle
        end
    end

    Readme -->|"indexes"| PF
    PF -->|"references"| Images

    click Repo "https://github.com/jujumilk3/leaked-system-prompts/blob/main/.gitignore"
    click Readme "https://github.com/jujumilk3/leaked-system-prompts/blob/main/README.md"
    click AC_Haiku "https://github.com/jujumilk3/leaked-system-prompts/blob/main/anthropic-claude-3-haiku_20240712.md"
    click AC_Opus "https://github.com/jujumilk3/leaked-system-prompts/blob/main/anthropic-claude-3-opus_20240712.md"
    click AC_Sonnet "https://github.com/jujumilk3/leaked-system-prompts/blob/main/anthropic-claude-3-sonnet_20240306.md"
    click ChatGLM "https://github.com/jujumilk3/leaked-system-prompts/blob/main/ChatGLM4_20240821.md"
    click ESTsoft "https://github.com/jujumilk3/leaked-system-prompts/blob/main/ESTsoft-alan_20230920.md"
    click Images "https://github.com/jujumilk3/leaked-system-prompts/tree/main/images"

    classDef repoStyle fill:#ffcccc,stroke:#333,stroke-width:2px;
    classDef readmeStyle fill:#ffe0b3,stroke:#333,stroke-width:2px;
    classDef promptStyle fill:#ccffcc,stroke:#333,stroke-width:2px;
    classDef imagesStyle fill:#ccccff,stroke:#333,stroke-width:2px;
```
