Skip to content

salman486/prompt-builder-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-plugin

npm

npm install prompt-builder-skill

Then 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-builder

What It Does

  1. Gathers RTCF components — walks you through Role, Task, Context, and Format one at a time with explanations and examples
  2. Grills for gaps — analyzes the full prompt for ambiguity, missing constraints, conflicting instructions, and edge cases
  3. 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

About

Build production-grade LLM prompts using the RTCF Framework. Claude Code skill/plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors