跳到正文
cccskills
免费在 GitHub 公开

finish

End-of-session cleanup for coding and project work. Use when the user says "finish", "wrap up", "done for now", or any variation of ending a work session.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Finish — Session Closer

Close out a Claude Code session so nothing falls through the cracks when context is lost.

Scope Rule

Only check repos that were active in this session. Use conversation memory to determine which repos were touched. The current working directory always counts.

Your lane is what THIS session did. Nothing else exists. Peter runs 5–10 Claudes in parallel, so the repo is full of other sessions' branches, worktrees, PRs, and commits. Reporting any of it is noise he has to read and discard — and worse, it reads as his loose ends when it isn't.

Never mention:

  • Branches, worktrees, or PRs this session didn't create or work on
  • Commits on main that landed from elsewhere ("main has moved to X", "N commits came in while we worked")
  • Open PRs this session never touched, even to say they're untouched
  • Other sessions' running agents or background work
  • Anything you noticed in passing and "left alone" — leaving it alone means not mentioning it either

The test for every line: did this session do it? If no, cut it. A shorter close that covers only your own work is the correct output, not an incomplete one.

This applies to the git checks too. git status and git log will surface other sessions' activity; read past it. Report your own uncommitted work, your own unpushed commits, your own branch state — and if this session's work is fully landed and clean, say exactly that and stop.

Flow

1. Git Hygiene (each active repo)

Run git status, git diff --stat, git log --oneline -5 as separate Bash calls (not chained with &&). Report:

  • Uncommitted changes (staged/unstaged)
  • Untracked files
  • Unpushed commits
  • Branch state (on main? feature branch that needs merging/pushing?)

Don't auto-fix. Present state and ask if Peter wants to commit now or defer.

2. Context Capture

Scan for things that should survive this session:

  • Corrections Peter made and durable rules that surfaced — capture as memory/<bucket>/<name>.md atoms + INDEX.md line per memory/META.md (goes on this session's branch, never direct to main)
  • Architectural or process decisions not yet recorded

If everything was already captured during the session, say so.

3. Session Outcomes

Brief factual summary in chat:

  • Shipped/built/fixed
  • Started but unfinished
  • Discussed but not acted on

4. Loose Ends

List open items from this session — tasks deferred, background agents this session started that are still running, promises made. Frame as: "These are still open."

If this session left nothing open, say so in one line. Don't pad the section with work that belongs to another lane.

5. Clean Close

One-line summary + confirmation it's safe to close. E.g.:

"3 commits pushed, PR #N open. You're clean — close whenever."

Tone

  • Fast and light. No guilt about unfinished items.
  • If energy is clearly low, minimize: git check + loose ends only.
  • Acknowledge one win, always.

Not This

  • Not a planning session — don't set tomorrow's priorities
  • Not a code review — just check state is clean

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

check-pr

免费

Check an externally created PR for coding rule violations against memory/INDEX.md atoms and docs/architecture/code-review-rules.md.

中文简介正在准备中。当前显示原文说明。

nobodies-collective/Humans42026年10月22日 更新

Two-phase memory hygiene. Phase 1: scan external Claude Code memory (~/.claude/projects/<slug>/memory/) for durable rules to migrate into the repo and entries already duplicated by repo atoms. Phase 2: audit in-repo memory/, CLAUDE.md, docs/architecture/, and docs/sections/ for dead links, duplication, drift, and bloat.

中文简介正在准备中。当前显示原文说明。

nobodies-collective/Humans42026年10月22日 更新

Review, repair and steward the nightly Codex debt-sweep PR (branch codex/daily-debt/<date>). Judges every commit GOOD / REPAIR / REVERT, triages the bot review findings through /fix, lands one round-1 commit, files follow-up issues, then stewards the PR itself with a 3-round ceiling. Run by the 08:00 UTC cloud routine; also '/debt-review', '/debt-review 1789'.

中文简介正在准备中。当前显示原文说明。

nobodies-collective/Humans42026年10月22日 更新

Autonomous themed tech-debt cleanup. Reads docs/architecture/debt-ledger.yml, rotates to the least-recently-served debt theme, works it for a time budget (default 2h) or until drained, opens one PR, and asks judgment questions inline at the end. Use for daily debt burndown without Peter pointing at a target: grandfathered analyzer rules, architecture-test baselines, obsolete-field reads, cross-section stitching.

中文简介正在准备中。当前显示原文说明。

nobodies-collective/Humans42026年10月22日 更新

ef-regen

免费

Scrap and regenerate the in-flight EF migrations on the current branch as one consolidated migration. Use when migrations have accumulated mid-development cruft (added/removed columns, stacked add-column-to-existing-table fixes, hand-edited SQL that needs to come out, schema changes that should have been one migration but ended up as five), or when the branch has merged main and its migrations are now stuck mid-chain so `dotnet ef migrations remove` is unsafe. Triggers on phrases like 'regen the migrations', 'redo these migrations', 'scrap and regen migrations', 'consolidate the in-flight migrations', 'redo the migration stack', or any time an agent hits the mid-chain situation in `memory/architecture/migration-regen-after-rebase.md`.

中文简介正在准备中。当前显示原文说明。

nobodies-collective/Humans42026年10月22日 更新

Use when a sprint tracking issue (label `sprint`) on peterdrier/Humans needs working — routine-fired cloud runs, or any unattended session told to execute the sprint queue.

中文简介正在准备中。当前显示原文说明。

nobodies-collective/Humans42026年10月22日 更新

查看 nobodies-collective 的全部技能

报告此技能的问题