agentleFS
Leo-AtienzaLeo-Atienza/atlas-claude/skills/handoff/SKILL.md

handoff

Skill4 starsChanged 4 months agoMITView on GitHub

Execute every step automatically. Do not ask — just do it. If no build/test system exists, skip this step and note it in the summary. Print the handoff directly in chat as a single fenced markdown code block so the user can copy it and paste it into the next session. Do not write to disk. The block must be self-contained — the next session will see only what's inside the fence. Print exactly this format (fill in the sections…

  • Reads credentials

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 5 projects that use this

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 51 projects that use this

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 41 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 15 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 20 projects that use this

  • RoentekSkill

    writing-fragments

    Writing, explore — mine raw fragments, no structure yet.

    Also in 20 projects that use this

  • +5 more from aws
  • +1 more from Roentek

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check package.json for build and test scripts

    line 10
  2. Very specific:

    If no package.json, check for Makefile, pyproject.toml, or other build systems

    line 11
  3. Very specific:

    Run the build command (e.g., npm run build).

    line 12
  4. Very specific:

    Run the test command (e.g., npm test).

    line 13
  5. Distinctive:

    If no build/test system exists, skip this step and note it in the summary.

    line 16
  6. Distinctive:

    Run git status in the current directory

    line 20
  7. Distinctive:

    If there are uncommitted changes:

    line 21
  8. Distinctive:

    Write a conventional commit message summarizing the session's work

    line 23
  9. Distinctive:

    If no changes, skip to Step 3

    line 26
  10. Very specific:

    If the project has a wiki/ directory, append a session entry to wiki/session-log.md with date, summary of changes, and pending items.

    line 63
  11. Distinctive:

    If anything genuinely novel was learned this session (new pattern, mistake to avoid, user preference), save it to memory.

    line 67
  12. Distinctive:

    After printing the handoff block, print a short status line (outside the fence) so the user can verify at a glance:

    line 71

“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “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 — End-of-session ritual with build verification

Execute every step automatically. Do not ask — just do it.


Step 1 — Pre-flight verification

  1. Detect the project's build and test commands:
    • Check package.json for build and test scripts
    • If no package.json, check for Makefile, pyproject.toml, or other build systems
  2. Run the build command (e.g., npm run build). If it fails, stop and report the errors. Do not proceed to commit.
  3. Run the test command (e.g., npm test). If tests fail, stop and report failures. Do not proceed to commit.
  4. Record the test count and pass rate for the commit message.

If no build/test system exists, skip this step and note it in the summary.

Step 2 — Commit and push

  1. Run git status in the current directory
  2. If there are uncommitted changes:
    • Stage all relevant files (exclude .env, credentials, secrets, node_modules)
    • Write a conventional commit message summarizing the session's work
    • Include test count and pass rate in the commit body (e.g., Tests: 57/57 passing)
    • Push to the current branch
  3. If no changes, skip to Step 3

Step 3 — Print handoff (copy-paste block)

Print the handoff directly in chat as a single fenced markdown code block so the user can copy it and paste it into the next session. Do not write to disk. The block must be self-contained — the next session will see only what's inside the fence.

Print exactly this format (fill in the sections from this session's work):

# Session Handoff — [Date]

## Project
[project name] | [branch] | [stack summary]

## Changes Made
- [bullet list of what was done, with file paths]

## Files Modified
[list of key files changed]

## Commits
- [commit hashes and messages from this session]

## Pending Items
- [anything left unfinished or flagged for next session]

## Knowledge Extracted
- [any patterns, mistakes, or decisions worth remembering]

## Resume Prompt
> "Continue [project] work. [1-sentence context]. Start with [first task]."

Sizing: keep the block tight — aim for under ~80 lines. Prune sections that are empty (e.g. no commits this session → drop the Commits section entirely rather than leaving "- none"). The Resume Prompt is mandatory and should be the last section.

Step 4 — Wiki update (conditional)

If the project has a wiki/ directory, append a session entry to wiki/session-log.md with date, summary of changes, and pending items.

Step 5 — Memory update (conditional)

If anything genuinely novel was learned this session (new pattern, mistake to avoid, user preference), save it to memory. Otherwise skip.

Step 6 — Summary

After printing the handoff block, print a short status line (outside the fence) so the user can verify at a glance:

Handoff ready — copy the block above.
Build: [pass/fail]
Tests: [count] passing, [count] failing
Committed: [hash] — [message]
Pushed to: [branch]
Pending: [count] items for next session

Plain English triggers: "handoff", "wrap up and push", "end of session", "create handoff", "session done push it", "done for the day"

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.