一键导入
wrap-up
End-of-session automation. Creates a journey, consolidates learning notes, evolves skills, cross-pollinates shared patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
End-of-session automation. Creates a journey, consolidates learning notes, evolves skills, cross-pollinates shared patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the build and intelligently fix errors with guardrails. Stops if fixes introduce more errors or the same error persists after 3 attempts.
Security and quality review of uncommitted changes. Checks for vulnerabilities, code smells, and best practice violations. Use before committing.
Context window conservation rules. Invoke when approaching context limits or before large tasks.
Create session learning logs that persist institutional memory across Claude Code sessions.
Deep reflection on the skill learning system itself. Analyzes what's working, what's stale, and proposes structural improvements. The meta-skill.
Deep security audit for web applications. Checks secrets, input validation, XSS, API security, and dependency vulnerabilities.
| name | wrap-up |
| updated | "2026-02-20T00:00:00.000Z" |
| description | End-of-session automation. Creates a journey, consolidates learning notes, evolves skills, cross-pollinates shared patterns. |
| argument-hint | ["title"] |
| user-invocable | true |
| allowed-tools | Read, Edit, Write, Glob, Grep, Bash |
The single learning engine for the skill system. Mirrors how learning works in nature:
Experience (work) → Awareness (learning notes) → Consolidation (wrap-up)
/wrap-up {session title}
$0 - Session title describing the main work done (e.g., "Auth System Refactor")CRITICAL: Before anything else, run git commands to capture ALL changes. In long sessions, memory alone will miss things.
git status
git diff HEAD
git ls-files --others --exclude-standard
From the output, build a comprehensive list of:
DO NOT proceed to Step 2 until git output is reviewed.
Using file changes from Step 1 AND conversation context, create a journey at .claude/journeys/{date}-{slug}.md.
Include:
Search ALL skill files for inline learning notes left during the session:
grep -r "<!-- LEARNING" .claude/skills/
For each learning note found:
<!-- LEARNING ... --> comment gets replaced by the integrated contentupdated date in the skill's frontmatterDuring work, learning notes are left inline:
### Some Section
Existing instruction text...
<!-- LEARNING 2026-02-04: Discovered that X actually needs Y because Z -->
After consolidation, the section reads naturally with the learning absorbed:
### Some Section
Existing instruction text. Note: X needs Y because Z.
Read all skills from .claude/skills/*/SKILL.md and compare against journey learnings.
For each skill, check:
For each skill that needs updates:
updated date in frontmatterCheck if any learnings from the session apply across multiple skills.
.claude/skills/_patterns.md_patterns.md_patterns.md is outdated based on session work, update itReview skills touched during the session. Look for:
_patterns.mdIf something looks stale, remove it. Keep skills lean — context window space is valuable.
Add a section to the journey documenting skill changes:
## Skills Evolved
| Skill | Changes |
|-------|---------|
| build-fix | Added new error pattern |
| _patterns | Updated data conventions |
| Session Content | Action |
|---|---|
| New code pattern | Add to relevant skill's patterns section |
| Bug fix with root cause | Add to gotchas/checklist in relevant skill |
| Cross-cutting convention | Update _patterns.md |
| Framework gotcha | Update _patterns.md with framework section |
Session: Auth System Refactor
1. Gathered file changes (8 modified, 2 created)
2. Created journey: .claude/journeys/2026-02-20-auth-system-refactor.md
3. Processed 2 learning notes:
- security-review: integrated JWT expiry check
- code-review: updated auth pattern
4. Evolved 2 skills from journey learnings:
- security-review: added session management checks
- verify: added auth-specific verification step
5. Cross-pollinated: added auth convention to _patterns.md
6. Pruned: removed outdated cookie example from security-review
7. Updated journey with evolution summary