원클릭으로
shine-retro
Cross-session retrospective — review learning-log.jsonl and propose memory updates
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Cross-session retrospective — review learning-log.jsonl and propose memory updates
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Write a designer brief for a logo — concept, references, constraints, deliverables.
Interactive command center for managing multiple phases from one terminal
Analyze codebase with parallel mapper agents to produce .planning/codebase/ documents
Structure meeting notes — attendees, decisions, action items, open questions.
Audit page <meta> tags, OpenGraph, and Twitter cards for a URL.
Plan a technical migration — inventory, target, strategy, phases, cutover, rollback.
| name | shine-retro |
| description | Cross-session retrospective — review learning-log.jsonl and propose memory updates |
| argument-hint | [--days N] [--apply] |
| allowed-tools | ["Read","Write","Bash","Glob","Grep"] |
This is a read + propose skill. It never overwrites memory without explicit user approval — unless --apply is passed, in which case it writes a single ~/.claude/memory/external-retro-<date>.md summary (never touches existing files).
<execution_context> @~/.claude/shine/references/ui-brand.md </execution_context>
Flags: - `--days N` — only consider entries from the last N days (default: 7). - `--apply` — write a new `external-retro-.md` memory file with the approved findings. Does **not** modify any other memory file.Data sources (both metadata-only, PII-free):
~/.claude/memory/learning-log.jsonl — one JSONL entry per Claude turn (per-turn analytics).~/.claude/memory/learning-log.md — one human-readable block per session (written by the shine-session-summary hook at SessionEnd). Contains placeholders the user and Claude fill in during this retro: Task, Outcome, Preference observed.If both logs are missing or empty, exit politely: nothing to review.
<execution_flow>
Locate and read the logs.
JSONL="$HOME/.claude/memory/learning-log.jsonl"
MD="$HOME/.claude/memory/learning-log.md"
test -s "$JSONL" || test -s "$MD" || { echo "No learning-log yet — run a few sessions first."; exit 0; }
Read the last N days of JSONL (turn-level metadata) and the session blocks in learning-log.md (including any unfilled Task / Outcome / Preference observed placeholders — those become the first questions for the user).
Filter by window. Use --days N (default 7). Parse ts (ISO-8601) and keep entries where ts >= now - N days.
Aggregate patterns. Compute:
cwd roots, busiest day.last_tool frequency (top 10).cwd paths that don't have a matching project-*.md in memory.Read current memory index. ls ~/.claude/memory/*.md and categorize by prefix (preference-, client-, project-, style-, external-).
Generate a retrospective report — markdown, concise, 4 sections:
/compact habit).project-<slug>.md with … " / "Extend preference-stack.md with tool X used 42× this week".Present the report to the user and ask: "Apply these as a new external-retro-<date>.md memory file? (y/N)"
If --apply or user confirms: write ~/.claude/memory/external-retro-<YYYY-MM-DD>.md with today's findings. Never edit existing memory files — propose, don't overwrite.
Log outcome. Print a 1-line summary and stop. </execution_flow>
<error_handling>
shine-tools.cjs onboard first." and exit 0.<output_format> Report markdown structure (always):
## SHINE Retro — <YYYY-MM-DD>
**Window:** last N days · **Turns:** X · **Unique projects:** Y
### Activity snapshot
- …
### Gaps detected
- …
### Proposed memory updates
- [ ] …
### Open questions
- …
</output_format>
<structured_returns> On success: prints the report and (if applied) the path to the new external-retro file. On no-op: single line "No learning-log yet — run a few sessions first." </structured_returns>