/zulfiqar:bookendfrom zulfiqar
Apply 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.
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.
Bookend the target prompt: keep the body unchanged, append a closing restatement so the model reads the objective first AND last. Long-context models attend best to the start and end of a prompt and worst to the middle (the "lost in the middle" effect); putting the actual ask at the very end, after all the context, measurably improves instruction-following on long prompts.
Target (resolve in order): explicit prompt text given → a reference it names ("the last prompt") → else the most recent prompt-like artifact in this conversation. Ambiguous → ask.
The transform: leave the body as-is, append after a bridge:
---
**Reminder — restated:**
- Role / objective: <one line>
- Hard constraints: <the 2–5 that must not be violated>
- Your task now: <the explicit ask — stated LAST>
Rules:
--- dividers or em-dashes (they read as pauses); use a plain "Reminder of your task:" bridge.Output: the full bookended prompt in one fenced code block, copy-paste clean. Outside it, 1–2 lines on what you restated or why you skipped.
Note: some prompt-writing skills (a meta-prompt writer, a handoff writer) already bookend their own output as a final step — don't re-bookend a prompt that's already structured that way; use this skill for arbitrary prompts/text that weren't generated with the pattern built in.
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
/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./grill-with-docsA relentless requirements interview that sharpens a plan or design by attacking its weak points, and produces docs (decision records, a glossary) as it goes so the plan is grounded rather than assumed.