複数のBot間で依頼内容や進捗、残作業をHindsightの共有メモリに記録し、別の会話や後日の作業でも引き継いで再開できるようにするスキル。
- 別のBotへ残作業を引き継ぎたいとき
- 他のBotの作業を再開したいとき
- 会話にいないBotにも発見を共有したいとき
GitHubの問題報告を再現し、仕様や過去の判断も調べて不具合かを確認します。修正案を試作・検証し、動作の変化と本修正に必要な作業を整理するスキル。
Triage a GitHub issue or a reported problem — check it is real and not by design (code, git history, PRs, Hindsight memory), find the code and patterns to reuse, build a proof-of-concept fix and prove it solves the problem, then explain the problem and the fix in behaviours before doing the full fix. Use when asked to "triage
GitHubのissueや文章で報告された問題を調査し、不具合か、意図した仕様かを確認します。最小限の再現手順を探し、コード、変更履歴、関連PRやissueから判断の根拠を集めます。既存の実装パターンを調べたうえで、原因を取り除く修正の試作を作り、変更前後の再現結果と周辺テストで検証します。性能の問題では同じ条件で測定し、数値を比較します。
報告だけでは原因や修正の必要性を判断しにくいときや、本格的な実装に入る前に影響を把握したいときに向いています。利用者に見える動作、問題の影響、修正後の変化、残作業をまとめて確認できます。
GitHubの調査にはghとgitを使います。Hindsightの記録はプラグインがある場合に参照します。試作はorigin/mainから分けたブランチで行い、本修正は利用者の回答後に進めます。コメント投稿やissueのクローズにも確認が必要です。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Input: a GitHub issue (number or URL) or a problem described in words. Goal: the user knows whether the problem is real, what it does, and what a fix would change — backed by a working POC — and decides before you do the full fix.
Don't do the full fix in this skill. It ends at step 5, with the user's answer.
Read the issue fully (gh issue view <N> --comments): what the reporter saw, what they expected,
version, config. Then check both sides:
git log -S '<key string>' --oneline / git log -L / git blame on the lines involved, then
read those commits.gh pr list --state all --search "<keywords>", gh pr view <N> --comments.gh issue list --state all --search "<keywords>".hindsight_* tools are available): search the
knowledge pages and, when you need the why, run a reflect. Treat what it says as a past
record — check it against the code.If it's not real, already fixed, a duplicate, by design, a local setup problem, or not worth changing: tell the user plainly why, with the evidence (commit, PR, issue, line of code). Propose closing it with a short, kind comment, written out ready to post, e.g.:
This is by design: <one-line reason> (see #<PR>). <What to do instead, if anything.> Closing — feel free to reopen if I missed something.
Ask before posting or closing — never do it on your own.
Before writing anything, find what is already there:
.claude/skills/code-review/SKILL.md so the POC already follows the repo's rules.Work on a new branch off origin/main (triage/<issue-number-or-short-slug>), so the POC never
mixes with other work and can become the full fix later.
No workarounds. The POC — and the plan built on it — must be the long-term fix: the one you'd want in the codebase in a year. Not a retry around a race, a special case for the reporter's input, a bigger timeout, a swallowed error, a flag to turn the problem off, or a guard at one call site when the cause sits underneath. Think it through first: why does the code allow this at all, what's the right place and design to fix it, and does the fix still hold when the data grows or a new caller shows up? If the right fix is big, the POC can cover the core of it — but it must be that fix, not a stand-in. If you see a quick patch too, you may mention it, but only as "not recommended", and say why.
Then prove it:
Performance issue: recreate the reporter's situation at the same or a smaller scale (same data
shape, same operation, same config), measure it before the change, then after, the same way, a few
runs each. Use the repo's perf tools when they fit (./scripts/benchmarks/,
hindsight-dev/benchmarks/), otherwise a small script. Show numbers side by side (before / after /
change). No numbers, no plan.
UI change: start the API and the control plane so the user can see it. Use free ports (check
with lsof -nP -iTCP:<port> -sTCP:LISTEN — other worktrees often hold 8888/9999) and a new,
unique pg0 instance (HINDSIGHT_API_DATABASE_URL=pg0://triage-<issue-number-or-short-slug>).
Write down each PID and the pg0 instance. Seed the data needed to show the change, open it in the browser if browser tools are
available, and give the user the link.
Services you start: stop only your own — kill your PIDs (never pkill -f hindsight/pytest),
and pg0 drop --name <name> -f only on instances you created; never touch a shared one. Leave the
UI running while the user looks; stop everything once they are done or the triage ends.
Tell the user, in plain words and in behaviours (what a user or agent sees and does, not function names):
Then ask whether to go ahead with the full fix (AskUserQuestion). Don't start it before they answer.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
複数のBot間で依頼内容や進捗、残作業をHindsightの共有メモリに記録し、別の会話や後日の作業でも引き継いで再開できるようにするスキル。
実装後の変更コードをプロジェクト固有の規約に照らしてレビューし、テスト不足、未使用コード、型の安全性、lint違反やデータ分離の問題を報告するスキル。
会話や資料から得た知識をセッションをまたいで参照できる、長期記憶付きの専門サブエージェントをClaude Code向けに作成するスキル。
リクエストやデータの流れを、箱・矢印・動くデータで図解し、READMEやPR、ブログに掲載できる単一のアニメーションSVGに仕上げるスキル。
AIアプリに会話や作業履歴を記憶させるため、Hindsightの導入箇所、保存内容、利用者別の分離方法、参照手順を整理し、実装計画にまとめるスキル。
チームの開発ルールや作業で得た知見、失敗の原因と解決策をHindsight Cloudの共有メモリに保存し、新しい作業の前に関連する情報を取り出すスキル。