| name | kpt |
| description | KPT (Keep/Problem/Try) retrospective that reads Claude Code activity logs and facilitates structured reflection. Use this skill whenever the user mentions retrospective,ๆฏใ่ฟใ, KPT, reflecting on work, reviewing what went well or poorly, or wants to improve their development process โ even if they don't explicitly say 'KPT'. |
| user-invocable | true |
| argument-hint | <period: today | week | month | YYYY-MM-DD..YYYY-MM-DD> |
KPT Retrospective
Facilitate a KPT (Keep / Problem / Try) retrospective based on real activity data.
The value of this skill is grounding retrospectives in actual logs rather than fuzzy memory. Reference specific entries when suggesting Keep/Problem items โ vague observations aren't useful.
Load Activity Logs
See log-format.md for file locations, schema, and period parsing.
Period requested: $ARGUMENTS
Summarize Activity
Group filtered entries by project, then by session_id. Present a timeline-style overview so the user can recall what they worked on. Keep it concise โ this is context-setting, not the main event.
Facilitate KPT โ One Section at a Time
This is interactive. Ask one section, wait for the user's response, then move on. Don't rush through all three at once โ the pauses are where reflection happens.
Keep (็ถใใใใใจ)
Ask: "ใใฎๆ้ใง ใใพใใใฃใใใจใ็ถใใใใใจ ใฏไฝใงใใ๏ผ"
Suggest 2-3 potential Keeps you notice in the logs (consistent testing, good commit practices, effective tool usage, smooth project switches). The user may not notice their own good habits โ surface them.
Problem (ๅ้กใป่ชฒ้ก)
Ask: "ๅฐใฃใใใจใใใพใใใใชใใฃใใใจ ใฏใใใพใใ๏ผ"
Look for signals in the logs: repeated errors, unusually long sessions on one task, frequent context switches between projects, sessions that end abruptly. Point these out as conversation starters. Help the user dig into root causes rather than symptoms โ ask "why" at least once.
Try (ๆฌกใซ่ฉฆใใใใใจ)
Ask: "ๆฌกใซ ่ฉฆใใฆใฟใใใใจใๆนๅใใใใใจ ใฏไฝใงใใ๏ผ"
Each Try should be specific and actionable. "ใใฃใจใในใใๆธใ" is too vague โ "PRไฝๆๅใซๅฟ
ใใในใใ่ฟฝๅ ใใ" is better. Suggest concrete Tries that address the Problems identified.
Save Summary
After the discussion, save a structured KPT summary to ~/.claude/kpt-logs/retrospectives/YYYY-MM-DD_kpt.md (today's date).
Include: period covered, activity overview, Keep/Problem/Try items with context and concrete next actions.
If a file for today already exists, append a timestamp suffix (e.g., _kpt_2.md) to avoid overwriting.
Tell the user the saved path.
Style
- Conduct in Japanese
- Be supportive but honest โ patterns the user doesn't notice are the most valuable observations
- Reference specific log entries, not generic advice