/rpi:create_handofffrom rpi
Generates a structured handoff document with metadata, task status, and next steps for transferring work between Claude Code sessions.
Ships in rpi. 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 are tasked with writing a handoff document to hand off your work to another agent in a new session. You will create a handoff document that is thorough, but also concise. The goal is to compact and summarize your context without losing any of the key details of what you're working on.
Run spec-metadata to get date, time, git commit, branch, and repository name.
Create your file under ./thoughts/shared/handoffs/ENG-XXXX/YYYY-MM-DD/HH-MM-SS_ENG-ZZZZ_description.md, where:
general if no ticket)Examples:
2025-01-08/13-55-22_ENG-XXXX_create-context-compaction.md2025-01-08/13-55-22_create-context-compaction.mdusing the above conventions, write your document. use the defined filepath, and the following YAML frontmatter pattern. Use the metadata gathered in step 1, Structure the document with YAML frontmatter followed by content:
Use the following template structure:
---
date: [Current date and time with timezone in ISO format]
researcher: [Researcher name from thoughts status]
git_commit: [Current commit hash]
branch: [Current branch name]
repository: [Repository name]
topic: "[Feature/Task Name] Implementation Strategy"
tags: [implementation, strategy, relevant-component-names]
status: complete
last_updated: [Current date in YYYY-MM-DD format]
last_updated_by: [Researcher name]
type: implementation_strategy
---
# Handoff: ENG-XXXX {very concise description}
## Task(s)
{description of the task(s) that you were working on, along with the status of each (completed, work in progress, planned/discussed). Reference the ticket, design note or research documents you were working from, if any.}
## Critical References
{List any critical specification documents, architectural decisions, or design docs that must be followed. Include only 2-3 most important file paths. Leave blank if none.}
## Recent changes
{describe recent changes made to the codebase that you made in line:file syntax}
## Learnings
{describe important things that you learned - e.g. patterns, root causes of bugs, or other important pieces of information someone that is picking up your work after you should know. consider listing explicit file paths.}
## Artifacts
{ an exhaustive list of artifacts you produced or updated as filepaths and/or file:line references - e.g. paths to feature documents, etc that should be read in order to resume your work.}
## Action Items & Next Steps
{ a list of action items and next steps for the next agent to accomplish based on your tasks and their statuses}
## Other Notes
{ other notes, references, or useful information - e.g. where relevant sections of the codebase are, where relevant documents are, or other important things you leanrned that you want to pass on but that don't fall into the above categories}
Run thoughts-sync to save the document.
Once this is completed, you should respond to the user with the template between <template_response></template_response> XML tags. do NOT include the tags in your response.
<template_response> Handoff created and synced! You can resume from this handoff in a new session with the following command:
/rpi:resume_handoff path/to/handoff.md
</template_response>
for example (between <example_response></example_response> XML tags - do NOT include these tags in your actual response to the user)
<example_response> Handoff created and synced! You can resume from this handoff in a new session with the following command:
/rpi:resume_handoff ./thoughts/shared/handoffs/ENG-XXXX/2025-01-08/13-44-55_ENG-XXXX_create-context-compaction.md
</example_response>
##. Additional Notes & Instructions
/path/to/file.ext:line references that an agent can follow later when it's ready, e.g. packages/dashboard/src/app/dashboard/page.tsx:12-24What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
17 skills in this plugin
/brainstormBrainstorm with the human and keep the brainstorm note, the record of how decisions were reached. Use the moment a conversation turns to ideas, design, architecture or a decision to make together, not only when something is written down, and when opening, continuing or writing to a brainstorm note./copilot-assisted-feature-deliveryFinish a pull request with Copilot as its reviewer, from marking it ready to the merge. Use when the repository's CLAUDE.md or the human says a pull request is finished with Copilot./create_noteCapture findings or context as a persistent note in the thoughts system/document-codeDecide whether a comment belongs, and write the ones that do — in Ruby, YAML, a Dockerfile, a shell script, tests or config. Use it before adding any comment, docstring or YARD block, including one you are about to write mid-implementation, and before deleting or rewording one already there. Use it when finished code carries no documentation, when asked to document code or add YARD, and when auditing what a file or a diff already carries. Use it unprompted when a review says a comment restates the code, narrates reasoning, is outdated, or should be deleted rather than shortened. Not for prose documents — a README, a wiki page, a plan or a ticket./featureDeliver a feature or chore end to end, from branch creation to the merge, starting from its ticket/gh-issueWrite a GitHub issue that hands the human's decisions to the worker who will deliver them. Use when creating or editing an issue, with gh issue create or otherwise, and when turning a brainstorm's decisions into tickets.npx claudepluginhub hoblin/claude-ruby-marketplace --plugin rpiOther plugins' skills for the same job