# mybicharles/prompt-master architecture

> Architecture diagram of the GitHub repository mybicharles/prompt-master, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mybicharles/prompt-master
- Repository: https://github.com/mybicharles/prompt-master

## Overview

Prompt Master is a Claude skill for turning a user’s request into a concise, tool-appropriate prompt. The README documents an eight-stage workflow, from tool detection and intent gathering through clarification, framework selection, safety and recency checks, token auditing, and delivery. The tree also includes pattern and template references, but no source excerpts show how the skill uses them, so their connections are omitted. Relationships below reflect the README’s documented sequence, not inspected implementation details.

Main entry points: [`SKILL.md`](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md) (Detect tool)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Prompt workflow"]
  node_detect["Detect tool<br/>[SKILL.md]"]
  node_intent["Extract intent<br/>[SKILL.md]"]
  node_clarify["Clarify request<br/>[SKILL.md]"]
  node_framework["Select framework<br/>[SKILL.md]"]
  node_techniques["Apply techniques<br/>[SKILL.md]"]
  node_recency["Check recency<br/>[SKILL.md]"]
  node_audit["Audit tokens<br/>[SKILL.md]"]
  node_deliver["Deliver prompt<br/>[SKILL.md]"]
end

subgraph group_references["Prompt references"]
  node_patterns["Prompt patterns<br/>[patterns.md]"]
  node_templates["Prompt templates<br/>[templates.md]"]
end

node_user(("Prompt requester"))
node_result["Copyable prompt"]

node_user -->|"submits request"| node_detect
node_detect -->|"routes to"| node_intent
node_intent -->|"checks missing details"| node_clarify
node_clarify -->|"informs selection"| node_framework
node_framework -->|"guides application"| node_techniques
node_techniques -->|"precedes check"| node_recency
node_recency -->|"precedes audit"| node_audit
node_audit -->|"precedes delivery"| node_deliver
node_deliver -->|"outputs"| node_result

click node_detect "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_intent "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_clarify "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_framework "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_techniques "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_recency "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_audit "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_deliver "https://github.com/mybicharles/prompt-master/blob/main/SKILL.md"
click node_patterns "https://github.com/mybicharles/prompt-master/blob/main/references/patterns.md"
click node_templates "https://github.com/mybicharles/prompt-master/blob/main/references/templates.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_detect,node_intent,node_clarify,node_framework,node_techniques,node_recency,node_audit,node_deliver toneBlue
class node_patterns,node_templates toneAmber
class node_user toneMint
class node_result toneIndigo
```

## Components

### Prompt workflow

- [Detect tool](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Extract intent](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Clarify request](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Select framework](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Apply techniques](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Check recency](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Audit tokens](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Deliver prompt](https://github.com/mybicharles/prompt-master/blob/main/SKILL.md): `SKILL.md`

### Prompt references

- [Prompt patterns](https://github.com/mybicharles/prompt-master/blob/main/references/patterns.md): `references/patterns.md`
- [Prompt templates](https://github.com/mybicharles/prompt-master/blob/main/references/templates.md): `references/templates.md`

### Other components

- **Prompt requester**
- **Copyable prompt**

## Connections

- Prompt requester → Detect tool: submits request (evidence: `README.md`)
- Detect tool → Extract intent: routes to (evidence: `README.md`)
- Extract intent → Clarify request: checks missing details (evidence: `README.md`)
- Clarify request → Select framework: informs selection (evidence: `README.md`)
- Select framework → Apply techniques: guides application (evidence: `README.md`)
- Apply techniques → Check recency: precedes check (evidence: `README.md`)
- Check recency → Audit tokens: precedes audit (evidence: `README.md`)
- Audit tokens → Deliver prompt: precedes delivery (evidence: `README.md`)
- Deliver prompt → Copyable prompt: outputs (evidence: `README.md`)
