agentleFS
fengsihao23-engfengsihao23-eng/shen-hua/skills/handoff-writer/SKILL.md

handoff-writer

Skill1 starsChanged 6 months agoMITView on GitHub

Shen-Hua handoff writer for ending or pausing long-running Codex work. Use at the end of every project work round, before final responses, after interruptions, when switching agents/sessions, or whenever the next Codex instance needs a concise resume point with completed work, changed files, verification, risks, and next actions.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 12
  2. Distinctive:

    Do not use this skill for:

    line 20
  3. Very specific:

    Read .agent/PLAN.md, .agent/TASKS.md, .agent/LOG.md, .agent/DECISIONS.md, and .agent/REVIEW_CHECKLIST.md.

    line 26
  4. Distinctive:

    Write the exact next action for a future agent.

    line 32
  5. Distinctive:

    Update task statuses so the next agent does not have to infer them.

    line 33
  6. Very specific:

    Use $self-reviewer before handoff when changes were made.

    line 48
  7. Very specific:

    Use $verification-loop first if no verification status exists and the task involved code/config changes.

    line 49
  8. Distinctive:

    Do not launch new subagents only to write a handoff.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Handoff Writer

Handoff Writer leaves the next agent with a reliable resume point.

Trigger Conditions

Use this skill when:

  • A response is about to end after project work.
  • Work is paused, blocked, or handed to another agent/session.
  • The user asks for status, summary, continuation notes, or "where are we".
  • $project-commander finishes a round.

Do Not Trigger

Do not use this skill for:

  • One-line answers with no project state.
  • Work that explicitly must leave no project memory.

Handoff Workflow

  1. Read .agent/PLAN.md, .agent/TASKS.md, .agent/LOG.md, .agent/DECISIONS.md, and .agent/REVIEW_CHECKLIST.md.
  2. Summarize the current objective and phase.
  3. List completed work this round.
  4. List changed files and their purpose.
  5. Record verification commands and results.
  6. Record decisions and residual risks.
  7. Write the exact next action for a future agent.
  8. Update task statuses so the next agent does not have to infer them.

Required .agent/ Updates

Always update:

  • .agent/HANDOFF.md: full current handoff.
  • .agent/LOG.md: handoff written with summary.
  • .agent/TASKS.md: next action and statuses.

Update when relevant:

  • .agent/PLAN.md: current phase if changed.
  • .agent/DECISIONS.md: final decisions not yet recorded.

Other Skills

  • Use $self-reviewer before handoff when changes were made.
  • Use $verification-loop first if no verification status exists and the task involved code/config changes.

Subagents

Do not launch new subagents only to write a handoff. If subagents are active or recently completed, include their status and outputs.

Verification Commands

Handoff Writer does not normally run commands. It records the latest verification state and flags stale or missing verification.

Output Format

HANDOFF
Objective:
Current phase:
Completed:
Changed files:
Verification:
Decisions:
Open risks/blockers:
Next action:
Resume prompt:

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.