# nidhinjs/prompt-master architecture

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

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

## Overview

Prompt Master is a Claude skill for turning user requests into concise, tool-specific prompts. Its documented workflow identifies the target tool, clarifies intent, selects a prompt framework, applies techniques, optionally checks current model details, audits token efficiency, and delivers a copyable prompt. The README describes these stages, but no source excerpts were provided, so relationships are documented at that level rather than inferred from implementation.

Main entry points: [`SKILL.md`](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md) (Prompt Master), [`references/patterns.md`](https://github.com/nidhinjs/prompt-master/blob/main/references/patterns.md) (Prompt frameworks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_request["Request handling"]
  node_skill["Prompt Master<br/>[SKILL.md]"]
  node_tool_detection["Tool detection<br/>[SKILL.md]"]
  node_intent["Intent extraction<br/>[SKILL.md]"]
  node_clarification["Clarifying questions<br/>[SKILL.md]"]
end

subgraph group_design["Prompt design"]
  node_tool_profiles["Tool profiles<br/>[SKILL.md]"]
  node_universal_fingerprint["Universal fingerprint<br/>[SKILL.md]"]
  node_frameworks["Prompt frameworks<br/>[patterns.md]"]
  node_templates["Prompt templates<br/>[templates.md]"]
  node_safe_techniques["Safe techniques<br/>[SKILL.md]"]
end

subgraph group_quality["Quality and delivery"]
  node_recency_check["Model recency check<br/>[SKILL.md]"]
  node_token_audit["Token efficiency audit<br/>[SKILL.md]"]
  node_prompt_delivery["Prompt delivery<br/>[SKILL.md]"]
end

node_user(("User"))
node_provider_docs["Provider documentation"]
node_target_tool(("Target AI tool"))

node_user -->|"submits request"| node_skill
node_skill -->|"detects target"| node_tool_detection
node_skill -->|"extracts intent"| node_intent
node_skill -->|"asks if needed"| node_clarification
node_skill -->|"uses profiles"| node_tool_profiles
node_skill -->|"uses for unknown tools"| node_universal_fingerprint
node_skill -->|"selects framework"| node_frameworks
node_skill -->|"applies techniques"| node_safe_techniques
node_skill -->|"checks when relevant"| node_recency_check
node_recency_check -->|"verifies details"| node_provider_docs
node_skill -->|"audits prompt"| node_token_audit
node_skill -->|"delivers prompt"| node_prompt_delivery
node_prompt_delivery -->|"returns prompt"| node_user
node_user -.->|"uses prompt with"| node_target_tool

click node_skill "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_tool_detection "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_intent "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_clarification "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_tool_profiles "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_universal_fingerprint "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_frameworks "https://github.com/nidhinjs/prompt-master/blob/main/references/patterns.md"
click node_templates "https://github.com/nidhinjs/prompt-master/blob/main/references/templates.md"
click node_safe_techniques "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_recency_check "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_token_audit "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md"
click node_prompt_delivery "https://github.com/nidhinjs/prompt-master/blob/main/SKILL.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_skill,node_tool_detection,node_intent,node_clarification,node_user toneBlue
class node_tool_profiles,node_universal_fingerprint,node_frameworks,node_templates,node_safe_techniques toneAmber
class node_recency_check,node_token_audit,node_prompt_delivery toneMint
class node_provider_docs,node_target_tool toneIndigo
```

## Components

### Request handling

- [Prompt Master](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Tool detection](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Intent extraction](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Clarifying questions](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`

### Prompt design

- [Tool profiles](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Universal fingerprint](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Prompt frameworks](https://github.com/nidhinjs/prompt-master/blob/main/references/patterns.md): `references/patterns.md`
- [Prompt templates](https://github.com/nidhinjs/prompt-master/blob/main/references/templates.md): `references/templates.md`
- [Safe techniques](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`

### Quality and delivery

- [Model recency check](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Token efficiency audit](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`
- [Prompt delivery](https://github.com/nidhinjs/prompt-master/blob/main/SKILL.md): `SKILL.md`

### Other components

- **User**
- **Provider documentation**
- **Target AI tool**

## Connections

- User → Prompt Master: submits request (evidence: `README.md`)
- Prompt Master → Tool detection: detects target (evidence: `README.md`)
- Prompt Master → Intent extraction: extracts intent (evidence: `README.md`)
- Prompt Master → Clarifying questions: asks if needed (evidence: `README.md`)
- Prompt Master → Tool profiles: uses profiles (evidence: `README.md`)
- Prompt Master → Universal fingerprint: uses for unknown tools (evidence: `README.md`)
- Prompt Master → Prompt frameworks: selects framework (evidence: `README.md`)
- Prompt Master → Safe techniques: applies techniques (evidence: `README.md`)
- Prompt Master → Model recency check: checks when relevant (evidence: `README.md`)
- Model recency check → Provider documentation: verifies details (evidence: `README.md`)
- Prompt Master → Token efficiency audit: audits prompt (evidence: `README.md`)
- Prompt Master → Prompt delivery: delivers prompt (evidence: `README.md`)
- Prompt delivery → User: returns prompt (evidence: `README.md`)
- User → Target AI tool: uses prompt with (evidence: `README.md`)
