content/skills/development-workflows/session-wrap/SKILL.md
Use when the user wants to wrap up the current coding session, summarize what happened in this session before ending work, document learnings and decisions, produce a handoff note for the next session, decide what to commit, or says 总结会话, 会话总结, 收尾, 会话收尾, 结束会话, 总结本次会话. Use proactively when the user signals they are done working or switching context, even if they don't explicitly say "wrap up".
npx skillsauth add bahayonghang/my-claude-code-settings session-wrapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Close out the current coding session in a way that is easy to resume later. Focus on what was actually finished, what is still open, what was learned, and what should happen next.
Detect the user's language from their request:
Default to the current session. If the user already gave a clear wrap-up request, do not ask extra questions.
Clarify only when needed:
Large or multi-topic sessions:
Collect the minimum evidence needed for an accurate summary:
git status --short
git diff --stat
git log --oneline -n 10
If the repository state is not available, say so explicitly and continue with session context.
Summarize by workstream instead of by timestamp.
Structure:
If there were no meaningful code changes, say that clearly instead of inventing results.
Capture what matters for the next session. Focus on signals that would change how someone approaches the work if they resumed it cold.
Worth extracting:
Not worth extracting:
Structure:
Keep this section concise and operational.
When relevant, finish with:
Do not auto-commit. Recommend commit timing only when there is enough evidence.
If the user asks for a handoff note, or if the session involves substantial unfinished work, generate a structured handoff using the template in $SKILL_DIR/references/handoff-format.md.
The handoff note captures context that would be lost between sessions — decisions made, approaches tried and rejected, environment state, and clear next steps.
Save policy:
notepad_write_working, Claude Code /export-summary), suggest using them.YYYY-MM-DD-session-wrap.md## 本次会话总结
### 已完成
- ...
### 关键决策
- ...
### 涉及文件 / 模块
- ...
### 验证情况
- 已验证:...
- 未验证:...
### 经验与风险
- ...
### 下一步建议
- ...
project-daily-summarycommit-daily-summaryBefore responding, verify:
development
Turn vague or complex Codex tasks into strong `/goal` commands with outcome, verification, constraints, boundaries, iteration policy, completion evidence, and pause/block conditions. Use when the user asks for Codex goal instructions, Goal 指令, 目标指令, `/goal` prompts, 中文 Goal 模板, plan-to-goal interviews, success criteria, verification commands, or bounded agent work definitions.
tools
Write, debug, and validate ast-grep structural code search rules. Use this skill when the user needs syntax-aware code search, AST pattern matching, structural refactor discovery, language-construct queries, or searches that plain text tools like rg can miss, such as finding functions with particular descendants, calls inside specific contexts, missing error handling, React hook shapes, decorators, or other Tree-sitter-backed code structures.
development
Use when the user asks to ground an ambitious proposal, avoid over-grand designs, make a bold direction executable, pressure-test feasibility, prevent "too much vision and too little landing", or turn a strategy/refactor/product idea into the smallest verifiable first move with stop rules. Trigger for requests such as 落地, 先落地, 别太飘, 收一收, 可执行, 可验证, 止损, and for follow-ups after geju-style big-picture thinking. Do not trigger for ordinary code review or implementation unless the user explicitly asks to ground or shrink the plan first.
development
Use when the user explicitly asks to think bigger, open up the design space, challenge conservative design, avoid over-indexing on backward compatibility, escape local-detail fixation, or make a bold high-level product or architecture direction call. Use for strategic reframing, not for ordinary code review, PRD writing, implementation planning, or adversarial risk review.