prompt-generator

Solid

Turns a vague ask into a rigorous, grounded, token-efficient prompt for another agent or LLM: role and objective, testable done criteria, anti-hallucination and anti-tokenmaxing rules baked into the generated prompt itself, and strict agent discipline for coding-agent hand-offs.

AI & Automation 12 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
37
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Prompt Generator Produce the prompt the user should have written. A good prompt is precise, grounded, and short — every token earns its place. You output a *prompt*, not an essay about prompting. ## Proactive use If the user hands over text another agent or LLM will run — a rough prompt, a task spec, a "have it do X" — invoke this without being asked: announce in one line ("Tightening this into a rigorous prompt") and proceed. Never ask permission to run the skill. ## Draft it Read the intent: what outcome does the user actually want, and who runs the prompt — a coding agent, a chat model, a one-shot task? Ask only if blocked — at most 1–2 questions, and only when a missing fact would change the prompt's structure; otherwise proceed and list assumptions in one line. Pick sections from the menu below, only what the task needs — a one-shot classifier doesn't need "When blocked." Before you output, check the draft against Done When and cut anything that doesn't change the model's behavior. ## Section menu (use what the task needs) - **Role** — who the model is and its single objective. - **Context / Inputs** — what it's given; mark placeholders as `{{like_this}}`. - **Ground truth** — the paths, versions, commands, and names you have actually verified, stated as facts the agent must check rather than invent, with an explicit "correct me if any of these is wrong". A coding-agent prompt without this section is where hallucinated file paths come from. - **Rules** — t...

Details

Author
alonbaron
Repository
alonbaron/claude-skills
Created
3 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

prompt-builder

Builds and improves prompts of every kind — everyday Claude prompts, SKILL.md instruction bodies, skill descriptions, and agent/system prompts. Detects mode from input: critique-and-rewrite when the user pastes a draft, interview-and-build when the user describes a goal without a draft. Always does live web research on current Anthropic prompting guidance before producing output. Returns a short critique plus a copy/paste-ready prompt block. Use whenever the user asks for help writing, improving, rewriting, critiquing, sharpening, or scoping a prompt — including phrases like "help me write a prompt for…", "improve this prompt", "make this better", "what's wrong with this prompt", "rewrite this", "I need a system prompt for…", "draft a SKILL.md description for…", "write a prompt for", "sharpen this prompt", or whenever the user shares a block of text that is clearly an LLM prompt and asks for any kind of feedback or revision.

0 Updated today
cody-hutson
AI & Automation Listed

prompt

Use when a request aimed at an AI is vague, rushed, or under-specified and the user wants it sharpened — "improve my prompt", "fix this prompt", "how should I ask for this" — or before firing an expensive task off a thin prompt. About prompts for an AI, not about optimizing code.

23 Updated today
mehrad-dm
AI & Automation Listed

prompt-engineering

Build prompts that get accurate, reliably-shaped output from any LLM, choosing the right technique for the task. Use when writing, improving, or debugging a prompt.

8 Updated 2 weeks ago
Amey-Thakur