done

GitHub

用于在会话中断时保存项目状态,更新HANDOFF.md以记录进度、下一步及约束,确保后续会话能无缝恢复工作。

plugins/starter-kit-claude/skills/done/SKILL.md chrisblattman/claudeblattman

Trigger Scenarios

需要暂停当前任务 切换上下文前保存状态

Install

npx skills add chrisblattman/claudeblattman --skill done -g -y
More Options

Non-standard path

npx skills add https://github.com/chrisblattman/claudeblattman/tree/main/plugins/starter-kit-claude/skills/done -g -y

Use without installing

npx skills use chrisblattman/claudeblattman@done

指定 Agent (Claude Code)

npx skills add chrisblattman/claudeblattman --skill done -a claude-code -g -y

安装 repo 全部 skill

npx skills add chrisblattman/claudeblattman --all -g -y

预览 repo 内 skill

npx skills add chrisblattman/claudeblattman --list

SKILL.md

Frontmatter
{
    "name": "done",
    "description": "Close out current work by saving decisions, unresolved tasks, useful artifacts, a session log and a current-state handoff for the next session.",
    "argument-hint": "[quick] [retro] [project or folder]"
}

Save the session and handoff

A clear wrap-up request authorizes ordinary reversible continuity writes to the task's unambiguous working folder. Capture what happened; do not rerun the task or infer completion from silence. This public workflow uses the project-oriented capture shared with the live Codex adaptation. It does not require a private router, global log, cleanup script or terminal integration.

1. Resolve the destination

Read applicable project instructions, the existing HANDOFF.md, and relevant recent log entries. Use the user's named destination first. Otherwise use the actual task folder, not merely the desktop app's launch directory. An existing handoff in the current task's subfolder takes precedence over a stale global active-project pointer.

If the project has an active-subproject record, use it only when its target exists, is still relevant to this session, and is fresh under that project's policy. Permanent does not mean relevant to every topic. Do not overwrite an unrelated subproject's handoff. When the session is broader than an existing scoped snapshot, append to the project log and preserve that snapshot unless the user clearly asks to update it. If the destination is materially ambiguous, resolve it before writing. Do not ask for confirmation again when the user has already named the destination.

Default outputs are HANDOFF.md and sibling SESSION_LOG.md. Respect explicit alternate paths and logging opt-outs in project instructions. Global logs are optional configured destinations, not defaults; never create a personal global logging system on your own.

2. Extract and preserve useful work

Capture the current objective and status, accepted decisions and active constraints, consequential rejected approaches, unresolved questions, blockers, tests actually run, key files, and concrete follow-ups. Keep the most important next action prominent. Distinguish completed work from suggestions and unverified claims. Preserve unrelated unfinished tasks and other sessions' active constraints from the existing handoff.

Save substantial unsaved working artifacts, such as a draft or council report that exists only in this conversation, in the project's existing working-notes area (default working-notes/). Use unique dated names and link existing files instead of duplicating them. Keep artifacts with the project they belong to; do not collect private material into an unrelated public repository.

quick abbreviates narrative and optional artifact scanning, but still preserves necessary continuity, decisions, constraints and next actions. A brief lookup with nothing to hand off needs no files. retro explicitly adds the watch-list check; it never runs just because a session was long.

3. Save the history and current snapshot

Read the templates and write procedure. Obtain one timezone-precise CAPTURE_ID from the clock and reuse it across destinations and retries. Include SESSLOG:<CAPTURE_ID> in the dated log entry and handoff. Use the bundled continuity writer for conflict-checked atomic writes; it needs only Python 3's standard library.

Append the session entry to SESSION_LOG.md at the bottom, preserving existing ordering and content. Record the origin of new constraints and links to saved artifacts. Check for the exact capture marker before a retry in each destination; a successful write to one log does not prove another destination was written.

Update HANDOFF.md as a bounded current-state snapshot, never an appended transcript. Include <!-- LIFECYCLE: snapshot-only -->. Aim for roughly 30 lines, but preserve necessary continuity rather than obeying a rigid cap. Put historical detail in the session log. Archive an old snapshot when project policy requires it. The log must be saved successfully before replacing the snapshot; on a partial failure, retain the same capture ID and report what remains.

Capture the file hash when reading the version used to prepare each write. Never refresh the expected hash without reconciling the prepared content. On a conflict, reread, reconcile and retry with the new hash; do not blindly force an overwrite or remove another writer's lock. The helper coordinates its own writers; it cannot control every editor or cloud-sync process, so inspect sync conflicts and verify the result too.

4. Verify and report

Reopen the intended outputs. Verify the capture marker, next action, artifact links, and preservation of other active work. Report the actual paths, the next action, and any incomplete write. Tell the user to open the project in a new session and ask the agent to read the handoff.

No commit, push, publication, email, global-instruction change, automatic rule promotion, scratch deletion or log pruning is implied by /done. Existing logs can feed /tips-integrate when the user later requests it; capture alone does not launch that workflow.

Version History

  • a79c756 Current 2026-11-07 15:28
  • b35ff89 2026-11-02 19:25

Same Skill Collection

codex-starter/skills/ask-agents/SKILL.md
codex-starter/skills/done/SKILL.md
codex-starter/skills/prompt/SKILL.md
codex-starter/skills/review-plan/SKILL.md
plugins/starter-kit-claude/skills/adversarial-review/SKILL.md
plugins/starter-kit-claude/skills/ask-agents/SKILL.md
plugins/starter-kit-claude/skills/council/SKILL.md
plugins/starter-kit-claude/skills/kit-hello/SKILL.md
plugins/starter-kit-claude/skills/kit-setup/SKILL.md
plugins/starter-kit-claude/skills/prompt/SKILL.md
plugins/starter-kit-codex/skills/adversarial-review/SKILL.md
plugins/starter-kit-codex/skills/ask-agents/SKILL.md
plugins/starter-kit-codex/skills/council/SKILL.md
plugins/starter-kit-codex/skills/done/SKILL.md
plugins/starter-kit-codex/skills/kit-hello/SKILL.md
plugins/starter-kit-codex/skills/kit-setup/SKILL.md
plugins/starter-kit-codex/skills/prompt/SKILL.md
plugins/starter-kit/skills/council/SKILL.md
plugins/starter-kit/skills/done/SKILL.md
plugins/starter-kit/skills/kit-hello/SKILL.md
plugins/starter-kit/skills/kit-setup/SKILL.md
plugins/starter-kit/skills/prompt/SKILL.md
plugins/starter-kit/skills/review-plan/SKILL.md
skills/aniket-me/SKILL.md
skills/announcement-digest/SKILL.md
skills/checkin/SKILL.md
skills/deep-research/SKILL.md
skills/dr-synthesize/SKILL.md
skills/goals-review/SKILL.md
skills/morning-brief/SKILL.md
skills/post-meeting/SKILL.md
skills/pre-meeting-brief/SKILL.md
skills/proposal-revise/SKILL.md
skills/proposal-write/SKILL.md
skills/schedule-query/SKILL.md
skills/setup-project-management/SKILL.md
skills/tax-guide/SKILL.md
skills/tips-curate/SKILL.md
skills/tips-integrate/SKILL.md
skills/tips-scout/SKILL.md
skills/todo-add/SKILL.md
skills/todo-queue/SKILL.md
skills/todo-review/SKILL.md
skills/triage-inbox/SKILL.md
skills/weekly-review/SKILL.md
starter-kit-source/skills/adversarial-review/SKILL.md
starter-kit-source/skills/ask-agents/SKILL.md
starter-kit-source/skills/council/SKILL.md
starter-kit-source/skills/done/SKILL.md

Metadata

Files
0
Version
a79c756
Hash
02aa861e
Indexed
2026-11-02 19:25

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 03:12
浙ICP备14020137号-1