用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fimoklei/pm-ai-playbook --skill session-summarizer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | session-summarizer |
| description | Use when user runs /summarize command to capture session knowledge |
Every session generates knowledge: decisions made, patterns that worked, problems encountered, questions that arose. Session summaries capture this for future compound learning.
Core principle: Document sessions to build knowledge that compounds across time.
User runs /summarize command to create a session summary.
Create summaries to capture:
You MUST integrate all three sources:
Session logs: ~/.claude/projects/[project-path]/[session-id]/session-memory/summary.md
Git history: git log --oneline -n 20 and git diff since session start
Conversation context: Your memory of the session
Using session logs:
# Find current session log
ls -la ~/.claude/projects/$(pwd | sed 's/\/Users\/[^/]*\/Projects\///g')/*/session-memory/summary.md | tail -1
# Read it
cat [path-from-above]
# Session Summary - [Date]
## Context
[One-line: what was the goal/problem]
## Victories
- [What worked, solutions found]
- [Patterns that were effective]
## Failures
- [What didn't work, why]
- [Dead ends, wrong assumptions]
## Root Causes
- [For each failure above: What in your system prompt or tooling made you make this mistake?]
- [Analyze prompt assumptions, tool limitations, missing context that led to errors]
- [Example: "Assumed Write tool would create parent directories - tooling doesn't support this"]
- [Example: "System prompt emphasized speed over verification - led to skipping file reads"]
## Tough Questions
- [Questions that came up, answered or not]
- [Ambiguities encountered]
## Improvements
- [What could be better next time]
- [Patterns to codify, failures to document]
## Git Activity
- [Commit count, key changes]
- [Files modified, tests added]
## Next Session
- [Unfinished items, follow-ups needed]
/summarize command~/.claude/projects/.../summary.mdFor each failure or mistake documented:
Examples:
Purpose: Understand what gaps in prompts or tooling cause errors, enabling systemic improvements.
User: /summarize
You: "I'll create a session summary capturing what we accomplished and learned today."
[Read session logs, check git, write summary with root cause analysis...]
You: "Here's the summary:
Fixed authentication bug in React app where tokens weren't persisting across page refreshes.
Would you like me to save this anywhere specific, or is the session log sufficient?"