# log

log inspects recent git commits, summarizes their themes, and maps them against uncommitted changes in your working tree.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 406 repo stars
- Author: syahiidkamil
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/HEAD/.claude/commands/git/log.md
- Updated: 2026-06-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/syahiidkamil-log

## What it does

The command triggers `git log`, `git status --short`, and `git diff --stat HEAD` through Bash simultaneously. It prints the raw commit log output before adding anything else. Next, Claude clusters the commits by topic, such as bug fixes or refactoring chores, into two to four bullets.

When staged or unstaged edits touch files from recent commits, the command evaluates the overlap. It flags whether ongoing changes align with earlier commits or revert them, and it warns about structural conflicts. Without a git repository, the script fails.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/log.md` — Call it with /log. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/log.md` — Call it with /prompts:log. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/log.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/log.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/HEAD/.claude/commands/git/log.md

## When to use it
- review recent git history alongside uncommitted workspace modifications
- categorize git commits by functional area or change type
- spot potential merge risks between fresh refactors and active diffs

## Example prompts
- /log
- /log 10
- Run /log 3 to inspect our recent history

## Similar
- [commit-hygiene](https://affpapa.org/en/nevibecode/skills/commit-hygiene.md) — skill · 343 installs
- [retrospective](https://affpapa.org/en/nevibecode/skills/donchitos-retrospective.md) — skill · 659 installs
- [principle-sequence-verifiable-units](https://affpapa.org/en/nevibecode/skills/principle-sequence-verifiable-units.md) — skill · 10100 installs
- [weekly-review](https://affpapa.org/en/nevibecode/skills/cursor-weekly-review.md) — skill · 2600 installs
- [pr-workflow](https://affpapa.org/en/nevibecode/skills/pr-workflow.md) — skill · 1200 installs
- [git-workflow](https://affpapa.org/en/nevibecode/skills/agno-team-git-workflow.md) — skill · 675 installs

## Other versions with the same name
- [log · davila7](https://affpapa.org/en/nevibecode/commands/log.md) — 351 installs

From the same set: [syahiidkamil/software-engineer-ai-agent-atlas](https://affpapa.org/en/nevibecode/by/syahiidkamil/software-engineer-ai-agent-atlas.md) — 26 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
