apply-turbo-handoffs
Audit the turbo skill lessons that /self-improve writes into this repo's .turbo/handoff/ from…
Recall why a past change was made by locating the Claude Code transcript that produced it. Use when the user asks to \"recall the rationale\", \"find the rationale\", \"look up the rationale\", \"why did I do X\", \"why did we do X\", \"why was this changed\", or \"find the
$ npx -y skills add tobihagemann/turbo --skill recall-rationale --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/recall-rationaleContext preview
The summary Claude sees to decide when to auto-load this skill.
Recall why a past change was made by locating the Claude Code transcript that produced it. Use when the user asks to \"recall the rationale\", \"find the rationale\", \"look up the rationale\", \"why did I do X\", \"why did we do X\", \"why was this changed\", or \"find the
name: recall-rationale description: "Recall why a past change was made by locating the Claude Code transcript that produced it. Use when the user asks to \"recall the rationale\", \"find the rationale\", \"look up the rationale\", \"why did I do X\", \"why did we do X\", \"why was this changed\", or \"find the transcript for this commit\"."
Locate the Claude Code transcript that produced a given change and recover why it was made. Useful for answering reviewer questions, writing post-hoc explanations, or recovering forgotten context.
Accept any of:
If only a file is given, `git blame` resolves the commit that last touched the line.
Call `scripts/find_transcript.py` with either `--commit <sha>` or `--file <path>[:<line>]`. Pass `--cwd /path/to/repo` when searching a different repo than the current working directory.
python3 <skill-dir>/scripts/find_transcript.py --file <path>:<line> python3 <skill-dir>/scripts/find_transcript.py --commit <sha>
When there is no commit to resolve, because the project is not a git repository or `--file` returns `no-commit` for an uncommitted line, run `--phrase` with a distinctive stretch of the passage's current text, taken from a single line, instead. It skips git, ranks the project's transcripts by how often they handle the phrase, and returns the same JSON with `commit: null`.
python3 <skill-dir>/scripts/find_transcript.py --phrase "<distinctive text from the passage>"
With `--commit` or `--file`, the script:
1. Resolves the commit via `git rev-parse` or `git blame` 2. Enumerates directories under the effective Claude configuration home's `projects/` tree and filters their transcripts by authoritative `cwd` records, covering path encoding, truncation, collisions, and subdirectory launches 3. Ranks candidate transcripts whose mtime is within `--window-days` of the commit (default 14) 4. Scores candidates by mentions of touched files and tool-use edits on them 5. Extracts cleaned user prompts and substantive assistant text from the top candidates
The JSON output has `status`, `commit`, `project_dir` (the top candidate's directory when matched), `project_dirs` (directories with matching `cwd` records, limited to the time window when there is a commit), and `candidates` with `session_id`, `score`, `match_reasons`, and `excerpts`.
Status values:
If `status` is `ok`:
1. Start with the top candidate (highest score). Read its excerpts first. 2. If the excerpts already explain the change, stop. If they are thin or ambiguous, read the full transcript at `jsonl_path` directly for more context. 3. Ignore candidates with low scores or scores far below the top — they are false positives. 4. When the rationale spans multiple excerpts, quote the most specific one. 5. In phrase mode, the `last match at` reason marks the last time the session handled the passage. When the question is about the passage's current state, read the transcript around that point.
Synthesize a concise summary tied to the question being answered:
If `status` is anything other than `ok`, report that no rationale was found and fall back to reading the commit diff, when there is one, and the surrounding code. Say so explicitly so it's clear whether the answer still holds up.
Return the rationale in this shape:
**Commit:** <short-sha> — <subject> **Transcript:** <session-id> (score <N>) <one or two paragraphs of rationale, quoting the implementer where useful>
If no transcript was found:
**Commit:** <short-sha> — <subject> **Transcript:** none found (<status>) <fallback explanation derived from reading the commit and current code>
In either shape, without a commit, write the first line as `**Commit:** none (not a git repository)` or `**Commit:** none (uncommitted)`.
Then use the TaskList tool and proceed to any remaining task.
Reusable workflows for planning, building, reviewing, and shipping with Claude Code and Codex.
Audit the turbo skill lessons that /self-improve writes into this repo's .turbo/handoff/ from…
Apply findings by making the suggested code changes. Applies accepted verdicts, escalates…
Assess project-wide structural technical debt: complexity hotspots, deprecated API usage,…
Shared changelog conventions and formatting rules referenced by /create-changelog and…
Enforce existence, reuse, mirror, and symmetry principles to keep new code minimal and…
Run autonomous task execution using the codex CLI. Use when the user asks to \"codex exec\",…