rohitg00/commit-context

ファイル、関数、または行が現在のコミットに至ったエージェントセッションを追跡します。ユーザーが「なぜこのコードがあるのか」「この変更時にエージェントは何をしていたのか」「誰が書いたのか」と尋ねたり、コードベース内の特定の場所のコンテキストを求めたりする場合に使用します。

commit-context とは?

このスキルは、ユーザーが「なぜこのコードがここにあるのか」や「この変更はどのエージェントセッションで行われたのか」といった質問をしたときに、指定されたファイル、関数、またはコード行を、その変更をもたらした現在のコミットにまでさかのぼり、そのコミットを生成したエージェントセッションのコンテキスト(例えば、セッションの目的や関連する会話)を提供します。これにより、開発者はコードの変更履歴をより深く理解し、AIエージェントが生成したコードの背景を素早く把握できます。主に開発環境のターミナル上で使用されることを想定しており、Claude CodeなどのAIエージェントと連携して動作します。SKILL.mdのドキュメントに従い、gitのコミットログやメタデータを解析して、コミットを生成したエージェントセッションの情報をユーザーに表示します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rohitg00/agentmemory/tree/main/skills/commit-context

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

commit-context は何をしますか?

ファイル、関数、または行が現在のコミットに至ったエージェントセッションを追跡します。ユーザーが「なぜこのコードがあるのか」、「この変更時にエージェントは何をしていたのか」、「誰が書いたのか」と尋ねたり、コードベース内の特定の場所のコンテキストを求めたりする場合に使用します。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

rohitg00/commit-history

List recent git commits linked to agent sessions, optionally filtered by branch or repo. Use when the user asks "show agent commits", "what has the agent shipped", "list linked commits", or wants commits with their session context.

rohitg00/forget

Delete specific observations or sessions from agentmemory. Use when user says "forget this", "delete memory", or wants to remove specific data for privacy.

rohitg00/handoff

Resume the most recent agent session for the current working directory, leading with any unanswered question. Use when the user says "where were we", "resume", "handoff", "pick up where I left off", or starts a session with no fresh context.

rohitg00/recall

Search agentmemory for past observations, sessions, and learnings about a topic using hybrid BM25 plus vector plus graph search. Use when the user says "recall", "what did we do about", "did we ever", "have we seen", or needs context from past sessions.

rohitg00/recap

Summarize the last N agent sessions for the current project, grouped by date, with highlight observations per session. Use when the user asks "recap", "what have we been doing", "today", "this week", or wants a rollup of recent work.

rohitg00/remember

Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags. Use when the user says "remember this", "save this", "note that", "don't forget", or wants to preserve knowledge for future sessions.

rohitg00/session-history

Show what happened in recent past sessions on this project as a clean timeline. Use when the user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work.

関連スキル