Build production-grade LLM prompts using the RTCF Framework (Role, Task, Context, Format).
This skill walks you through each component one at a time, grills for gaps and ambiguity, then assembles an optimized prompt that works across any major LLM.
/install-plugin https://github.com/salman486/prompt-builder-pluginnpm install prompt-builder-skillThen copy the skill into your Claude Code skills directory:
cp -r node_modules/prompt-builder-skill/skills/prompt-builder ~/.claude/skills/In Claude Code, invoke with:
/prompt-builder
- Gathers RTCF components — walks you through Role, Task, Context, and Format one at a time with explanations and examples
- Grills for gaps — analyzes the full prompt for ambiguity, missing constraints, conflicting instructions, and edge cases
- Assembles the prompt — builds the final prompt following proven assembly rules (instruction hierarchy, lost-in-the-middle mitigation, constraint enforcement)
| Component | Controls | Example |
|---|---|---|
| Role | Persona, vocabulary, depth | "Senior science journalist with 15 years covering climate policy" |
| Task | Action verb, deliverable, scope | "Summarize into a 150-word blog intro" |
| Context | Audience, tone, domain knowledge | "Tech professionals aged 25-45, Ars Technica tone" |
| Format | Output structure, constraints | "2-3 paragraphs, markdown, no bullet points" |
MIT