rohitg00/commit-context

Verfolge eine Datei, Funktion oder Zeile zurück zur Agentensitzung, die den aktuellen Commit erstellt hat. Verwende dies, wenn der Benutzer fragt: „Warum ist dieser Code hier?“, „Was hat der Agent getan, als sich dies änderte?“, „Wer hat das geschrieben?“ oder Kontext zu einer bestimmten Stelle im Codebestand wünscht.

Was ist commit-context?

Dieses Skill ermöglicht es einem KI-Agenten (z. B. Claude Code, Cursor, Codex), eine Datei, Funktion oder Codezeile im aktuellen Commit zurückzuverfolgen zu der Agentensitzung, die diese Änderung vorgenommen hat. Es beantwortet Fragen wie „Warum ist dieser Code hier?“, „Welche Absicht hatte der Agent, als dies geändert wurde?“ oder „Wer hat das geschrieben?“. Dazu nutzt es Git- und Metadaten-Abfragen, um den Commit zu lokalisieren und die zugehörige Sitzungskontext zu rekonstruieren. Das Skill ist plattformunabhängig und funktioniert in jeder Git-basierten Umgebung (lokal oder Remote). Es ist besonders nützlich für Entwicklerteams, die die Historie und Entscheidungsfindung hinter Codeänderungen nachvollziehen müssen. Die Implementierung erfolgt über die Analyse von Commit-Nachrichten, Autoreninformationen und gegebenenfalls Session-Logs.

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

Installed? Explore more Produktivität & Zusammenarbeit skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht commit-context?

Verfolge eine Datei, Funktion oder Zeile zurück zur Agentensitzung, die den aktuellen Commit erstellt hat. Verwende dies, wenn der Benutzer fragt: „Warum ist dieser Code hier?“, „Was hat der Agent getan, als sich dies änderte?“, „Wer hat das geschrieben?“ oder Kontext zu einer bestimmten Stelle im Codebestand wünscht.

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.

Verwandte Skills