{"name":"handoff-prompt","title":"Handoff prompt","description":"Write work that is going to another session, agent or person as one self-contained block they can copy without editing: the receiver's missing context restated rather than referenced, every claim carrying where it came from, scope and non-goals stated, and the fence chosen so nested code cannot break it. Symptoms: write this as a prompt I can paste, draft a brief for another agent, file this as a feature request against another repo, hand this to the team that owns X, put it in a code block so I can copy it, I'll pass this over. Commentary to the sender stays outside the block and the block stays whole. It does not do the work it describes and it does not open the issue or the pull request — to write into another repository use work-in-external-repo, and when you need an answer back rather than to hand work away, use request-answers.","compatibility":"Any harness whose output the sender can select and copy — a terminal, a chat surface, an IDE panel. Needs read access to whatever the claims are drawn from, because a handoff that cites nothing is the failure mode this exists to prevent. Output is one fenced markdown block plus a short covering note, so it fits a paste into another session, an issue body, or an email without editing.","allowedTools":"Read Grep Glob Bash","license":"MIT","kind":"requestOnly","useWhen":"work is going to another session, agent, repository or person and the sender will copy it across","group":"workflow","lifecycle":"release","version":"1.0.1","author":"crissmoldovan","install":["npx skills add crissmoldovan/agent-skills --skill handoff-prompt"],"asks":["Write this up as a prompt I can paste into a session working on <other-repo>.\nRestate whatever they need — they have none of this context — and anchor each\nclaim to a path and line so they can check it rather than take my word.","Draft the feature request against the shared UI library. Say plainly what we\nneed and what we are NOT asking them to do, because last time the scope grew.\nOne block, nothing after it.","I'm handing this to tomorrow's session. Write the brief: what is done with its\nevidence, what is running, what the next act is and what it waits on. Assume the\nreader knows nothing about today."],"commands":[],"documents":[{"path":"references/handoff-contract.md","slug":"handoff-contract","title":"The handoff contract","body":"# The handoff contract\n\nThe anatomy of the block, the fence rules in full, and three variants. The skill\nbody carries the procedure; this carries the detail that would otherwise sit in\nan always-loaded instruction file.\n\n## Anatomy\n\nA handoff block has five parts, in this order. Only the first two are mandatory.\n\n| Part | Content | Why it is where it is |\n| --- | --- | --- |\n| **Address** | Who this is for, in one line | The receiver decides in seconds whether it is theirs; a preamble spends that time |\n| **Ask** | What is wanted, in one sentence | Everything after it is support; a reader who stops here still knows what to do |\n| **Context they lack** | The facts restated, each anchored | The receiver's session is empty. Assume nothing carried |\n| **Scope and non-goals** | What is and is not being asked | Prevents both over-delivery and refusal-for-vagueness |\n| **Open questions** | Choices genuinely left to the receiver | Only if real. An empty section invites invention |\n\nAnything that does not serve the receiver belongs above the fence, in the\ncovering note to the sender.\n\n## Fence rules\n\nA handoff about code contains code. Code contains fences. Get this wrong and the\npaste truncates silently.\n\n1. **Count the longest run of backticks anywhere in the content**, including\n   inside prose and inline spans.\n2. **Use at least one more.** Content with a three-backtick block needs a\n   four-backtick fence; content with a four-backtick block needs five.\n3. **Or use tildes.** `~~~~` never collides with backticks and is legal markdown.\n   Prefer it when the content's fencing is unpredictable.\n4. **Give the outer fence a language hint of `text`**, not the language of the\n   content. The block is a prompt, not a program; `text` stops a renderer from\n   syntax-colouring prose.\n5. **Never nest a fence of equal length.** Renderers differ on which one closes,\n   and the sender will not notice until the receiver acts on half a brief.\n\nA one-line check before sending: paste the whole block into a markdown preview.\nOne block means the fence held. Two or more means it did not.\n\n## Variant: a feature request against another repository\n\nAdd, after the ask:\n\n- **Where the need came from** — the consumer, and what it currently does instead\n  (a patch, a fork, a workaround) with a path.\n- **The shape, if you have written it already.** A patch that exists is the most\n  persuasive form of a request: the change, written, and exercised.\n- **The cost of not doing it**, to *them* where possible — maintenance they will\n  carry, consumers who will diverge — rather than to you.\n- **What stays yours.** The line between the library's concern and the consumer's\n  is the thing most likely to be argued about; draw it first.\n\nDo not include: a deadline, an effort estimate, or a priority. None is the\nrequester's to set, and each reliably costs goodwill.\n\n## Variant: a brief for an agent in another session\n\nAdd:\n\n- **The repository and branch**, by remote and name, not by local path.\n- **Where to start** — the entry point or the first file to read.\n- **The definition of done**, as a check that can be run.\n- **What not to touch**, especially anything the current session is mid-way\n  through.\n\nAgents comply with instructions more literally than people. An ambiguity a\ncolleague would resolve sensibly is an ambiguity an agent will resolve\nsurprisingly, so spend words on the boundaries rather than the goal.\n\n## Variant: a handover to the next session\n\nAdd:\n\n- **What is done, with evidence** — commands run and their results, not \"the tests\n  pass\".\n- **What is running**, with its state as last observed.\n- **The next act**, and what it waits on.\n- **What was tried and abandoned**, so the next session does not re-run it.\n\nThis overlaps `report-progress`, which owns the shape of a progress report. Use\nthat skill for the content of the three sections and this one for making the\nresult pasteable.\n\n## Redaction\n\nA handoff is a paste into a destination you do not control: another agent's\ncontext, an issue tracker, a chat, an email. Treat it as publication.\n\nRemove before sending: credentials of any kind, internal hostnames, customer or\nclient names, absolute paths under a home directory, session and run identifiers\nfrom this harness, and ticket references the receiver cannot open. Replace a\nremoved fact with what the receiver actually needs — `<the deploy host>` rather\nthan the hostname, `a customer on the enterprise plan` rather than the name.\n\nIf a claim cannot survive redaction, it cannot go in the handoff. Say instead\nwhat the receiver should ask for, and from whom.\n","bodyHtml":"<h2 id=\"the-handoff-contract\">The handoff contract</h2>\n<p>The anatomy of the block, the fence rules in full, and three variants. The skill\nbody carries the procedure; this carries the detail that would otherwise sit in\nan always-loaded instruction file.</p>\n<h3 id=\"anatomy\">Anatomy</h3>\n<p>A handoff block has five parts, in this order. Only the first two are mandatory.</p>\n<table>\n<thead>\n<tr>\n<th>Part</th>\n<th>Content</th>\n<th>Why it is where it is</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><strong>Address</strong></td>\n<td>Who this is for, in one line</td>\n<td>The receiver decides in seconds whether it is theirs; a preamble spends that time</td>\n</tr>\n<tr>\n<td><strong>Ask</strong></td>\n<td>What is wanted, in one sentence</td>\n<td>Everything after it is support; a reader who stops here still knows what to do</td>\n</tr>\n<tr>\n<td><strong>Context they lack</strong></td>\n<td>The facts restated, each anchored</td>\n<td>The receiver&#39;s session is empty. Assume nothing carried</td>\n</tr>\n<tr>\n<td><strong>Scope and non-goals</strong></td>\n<td>What is and is not being asked</td>\n<td>Prevents both over-delivery and refusal-for-vagueness</td>\n</tr>\n<tr>\n<td><strong>Open questions</strong></td>\n<td>Choices genuinely left to the receiver</td>\n<td>Only if real. An empty section invites invention</td>\n</tr>\n</tbody></table>\n<p>Anything that does not serve the receiver belongs above the fence, in the\ncovering note to the sender.</p>\n<h3 id=\"fence-rules\">Fence rules</h3>\n<p>A handoff about code contains code. Code contains fences. Get this wrong and the\npaste truncates silently.</p>\n<ol>\n<li><strong>Count the longest run of backticks anywhere in the content</strong>, including\ninside prose and inline spans.</li>\n<li><strong>Use at least one more.</strong> Content with a three-backtick block needs a\nfour-backtick fence; content with a four-backtick block needs five.</li>\n<li><strong>Or use tildes.</strong> <code>~~~~</code> never collides with backticks and is legal markdown.\nPrefer it when the content&#39;s fencing is unpredictable.</li>\n<li><strong>Give the outer fence a language hint of <code>text</code></strong>, not the language of the\ncontent. The block is a prompt, not a program; <code>text</code> stops a renderer from\nsyntax-colouring prose.</li>\n<li><strong>Never nest a fence of equal length.</strong> Renderers differ on which one closes,\nand the sender will not notice until the receiver acts on half a brief.</li>\n</ol>\n<p>A one-line check before sending: paste the whole block into a markdown preview.\nOne block means the fence held. Two or more means it did not.</p>\n<h3 id=\"variant-a-feature-request-against-another-repository\">Variant: a feature request against another repository</h3>\n<p>Add, after the ask:</p>\n<ul>\n<li><strong>Where the need came from</strong> — the consumer, and what it currently does instead\n(a patch, a fork, a workaround) with a path.</li>\n<li><strong>The shape, if you have written it already.</strong> A patch that exists is the most\npersuasive form of a request: the change, written, and exercised.</li>\n<li><strong>The cost of not doing it</strong>, to <em>them</em> where possible — maintenance they will\ncarry, consumers who will diverge — rather than to you.</li>\n<li><strong>What stays yours.</strong> The line between the library&#39;s concern and the consumer&#39;s\nis the thing most likely to be argued about; draw it first.</li>\n</ul>\n<p>Do not include: a deadline, an effort estimate, or a priority. None is the\nrequester&#39;s to set, and each reliably costs goodwill.</p>\n<h3 id=\"variant-a-brief-for-an-agent-in-another-session\">Variant: a brief for an agent in another session</h3>\n<p>Add:</p>\n<ul>\n<li><strong>The repository and branch</strong>, by remote and name, not by local path.</li>\n<li><strong>Where to start</strong> — the entry point or the first file to read.</li>\n<li><strong>The definition of done</strong>, as a check that can be run.</li>\n<li><strong>What not to touch</strong>, especially anything the current session is mid-way\nthrough.</li>\n</ul>\n<p>Agents comply with instructions more literally than people. An ambiguity a\ncolleague would resolve sensibly is an ambiguity an agent will resolve\nsurprisingly, so spend words on the boundaries rather than the goal.</p>\n<h3 id=\"variant-a-handover-to-the-next-session\">Variant: a handover to the next session</h3>\n<p>Add:</p>\n<ul>\n<li><strong>What is done, with evidence</strong> — commands run and their results, not &quot;the tests\npass&quot;.</li>\n<li><strong>What is running</strong>, with its state as last observed.</li>\n<li><strong>The next act</strong>, and what it waits on.</li>\n<li><strong>What was tried and abandoned</strong>, so the next session does not re-run it.</li>\n</ul>\n<p>This overlaps <code>report-progress</code>, which owns the shape of a progress report. Use\nthat skill for the content of the three sections and this one for making the\nresult pasteable.</p>\n<h3 id=\"redaction\">Redaction</h3>\n<p>A handoff is a paste into a destination you do not control: another agent&#39;s\ncontext, an issue tracker, a chat, an email. Treat it as publication.</p>\n<p>Remove before sending: credentials of any kind, internal hostnames, customer or\nclient names, absolute paths under a home directory, session and run identifiers\nfrom this harness, and ticket references the receiver cannot open. Replace a\nremoved fact with what the receiver actually needs — <code>&lt;the deploy host&gt;</code> rather\nthan the hostname, <code>a customer on the enterprise plan</code> rather than the name.</p>\n<p>If a claim cannot survive redaction, it cannot go in the handoff. Say instead\nwhat the receiver should ask for, and from whom.</p>\n","words":795}],"body":"# Handoff prompt\n\nWork moves between sessions constantly — to an agent in another repository, to a\ncolleague who owns the component, to tomorrow's context window — and it moves as\nprose written for whoever was in the room. The receiver opens with none of it: no\ntranscript, no file open, no memory of which of four options was chosen. What\nreads as a complete instruction to the sender reads as a riddle to them.\n\nTwo failures do most of the damage, and they look nothing alike.\n\nThe first is **reference instead of restatement**: \"apply the fix we discussed to\nthat component\". Every noun in it resolves only in a conversation the receiver\ncannot see. They ask, or they guess; guessing is worse and more common.\n\nThe second is **the unpasteable deliverable**: the handoff arrives interleaved\nwith commentary to the sender — *here's what I'd send, though you may want to\nsoften the second paragraph* — so there is no contiguous region to select. The\nsender edits by hand, and edits are where scope quietly changes.\n\nThis skill fixes the shape. **The block is the deliverable.** Everything the\nreceiver needs is inside one fence; everything the sender needs to decide whether\nto send it stays outside.\n\n## When to Use\n\n- The sender says any of: *write this as a prompt*, *draft a brief for another\n  agent*, *file this against repo X*, *hand this to the team that owns Y*, *put it\n  in a code block*, *I'll pass this on*.\n- Work is being delegated to a session that will not share this one's context — a\n  subagent in another repository, a second window, a scheduled run.\n- A finding here becomes a request there: a bug in a dependency, a component gap\n  in a shared library, an infrastructure change another team owns.\n- A session is ending with work unfinished and the next one starts cold.\n\nDo not use it when the receiver is the person already reading: they have the\ncontext, and a fenced block is then ceremony that hides the answer. Do not use it\nto write a document that lives in a repository — that is a file with a path, not a\nprompt to paste. And do not use it to perform the work it describes: it produces\nthe ask, not the change.\n\n## Prerequisites\n\n1. **The receiver, named.** A repository, a team, a session, a person. \"Another\n   agent\" is not a receiver; the maintainer of `acme/design-system` is.\n   **Complete when:** the handoff can say who it is for in its first line.\n2. **What the receiver already knows.** Everything else must be restated. Assume\n   no shared transcript, no open file, no memory of this session's decisions.\n   **Complete when:** the shared baseline is written down, even as \"assume they\n   know only the public README\".\n3. **The evidence behind every claim.** A path and line, a command and its output,\n   a version, a measurement. A claim you cannot source is a claim the receiver\n   cannot check.\n   **Complete when:** each intended claim has its source, or is marked as the\n   sender's judgement rather than a fact.\n4. **The decision already made, or explicitly open.** A handoff that is secretly\n   asking the receiver to choose wastes a round trip.\n   **Complete when:** every choice is either settled in the text or listed as a\n   question for the receiver.\n\n## Procedure\n\n1. **Name the receiver and the ask in the first two lines of the block.** Not a\n   preamble about where this came from. The receiver decides in five seconds\n   whether this is theirs.\n   **Complete when:** line one says who and what, and nothing above it is needed\n   to understand line two.\n\n2. **Restate the context; do not reference it.** Replace every \"the fix we\n   discussed\", \"that file\", \"as above\" and \"the issue you mentioned\" with the\n   thing itself. Pronouns whose antecedent is in this session are the specific\n   defect to hunt.\n   **Complete when:** no sentence in the block depends on anything outside the\n   block, and no deictic (\"this\", \"that\", \"the one\") points out of it.\n\n3. **Anchor each claim where it came from.** `path:line`, a command with its\n   output, a version number, a date. Where the claim is a judgement, say so in the\n   same sentence — the receiver is entitled to disagree with judgement and not\n   with a measurement.\n   **Complete when:** a reader who trusts nothing can re-derive every factual\n   claim from what the block gives them.\n\n4. **State the scope and the non-goals.** What you are asking for, and what you\n   are explicitly not asking for. Non-goals prevent the two expensive failures:\n   the receiver doing far more than wanted, and the receiver refusing because the\n   ask looked unbounded.\n   **Complete when:** the block contains at least one sentence beginning \"not\n   asking for\" or its equivalent.\n\n5. **Strip what does not travel.** Machine-local absolute paths, session ids,\n   scratch directories, temporary branch names, ticket numbers from a tracker the\n   receiver cannot open — and anything secret. A token, a key, an internal\n   hostname or a customer name must never cross a handoff.\n   **Complete when:** every path is repository-relative or explained, and a scan\n   for credentials, absolute home paths and internal identifiers comes back empty.\n\n6. **Choose a fence longer than anything inside it.** Handoffs about code contain\n   code, and code contains fences. Three backticks inside a three-backtick block\n   truncates the paste, usually silently and usually at the worst place. Count the\n   longest run of backticks in the content and use at least one more, or use a\n   tilde fence.\n   **Complete when:** the block's fence is strictly longer than the longest\n   backtick run inside it, and pasting the whole block into a markdown renderer\n   shows one block rather than several.\n\n7. **Put the covering note outside, above, and short.** The sender needs to know\n   what they are about to send and what you assumed. That is two or three\n   sentences before the fence — never after it, because anything after the fence\n   is routinely pasted along with it.\n   **Complete when:** nothing below the closing fence is needed by either the\n   sender or the receiver.\n\n8. **Run the Verification checklist over the block before handing it over.**\n   **Complete when:** every box is ticked, or the block is edited until they are.\n\n## Usage Examples\n\n```text\nWrite this up as a prompt I can paste into a session working on <other-repo>.\nRestate whatever they need — they have none of this context — and anchor each\nclaim to a path and line so they can check it rather than take my word.\n```\n\n```text\nDraft the feature request against the shared UI library. Say plainly what we\nneed and what we are NOT asking them to do, because last time the scope grew.\nOne block, nothing after it.\n```\n\n```text\nI'm handing this to tomorrow's session. Write the brief: what is done with its\nevidence, what is running, what the next act is and what it waits on. Assume the\nreader knows nothing about today.\n```\n\n## What it looks like\n\nSpecimens, not prompts. The asks are above; these are what the block should and should not look like.\n\n### A handoff that works\n\n````text\nFor: the session working on acme/design-system.\n\nAsk: add an `inline` variant to `ToolCall` and `ToolGroup`.\n\nContext you do not have: a console in another repository renders twenty tool\nrows per transcript. It currently patches your published package to get this —\n`patches/@acme__ui@0.10.0.patch`, 9 hunks across\n`dist/elements/tool-call.{js,d.ts}` and `tool-group.{js,d.ts}` — so the change\nalready exists and is exercised by a real consumer.\n\nThe shape, as patched:\n\n```ts\nvariant?: \"default\" | \"inline\";\n```\n\nWhy it matters to you rather than to us: the patch must be re-applied on every\nrelease, and a version bump silently drops the treatment.\n\nNot asking for: the transcript assembly, or anything that knows what an agent\nis. That stays in the consumer.\n````\n\nNote the four-backtick outer fence: the content contains a three-backtick `ts`\nblock, and a three-backtick outer fence would have ended the paste at `variant?`.\n\n### The same handoff, as it usually arrives\n\n```text\nCan you ask them to add the inline variant we talked about? It's the thing the\npatch does. Should be quick — though check with me first about whether the\ncompact mode stuff goes in the same request, I'm not sure.\n```\n\nFour defects in three sentences. \"The inline variant we talked about\" and \"the\nthing the patch does\" resolve only here. There is no repository named, so the\nreceiver does not know it is theirs. \"Should be quick\" is an estimate of someone\nelse's work from someone who will not do it. And the last clause asks the sender\na question inside the text meant for the receiver, so it cannot be sent at all.\n\n## Pitfalls\n\n- **The unresolvable pronoun.** \"That component\", \"the fix\", \"as discussed\". It\n  reads as complete to the sender because the antecedent is in their head. This is\n  the single most common defect and the easiest to grep for.\n- **Commentary inside the fence.** *You might want to reword this* addressed to the\n  sender, sitting in the middle of text addressed to the receiver. It gets sent.\n- **The truncating fence.** Three backticks around content containing three\n  backticks. The paste ends early, the receiver acts on half a brief, and nobody\n  notices until the work comes back wrong.\n- **Machine-local paths.** A path rooted in someone's home directory tells the\n  receiver nothing and makes the sender look careless. Repository-relative or\n  nothing. (This pack's own catalogue validator refuses such a path in any skill\n  file — including, on the first run, in this skill's illustration of the rule.)\n- **Secrets crossing a boundary.** A handoff is a copy-paste into an unknown\n  destination — another agent's context, an issue tracker, a chat. Treat it as\n  publication.\n- **Estimating the receiver's effort.** \"Should be quick\" is not yours to say, and\n  it reliably annoys the person who has to do it.\n- **Asking the sender a question inside the receiver's text.** If a choice is\n  genuinely open, put it in the covering note above the fence, or list it inside as\n  an explicit question *to the receiver*.\n- **Conclusions without provenance.** \"X is broken\" invites disagreement with no\n  way to resolve it. \"X returns 500 at `src/api/x.ts:42` when `id` is absent — see\n  the test at `test/x.test.ts:18`\" does not.\n\n## Verification\n\n- [ ] The first two lines name the receiver and the ask.\n- [ ] No sentence depends on anything outside the block; no pronoun points out of it.\n- [ ] Every factual claim carries its source; every judgement is labelled as one.\n- [ ] Scope and at least one non-goal are stated.\n- [ ] No machine-local absolute paths, session ids, scratch directories, or secrets.\n- [ ] The outer fence is strictly longer than the longest backtick run inside it.\n- [ ] The covering note is above the fence and nothing below it is load-bearing.\n- [ ] Pasting the block alone, with no surrounding text, is a complete instruction.\n\nThe handoff is finished when the sender could send it without reading it, and the\nreceiver could act on it without replying.\n\nSee [`references/handoff-contract.md`](references/handoff-contract.md) for the\nblock's anatomy, the fence rules in full, and variants for a feature request, an\nagent brief and a session handover.\n","bodyHtml":"<h2 id=\"handoff-prompt\">Handoff prompt</h2>\n<p>Work moves between sessions constantly — to an agent in another repository, to a\ncolleague who owns the component, to tomorrow&#39;s context window — and it moves as\nprose written for whoever was in the room. The receiver opens with none of it: no\ntranscript, no file open, no memory of which of four options was chosen. What\nreads as a complete instruction to the sender reads as a riddle to them.</p>\n<p>Two failures do most of the damage, and they look nothing alike.</p>\n<p>The first is <strong>reference instead of restatement</strong>: &quot;apply the fix we discussed to\nthat component&quot;. Every noun in it resolves only in a conversation the receiver\ncannot see. They ask, or they guess; guessing is worse and more common.</p>\n<p>The second is <strong>the unpasteable deliverable</strong>: the handoff arrives interleaved\nwith commentary to the sender — <em>here&#39;s what I&#39;d send, though you may want to\nsoften the second paragraph</em> — so there is no contiguous region to select. The\nsender edits by hand, and edits are where scope quietly changes.</p>\n<p>This skill fixes the shape. <strong>The block is the deliverable.</strong> Everything the\nreceiver needs is inside one fence; everything the sender needs to decide whether\nto send it stays outside.</p>\n<h3 id=\"when-to-use\">When to Use</h3>\n<ul>\n<li>The sender says any of: <em>write this as a prompt</em>, <em>draft a brief for another\nagent</em>, <em>file this against repo X</em>, <em>hand this to the team that owns Y</em>, <em>put it\nin a code block</em>, <em>I&#39;ll pass this on</em>.</li>\n<li>Work is being delegated to a session that will not share this one&#39;s context — a\nsubagent in another repository, a second window, a scheduled run.</li>\n<li>A finding here becomes a request there: a bug in a dependency, a component gap\nin a shared library, an infrastructure change another team owns.</li>\n<li>A session is ending with work unfinished and the next one starts cold.</li>\n</ul>\n<p>Do not use it when the receiver is the person already reading: they have the\ncontext, and a fenced block is then ceremony that hides the answer. Do not use it\nto write a document that lives in a repository — that is a file with a path, not a\nprompt to paste. And do not use it to perform the work it describes: it produces\nthe ask, not the change.</p>\n<h3 id=\"prerequisites\">Prerequisites</h3>\n<ol>\n<li><strong>The receiver, named.</strong> A repository, a team, a session, a person. &quot;Another\nagent&quot; is not a receiver; the maintainer of <code>acme/design-system</code> is.\n<strong>Complete when:</strong> the handoff can say who it is for in its first line.</li>\n<li><strong>What the receiver already knows.</strong> Everything else must be restated. Assume\nno shared transcript, no open file, no memory of this session&#39;s decisions.\n<strong>Complete when:</strong> the shared baseline is written down, even as &quot;assume they\nknow only the public README&quot;.</li>\n<li><strong>The evidence behind every claim.</strong> A path and line, a command and its output,\na version, a measurement. A claim you cannot source is a claim the receiver\ncannot check.\n<strong>Complete when:</strong> each intended claim has its source, or is marked as the\nsender&#39;s judgement rather than a fact.</li>\n<li><strong>The decision already made, or explicitly open.</strong> A handoff that is secretly\nasking the receiver to choose wastes a round trip.\n<strong>Complete when:</strong> every choice is either settled in the text or listed as a\nquestion for the receiver.</li>\n</ol>\n<h3 id=\"procedure\">Procedure</h3>\n<ol>\n<li><p><strong>Name the receiver and the ask in the first two lines of the block.</strong> Not a\npreamble about where this came from. The receiver decides in five seconds\nwhether this is theirs.\n<strong>Complete when:</strong> line one says who and what, and nothing above it is needed\nto understand line two.</p>\n</li>\n<li><p><strong>Restate the context; do not reference it.</strong> Replace every &quot;the fix we\ndiscussed&quot;, &quot;that file&quot;, &quot;as above&quot; and &quot;the issue you mentioned&quot; with the\nthing itself. Pronouns whose antecedent is in this session are the specific\ndefect to hunt.\n<strong>Complete when:</strong> no sentence in the block depends on anything outside the\nblock, and no deictic (&quot;this&quot;, &quot;that&quot;, &quot;the one&quot;) points out of it.</p>\n</li>\n<li><p><strong>Anchor each claim where it came from.</strong> <code>path:line</code>, a command with its\noutput, a version number, a date. Where the claim is a judgement, say so in the\nsame sentence — the receiver is entitled to disagree with judgement and not\nwith a measurement.\n<strong>Complete when:</strong> a reader who trusts nothing can re-derive every factual\nclaim from what the block gives them.</p>\n</li>\n<li><p><strong>State the scope and the non-goals.</strong> What you are asking for, and what you\nare explicitly not asking for. Non-goals prevent the two expensive failures:\nthe receiver doing far more than wanted, and the receiver refusing because the\nask looked unbounded.\n<strong>Complete when:</strong> the block contains at least one sentence beginning &quot;not\nasking for&quot; or its equivalent.</p>\n</li>\n<li><p><strong>Strip what does not travel.</strong> Machine-local absolute paths, session ids,\nscratch directories, temporary branch names, ticket numbers from a tracker the\nreceiver cannot open — and anything secret. A token, a key, an internal\nhostname or a customer name must never cross a handoff.\n<strong>Complete when:</strong> every path is repository-relative or explained, and a scan\nfor credentials, absolute home paths and internal identifiers comes back empty.</p>\n</li>\n<li><p><strong>Choose a fence longer than anything inside it.</strong> Handoffs about code contain\ncode, and code contains fences. Three backticks inside a three-backtick block\ntruncates the paste, usually silently and usually at the worst place. Count the\nlongest run of backticks in the content and use at least one more, or use a\ntilde fence.\n<strong>Complete when:</strong> the block&#39;s fence is strictly longer than the longest\nbacktick run inside it, and pasting the whole block into a markdown renderer\nshows one block rather than several.</p>\n</li>\n<li><p><strong>Put the covering note outside, above, and short.</strong> The sender needs to know\nwhat they are about to send and what you assumed. That is two or three\nsentences before the fence — never after it, because anything after the fence\nis routinely pasted along with it.\n<strong>Complete when:</strong> nothing below the closing fence is needed by either the\nsender or the receiver.</p>\n</li>\n<li><p><strong>Run the Verification checklist over the block before handing it over.</strong>\n<strong>Complete when:</strong> every box is ticked, or the block is edited until they are.</p>\n</li>\n</ol>\n<h3 id=\"usage-examples\">Usage Examples</h3>\n<pre><code class=\"language-text\">Write this up as a prompt I can paste into a session working on &lt;other-repo&gt;.\nRestate whatever they need — they have none of this context — and anchor each\nclaim to a path and line so they can check it rather than take my word.\n</code></pre>\n<pre><code class=\"language-text\">Draft the feature request against the shared UI library. Say plainly what we\nneed and what we are NOT asking them to do, because last time the scope grew.\nOne block, nothing after it.\n</code></pre>\n<pre><code class=\"language-text\">I&#39;m handing this to tomorrow&#39;s session. Write the brief: what is done with its\nevidence, what is running, what the next act is and what it waits on. Assume the\nreader knows nothing about today.\n</code></pre>\n<h3 id=\"what-it-looks-like\">What it looks like</h3>\n<p>Specimens, not prompts. The asks are above; these are what the block should and should not look like.</p>\n<h4 id=\"a-handoff-that-works\">A handoff that works</h4>\n<pre><code class=\"language-text\">For: the session working on acme/design-system.\n\nAsk: add an `inline` variant to `ToolCall` and `ToolGroup`.\n\nContext you do not have: a console in another repository renders twenty tool\nrows per transcript. It currently patches your published package to get this —\n`patches/@acme__ui@0.10.0.patch`, 9 hunks across\n`dist/elements/tool-call.{js,d.ts}` and `tool-group.{js,d.ts}` — so the change\nalready exists and is exercised by a real consumer.\n\nThe shape, as patched:\n\n```ts\nvariant?: &quot;default&quot; | &quot;inline&quot;;\n```\n\nWhy it matters to you rather than to us: the patch must be re-applied on every\nrelease, and a version bump silently drops the treatment.\n\nNot asking for: the transcript assembly, or anything that knows what an agent\nis. That stays in the consumer.\n</code></pre>\n<p>Note the four-backtick outer fence: the content contains a three-backtick <code>ts</code>\nblock, and a three-backtick outer fence would have ended the paste at <code>variant?</code>.</p>\n<h4 id=\"the-same-handoff-as-it-usually-arrives\">The same handoff, as it usually arrives</h4>\n<pre><code class=\"language-text\">Can you ask them to add the inline variant we talked about? It&#39;s the thing the\npatch does. Should be quick — though check with me first about whether the\ncompact mode stuff goes in the same request, I&#39;m not sure.\n</code></pre>\n<p>Four defects in three sentences. &quot;The inline variant we talked about&quot; and &quot;the\nthing the patch does&quot; resolve only here. There is no repository named, so the\nreceiver does not know it is theirs. &quot;Should be quick&quot; is an estimate of someone\nelse&#39;s work from someone who will not do it. And the last clause asks the sender\na question inside the text meant for the receiver, so it cannot be sent at all.</p>\n<h3 id=\"pitfalls\">Pitfalls</h3>\n<ul>\n<li><strong>The unresolvable pronoun.</strong> &quot;That component&quot;, &quot;the fix&quot;, &quot;as discussed&quot;. It\nreads as complete to the sender because the antecedent is in their head. This is\nthe single most common defect and the easiest to grep for.</li>\n<li><strong>Commentary inside the fence.</strong> <em>You might want to reword this</em> addressed to the\nsender, sitting in the middle of text addressed to the receiver. It gets sent.</li>\n<li><strong>The truncating fence.</strong> Three backticks around content containing three\nbackticks. The paste ends early, the receiver acts on half a brief, and nobody\nnotices until the work comes back wrong.</li>\n<li><strong>Machine-local paths.</strong> A path rooted in someone&#39;s home directory tells the\nreceiver nothing and makes the sender look careless. Repository-relative or\nnothing. (This pack&#39;s own catalogue validator refuses such a path in any skill\nfile — including, on the first run, in this skill&#39;s illustration of the rule.)</li>\n<li><strong>Secrets crossing a boundary.</strong> A handoff is a copy-paste into an unknown\ndestination — another agent&#39;s context, an issue tracker, a chat. Treat it as\npublication.</li>\n<li><strong>Estimating the receiver&#39;s effort.</strong> &quot;Should be quick&quot; is not yours to say, and\nit reliably annoys the person who has to do it.</li>\n<li><strong>Asking the sender a question inside the receiver&#39;s text.</strong> If a choice is\ngenuinely open, put it in the covering note above the fence, or list it inside as\nan explicit question <em>to the receiver</em>.</li>\n<li><strong>Conclusions without provenance.</strong> &quot;X is broken&quot; invites disagreement with no\nway to resolve it. &quot;X returns 500 at <code>src/api/x.ts:42</code> when <code>id</code> is absent — see\nthe test at <code>test/x.test.ts:18</code>&quot; does not.</li>\n</ul>\n<h3 id=\"verification\">Verification</h3>\n<ul>\n<li><input disabled=\"\" type=\"checkbox\"> The first two lines name the receiver and the ask.</li>\n<li><input disabled=\"\" type=\"checkbox\"> No sentence depends on anything outside the block; no pronoun points out of it.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every factual claim carries its source; every judgement is labelled as one.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Scope and at least one non-goal are stated.</li>\n<li><input disabled=\"\" type=\"checkbox\"> No machine-local absolute paths, session ids, scratch directories, or secrets.</li>\n<li><input disabled=\"\" type=\"checkbox\"> The outer fence is strictly longer than the longest backtick run inside it.</li>\n<li><input disabled=\"\" type=\"checkbox\"> The covering note is above the fence and nothing below it is load-bearing.</li>\n<li><input disabled=\"\" type=\"checkbox\"> Pasting the block alone, with no surrounding text, is a complete instruction.</li>\n</ul>\n<p>The handoff is finished when the sender could send it without reading it, and the\nreceiver could act on it without replying.</p>\n<p>See <a href=\"references/handoff-contract.md\"><code>references/handoff-contract.md</code></a> for the\nblock&#39;s anatomy, the fence rules in full, and variants for a feature request, an\nagent brief and a session handover.</p>\n","outline":["When to Use","Prerequisites","Procedure","Usage Examples","What it looks like","Pitfalls","Verification"],"words":1886}
