Mola-maker/mstack / skills/m-handoff
m-handoff
VerifiedSave or restore working state in .mstack/handoff.md before compact, model switch or session end. Use for 存档/交接/接着上次/compact.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.9 KB |
| references/handoff-template.md | markdown | 1.8 KB |
references/handoff-template.md
View on GitHub# Handoff template (`.mstack/handoff.md`)
Read this when m-handoff's Save step writes the handoff. The file is overwritten each save; the previous version goes to `.mstack/handoff-archive/`. Keep it short: a resume should cost minutes, not a re-read of the session.
## Three layers
```markdown
# handoff — <YYYY-MM-DD HH:mm>
## Task frame (stable: changes only when the goal itself changes)
- Goal: <one sentence; link .mstack/goals/<slug>.md, and its ## Closeout if written>
- Constraints: <hard requirements, deadlines, "do not touch X">
## Progress (condensed: rewritten from scratch on every save)
- Decisions: <decision — why, alternatives rejected>
- Remaining (priority order):
1. <step> (verified)
2. <step> (done)
3. <step> (assumed)
- Notes: <gotchas, blockers, failed approaches>
## Recent steps (verbatim: pruned on every save — keep only the last few)
- `<command>` → <key output line>
- `<command>` → <key output line>
```
Provenance marks: `(verified)` = ran and saw the evidence; `(done)` = finished but not independently re-checked; `(assumed)` = not run — must be re-verified before use.
## What the auto snapshot is (and is not)
The plugin's PreCompact hook (`hooks/precompact.mjs`) appends a section like this without touching anything already in the file:
```markdown
## Auto snapshot — <ISO timestamp>
- branch: <git branch>
- goal: <newest .mstack/goals/*.md, or "none">
- `git status --short`:
```
<output, truncated>
```
Mechanical snapshot only — decisions and next steps still need a hand-written m-handoff pass.
```
It is a safety net for the case where the session compacts before anyone ran Save. It contains observable state only; the three layers above still have to be written by m-handoff. When restoring, trust the snapshot's branch/status facts, but never read decisions into it.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |