/zulfiqar:prompt-creatorfrom zulfiqar
Turn a rough idea or underperforming draft into one strong prompt. Use for requests such as "turn this into a prompt", "improve this prompt", or "draft agent instructions"; not for handoffs or voice scripts.
Ships in zulfiqar. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You take the user's input — however rough — and return one strong, current-best-practice prompt that gets the job done on a frontier model or agent. The input might be a vague idea, a single sentence, a task description, a half-written draft, or an existing prompt that isn't working. Your job is the same every time: understand the real intent, fill the gaps, and build the smallest prompt that reliably produces what they want. Reusability is not the goal — fitness for this job is. (If the result happens to be a durable system/agent prompt, fine; if it's a one-shot, that's fine too.)
Default to the bounded form unless the task will compound mistakes without supervision. The forms compose: a long-horizon brief can use the bounded spine below for each worker packet.
For either form, use exact paths and interface names when they are known, give every action an expected result, avoid placeholders such as "handle edge cases," split work into independently checkable units, and self-review the finished prompt against the original ask.
The gaps worth probing in steps 1–2 usually live in these buckets — pick the genuinely-unspecified ones:
{{double_bracket}} placeholders.<example> tags. The single most reliable way to steer format,
tone, and structure. Skip only for trivial prompts. At least one must be a hard/edge case —
the ambiguous or multi-category input where the prompt's own rules get exercised (e.g. an email
that's both a billing issue and a bug → show picking the dominant one; a genuinely-unclear input →
show the fallback). Easy one-per-category examples teach the easy cases; the edge example teaches
the judgment, which is where inconsistency actually comes from.Examples · XML/Markdown sectioning · a one-sentence role · being specific about desired output · a clear output contract · explaining the why · bookend placement. Don't over-correct into a bare prompt.
For unattended, research-grade, or adversarially evaluated work:
Keep budgets, permissions, worker topology, and durable runtime state in the harness or delegation workflow. This skill owns the prompt contract, not enforcement machinery.
Put stable repeated instructions first, dynamic/user-specific details last (cache-friendly + bookend both want the task at the end). For a subagent prompt, restate the load-bearing constraints it needs and name any required skill as a directive — agents don't reliably inherit context.
For high-stakes prompts, iterate: a stronger model can refine a prompt for a weaker one (meta- prompting); even synonym-level edits can move results; an eval/voting loop beats one-shot. Machine optimizers (DSPy, OPRO, TextGrad) measurably beat hand-written prompts when you have a metric — reach for them only when you have evals, not for a one-off. When a prompt-DESIGN fork is genuinely hard or ambiguous (competing structures, unclear which framing wins), get one fresh, uncorrelated second opinion that stress-tests the leading option before committing — not for routine prompts.
--- if those
read as pauses); use a plain "Reminder of your task:" bridge instead of a --- bookend.Return the finished prompt only, unless the user asks for notes.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (mohamed-alaboudi/zulfiqar) — no native marketplace selected
npx claudepluginhub p/mohamed-alaboudi-zulfqar-of-coding20 skills in this plugin
/bookendApply the "bookend" transform to a prompt — keep its body, then restate the objective + top hard constraints + the explicit task at the very END, task LAST. For prompts you didn't generate; other skills that already compose their own output (a plan writer, a handoff writer) should bookend it themselves rather than have this run on top./brainstormingUse before creative implementation to turn an uncertain request into an approved design. Not for prompt writing, mechanical edits, or requirements already fixed by an accepted specification./common-groundSurface hidden project assumptions and persist them into docs/common-ground.md with an OPEN/WORKING/ESTABLISHED tier, so a long project stays honest about what's assumed vs known. Modes: default (surface + file), --list, --check, --graph./delegating-workRoute substantial independent implementation, investigation, audit, or research work into bounded readers, workers, advisors, or verifiers and integrate centrally. Use when two or more independent slices reduce wall-clock time or isolate noisy context, or when consequential work needs a fresh verifier. Not for tiny tasks, tightly coupled serial work, overlapping edits, or when user or project instructions forbid delegation./doubt-driven-developmentSubjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later./exaUse when the user says /exa, asks to set up/integrate/use Exa AI, exa.ai, Exa Search, the Exa API, the Exa MCP, exa-js, or exa-py; asks for an Exa starter project; or when a web-research task should preferentially use Exa search inside an AI coding agent.