prompt-builder-skill
v1.0.0
Published
Build production-grade LLM prompts using the RTCF Framework (Role, Task, Context, Format). Walks through each component, grills for gaps, and assembles optimized prompts.
Maintainers
Readme
Prompt Builder Skill
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
Claude Code Plugin
/install-plugin https://github.com/salman486/prompt-builder-pluginnpm
npm 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/Usage
In Claude Code, invoke with:
/prompt-builderWhat It Does
- 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)
RTCF Framework
| 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" |
License
MIT
