No slash command · from llm-author
Crafts a self-contained handoff prompt for a new session that has none of this session's context. Deduces work type, branch, commit, and verification policy; offers to save or copy.
Ships in llm-author. 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.
The receiving session starts with zero context: everything it needs must be in the prompt or in a file the prompt names. Hand off state, not a transcript — the operational facts the next session acts on, not the conversation that produced them. Work from this session's context — do not gather new scope. Reading a source to check a referent the prompt already cites is verification, not scope. Craft the prompt with the llm-author:prompt-engineering skill, scale its detail to the size of the work, then deliver it per the recipient: handed back to an invoking workflow, offered to the user otherwise.
digraph handoff {
start [shape=doublecircle, label="User asks for a handoff prompt,\nor a workflow step calls for one"];
deduce [shape=box, label="Deduce the contextual requirements\n(work, sources, branch, commits, verify,\nscope, what's settled, what's uncertain)"];
craft [shape=box, label="Craft the prompt with\nllm-author:prompt-engineering"];
ctx [shape=diamond, label="Does it stand alone for a zero-context\nreader — every fact inline or in a named file?"];
val [shape=diamond, label="Is every value concrete — no placeholders,\nno invented referents — and every referent\nthis session did not verify marked as such?"];
fix [shape=box, label="Send it back through prompt-engineering\nwith the gap named"];
caller [shape=diamond, label="Invoked by a workflow step\nfor a body to dispatch?"];
return [shape=box, label="Hand the finished prompt to the\ninvoking workflow; no delivery question"];
ask [shape=box, label="Ask the user:\nsave to a file or copy to the clipboard?"];
deliver [shape=box, label="Write the file or copy to the clipboard\nper the answer"];
done [shape=doublecircle, label="Done"];
start -> deduce -> craft -> ctx;
ctx -> fix [label="no"];
fix -> craft;
ctx -> val [label="yes"];
val -> fix [label="no"];
val -> caller [label="yes"];
caller -> return [label="yes"];
return -> done;
caller -> ask [label="no"];
ask -> deliver -> done;
}
Read the current session and the user's request, then settle each dimension from what this session actually did. If the user's request fixes a dimension, follow it exactly; otherwise take the most grounded default.
| Dimension | Resolve from context |
|---|---|
| Work type | What the receiver must do: implement a spec, apply review or report fixes, turn review findings into a proposal (re-verify each finding, propose concrete changes, then wait for approval), continue an analysis, or hand off the next phase. |
| Authoritative sources | The file(s) that are the contract (spec, review, report, plan) plus the convention, naming, and reference files the receiver must obey. |
| Branch | Stay on the current branch, or create a new one and off which base. |
| Commit policy | Single commit, one per change bundle, or a fixed count; title-only or full; which skill writes the messages; what must never be staged. |
| Verification | The tooling and tests to run and when (before each commit, before done) — mirror what this session used. |
| Scope | What is in scope, and explicitly what is out. |
| Settled vs open | The decisions already locked, and the open choices the receiver should surface up front rather than guess. |
| Uncertain | What this session could not verify or is unsure about, so the receiver re-checks it rather than trusting it. |
This is the specification you hand to the crafting skill. Include each section the deduced work type needs, in this order. When a workflow step invoked this skill and declares that its own wrapper blocks own a section's content — an escalation boundary, a report contract, receiver framing — omit that section from the body: the wrapper carries it, and a body that restates it contradicts the wrapper. Where the wrapper owns only part of a section's content — a definition of done whose reporting clause the wrapper carries — omit that part and keep the rest.
file:line locations as entry points to re-read before editing, since they drift as commits land.Invoke the llm-author:prompt-engineering skill to write the prompt. Give it as the specification: the dimensions you deduced and the section list above, plus these two standing constraints it must honor — the prompt stands alone for a zero-context reader, and every value in it is concrete, with every referent this session did not verify marked as such. Take its output as the draft, then run the two checks below.
Reread the draft as the receiver — a session that knows only what the prompt says. For every decision, value, and rationale it relies on, confirm the prompt states it inline or points to a named file that holds it. Where the draft leans on shared memory ("the analysis we did", "the agreed approach"), name the gap and send it back through prompt-engineering with the statement or file reference supplied.
Take every commit hash, file path, class or symbol name, line number, and test count from this session's context, and write the exact value — not a vague placeholder ("the config file") and not an invented one that merely looks right. A referent this session has not itself verified — a path, symbol, or enumerated set written from recollection — is marked for the receiver to confirm rather than presented as fact. For anything this session does not hold, the prompt must tell the receiver how to obtain it — run the command, read the file. If you find a placeholder, an invented value, or an unmarked recollection, send the draft back through prompt-engineering to fix it.
When a workflow step invoked this skill for a body to dispatch, the finished prompt is the deliverable to that workflow: state it in full and stop. The invoking workflow owns delivery — do not ask about files or the clipboard, and do not dispatch anything yourself.
On a direct user request, present the finished prompt in your reply. Then ask whether to save it to a file or copy it to the clipboard — choose neither by default. Deliver it according to the answer.
What SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
npx claudepluginhub it-bens/ai-tools --plugin llm-author5 skills in this plugin
/content-editingEvaluates proposed changes to LLM-targeted content (skills, agents, commands) and guides toward corrections over additions. MUST invoke when editing SKILL.md files, modifying agent markdown in agents/, updating command markdown in commands/, adding new sections or instructions, expanding skill content, user says "is this too long", "content bloat", "should I add this", or improving/enhancing skills./prompt-engineeringUse when the user asks to create, write, improve, or debug a prompt, build a prompt chain, design a system prompt, adapt a prompt for GPT-6, GPT-6.1, or GPT-5.6 (OpenAI), GLM 4.7 (Z.ai), or Gemini 3, create a Gemini deep research prompt, migrate a prompt or skill from Claude 4 to Claude 5, from Opus 5 to Opus 5.5, from Sonnet 5 to Sonnet 5.5, from Haiku 4.5 to Haiku 5.5, or between GPT versions (e.g. GPT-5.6 to GPT-6, GPT-6 Sol to GPT-6.1 Sol), optimize LLM-targeted content (skills, agents, instructions, documentation), author a prompt an invoking workflow dispatches to a worker process, distill prompt-authoring rules into a session-scoped ruleset, or needs prompt engineering guidance. Also handles prompt refinement and follow-up modifications./rule-file-writingUse when creating or optimizing a rule file for per-token behavioral steering. Rule files are instruction files that an AI coding assistant automatically loads for a matching user, project, or directory scope; they are NOT skills, agents, or commands. Trigger on "write a rule about X", "create a rules file", "optimize this rules file", "cut ballast from this rule file", or any request to author or refine an auto-loaded file whose purpose is persistent behavioral steering./writing-session-feedbackUse when the user explicitly asks to write feedback, a report, or a note for another session — typically the upstream session that defined the work this session just executed (it wrote the spec, performed the review, or made the plan), so that session can confirm the work was done correctly and calibrate its future specs and reviews. Invoke on such an explicit request or when the dispatch message that defined this session's work directs a feedback note as part of its report contract — never proactively otherwise. Produces a calibration note addressed to that session, anchored to the concrete change (branch, commit(s), verification state), then offers to save it to a file or copy it to the clipboard — or, when a dispatch's report contract directed the note, sends it to the directing session per that contract instead of asking.Other plugins' skills for the same job