# piyushjha0409/reddit-content-regulation-skill architecture

> Architecture diagram of the GitHub repository piyushjha0409/reddit-content-regulation-skill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/piyushjha0409/reddit-content-regulation-skill
- Repository: https://github.com/piyushjha0409/reddit-content-regulation-skill

## Overview

This is a Claude Code skill, not a standalone application. A user supplies a Reddit draft, optionally with the target subreddit and its rules; the skill checks it against Reddit’s platform rules and returns a verdict, issues, and a cleaned-up draft. The README documents the workflow and files, but no source excerpts are available to verify more detailed internal steps.

Main entry points: [`reddit-content-audit/SKILL.md`](https://github.com/piyushjha0409/reddit-content-regulation-skill/blob/main/reddit-content-audit/SKILL.md) (Content audit skill), [`reddit-content-audit/references/reddit-rules.md`](https://github.com/piyushjha0409/reddit-content-regulation-skill/blob/main/reddit-content-audit/references/reddit-rules.md) (Reddit rules)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_audit["Content audit skill<br/>[SKILL.md]"]
node_reddit_rules["Reddit rules<br/>[reddit-rules.md]"]
node_subreddit_rules["Subreddit rules"]
node_audit_result["Verdict and rewrite"]

node_user -->|"submits draft"| node_audit
node_user -.->|"supplies optional rules"| node_audit
node_audit -->|"checks against"| node_reddit_rules
node_audit -->|"returns report"| node_audit_result
node_user -->|"receives"| node_audit_result

click node_audit "https://github.com/piyushjha0409/reddit-content-regulation-skill/blob/main/reddit-content-audit/SKILL.md"
click node_reddit_rules "https://github.com/piyushjha0409/reddit-content-regulation-skill/blob/main/reddit-content-audit/references/reddit-rules.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_audit,node_reddit_rules toneTeal
class node_subreddit_rules,node_audit_result toneIndigo
```

## Components

### Other components

- **User**
- [Content audit skill](https://github.com/piyushjha0409/reddit-content-regulation-skill/blob/main/reddit-content-audit/SKILL.md): `reddit-content-audit/SKILL.md`
- [Reddit rules](https://github.com/piyushjha0409/reddit-content-regulation-skill/blob/main/reddit-content-audit/references/reddit-rules.md): `reddit-content-audit/references/reddit-rules.md`
- **Subreddit rules**
- **Verdict and rewrite**

## Connections

- User → Content audit skill: submits draft (evidence: `README.md`)
- User → Content audit skill: supplies optional rules (evidence: `README.md`)
- Content audit skill → Reddit rules: checks against (evidence: `README.md`)
- Content audit skill → Verdict and rewrite: returns report (evidence: `README.md`)
- User → Verdict and rewrite: receives (evidence: `README.md`)
