Skip to content

sungjunlee/prompt-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prompt-builder

A Claude Code skill that crafts well-structured, copy-paste-ready prompts for any LLM — Claude, GPT, Gemini, Perplexity, local models, image/video generators, or any other.

What It Does

When invoked (e.g., "build me a prompt for..."), it guides Claude through a 5-step process:

  1. Understand — goal, target LLM, audience, reusability
  2. Gather — raw material, context, constraints
  3. Build — compose using 6 building blocks, format for target LLM
  4. Sharpen — cut fluff, be specific, ensure self-contained
  5. Deliver — fenced code block ready to copy-paste

Installation

Via npx skills (recommended)

npx skills add https://github.com/sungjunlee/prompt-builder.git --global --yes

Via Claude Code Plugin Marketplace

/plugin marketplace add https://github.com/sungjunlee/prompt-builder.git
/plugin install prompt-builder@prompt-builder

Manual install

cp -r skills/prompt-builder ~/.claude/skills/prompt-builder

Structure

skills/prompt-builder/
├── SKILL.md                  ← Core (always loaded)
├── guides/                   ← Platform tips (on-demand)
│   ├── claude-guide.md       ← Claude Code / web / API
│   ├── gpt.md                ← GPT-5.4 / ChatGPT
│   ├── gemini.md             ← Gemini 3 / Imagen 4
│   ├── perplexity.md         ← Perplexity
│   └── local-models.md       ← Llama 4 / Qwen / Mistral / DeepSeek
├── references/               ← Deep-dive guides (on-demand)
│   ├── components-guide.md   ← 6 building blocks with examples
│   ├── prompt-patterns.md    ← 8 common patterns
│   └── quality-checklist.md  ← Quality checks + failure modes
└── templates/                ← Special-case templates (on-demand)
    ├── session-handoff.md    ← AI session handoff
    ├── image-gen.md          ← Image generation
    ├── video-gen.md          ← Video generation
    └── system-prompt.md      ← Chatbot/agent system prompts

Supported Targets

Target Guide Key approach
Claude (Code / web) guides/claude-guide.md XML tags, outcome-focused
GPT (5.4 / ChatGPT) guides/gpt.md XML or Markdown, Thinking mode
Gemini (3 / 3.1) guides/gemini.md XML or Markdown, few-shot preferred
Perplexity guides/perplexity.md Search-oriented framing
Local models guides/local-models.md Plain text, short prompts
Image generation templates/image-gen.md Flat text, negative prompts
Video generation templates/video-gen.md Cinematic verbs, style-first

Design Philosophy

  • No named frameworks — CO-STAR, RISEN, etc. are training wheels. 6 building blocks cover all of them.
  • XML as universal default — all 3 major providers recommend it as of 2026.
  • Context over instruction — 400 tokens of context + 100 of task beats 400 of instruction + 100 of context.
  • Less is more — cut verbose roles first, then restated context, then hedging. Never cut examples or success criteria.

Version

v0.5.0 — March 2026. Updated for Claude Opus 4.6, GPT-5.4, Gemini 3.1, Imagen 4, Midjourney V7, Sora 2, Veo 3.1, Seedance 2.0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors