# wkloh76/prompt-crafter architecture

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

- Interactive diagram: https://gitdiagram.com/wkloh76/prompt-crafter
- Repository: https://github.com/wkloh76/prompt-crafter

## Overview

Prompt Crafter is a portable AI skill for turning rough ideas into actionable prompts. Its principal workflow is intake, triage, craft, and delivery, with a quality-check step. SKILL.md is the canonical definition; platform-specific instruction files are documented as standalone adaptations. The repository provides no source excerpts, so relationships below rely only on README statements; the detailed implementation of the skill is not independently verified.

Main entry points: [`SKILL.md`](https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md) (Intake), [`CLAUDE.md`](https://github.com/wkloh76/prompt-crafter/blob/master/CLAUDE.md) (Claude Code rules), [`AGENTS.md`](https://github.com/wkloh76/prompt-crafter/blob/master/AGENTS.md) (Codex instructions), [`.cursorrules`](https://github.com/wkloh76/prompt-crafter/blob/master/.cursorrules) (Cursor rules)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Prompt workflow"]
  node_intake["Intake<br/>[SKILL.md]"]
  node_triage["Triage<br/>[SKILL.md]"]
  node_craft["Prompt crafting<br/>[SKILL.md]"]
  node_quality["Quality check<br/>[SKILL.md]"]
  node_delivery["Prompt delivery<br/>[SKILL.md]"]
end

subgraph group_instructions["Skill instructions"]
  node_skill["Prompt Crafter<br/>[SKILL.md]"]
end

subgraph group_platforms["Platform adaptations"]
  node_claude["Claude Code rules<br/>[CLAUDE.md]"]
  node_codex["Codex instructions<br/>[AGENTS.md]"]
  node_cursor["Cursor rules<br/>[.cursorrules]"]
  node_windsurf["Windsurf rules<br/>[.windsurfrules]"]
  node_cline["Cline rules<br/>[.clinerules]"]
end

node_user(("User"))
node_ai(("AI agent"))

node_user -->|"provides ideas"| node_intake
node_intake -->|"sorts fragments"| node_triage
node_triage -->|"structures prompt"| node_craft
node_craft -->|"checks output"| node_quality
node_quality -->|"presents prompt"| node_delivery
node_skill -->|"defines workflow"| node_intake
node_claude -->|"instructs"| node_ai
node_codex -->|"instructs"| node_ai
node_cursor -->|"instructs"| node_ai
node_windsurf -->|"instructs"| node_ai
node_cline -->|"instructs"| node_ai

click node_skill "https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md"
click node_intake "https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md"
click node_triage "https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md"
click node_craft "https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md"
click node_quality "https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md"
click node_delivery "https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md"
click node_claude "https://github.com/wkloh76/prompt-crafter/blob/master/CLAUDE.md"
click node_codex "https://github.com/wkloh76/prompt-crafter/blob/master/AGENTS.md"
click node_cursor "https://github.com/wkloh76/prompt-crafter/blob/master/.cursorrules"
click node_windsurf "https://github.com/wkloh76/prompt-crafter/blob/master/.windsurfrules"
click node_cline "https://github.com/wkloh76/prompt-crafter/blob/master/.clinerules"

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_intake,node_triage,node_craft,node_quality,node_delivery,node_user toneBlue
class node_skill toneAmber
class node_claude,node_codex,node_cursor,node_windsurf,node_cline toneMint
class node_ai toneIndigo
```

## Components

### Prompt workflow

- [Intake](https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md): `SKILL.md`
- [Triage](https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md): `SKILL.md`
- [Prompt crafting](https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md): `SKILL.md`
- [Quality check](https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md): `SKILL.md`
- [Prompt delivery](https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md): `SKILL.md`

### Skill instructions

- [Prompt Crafter](https://github.com/wkloh76/prompt-crafter/blob/master/SKILL.md): `SKILL.md`

### Platform adaptations

- [Claude Code rules](https://github.com/wkloh76/prompt-crafter/blob/master/CLAUDE.md): `CLAUDE.md`
- [Codex instructions](https://github.com/wkloh76/prompt-crafter/blob/master/AGENTS.md): `AGENTS.md`
- [Cursor rules](https://github.com/wkloh76/prompt-crafter/blob/master/.cursorrules): `.cursorrules`
- [Windsurf rules](https://github.com/wkloh76/prompt-crafter/blob/master/.windsurfrules): `.windsurfrules`
- [Cline rules](https://github.com/wkloh76/prompt-crafter/blob/master/.clinerules): `.clinerules`

### Other components

- **User**
- **AI agent**

## Connections

- User → Intake: provides ideas (evidence: `README.md`)
- Intake → Triage: sorts fragments (evidence: `README.md`)
- Triage → Prompt crafting: structures prompt (evidence: `README.md`)
- Prompt crafting → Quality check: checks output (evidence: `README.md`)
- Quality check → Prompt delivery: presents prompt (evidence: `README.md`)
- Prompt Crafter → Intake: defines workflow (evidence: `README.md`)
- Claude Code rules → AI agent: instructs (evidence: `README.md`)
- Codex instructions → AI agent: instructs (evidence: `README.md`)
- Cursor rules → AI agent: instructs (evidence: `README.md`)
- Windsurf rules → AI agent: instructs (evidence: `README.md`)
- Cline rules → AI agent: instructs (evidence: `README.md`)
