commitlisted
Install: claude install-skill nielsmadan/skills
<!-- Generated from https://github.com/nielsmadan/agentic-coding — edits here are overwritten. -->
# Commit (session-scoped)
Commit the changes **this session** made — and nothing else. Multiple agents may
share one checkout; a plain `git add -A` / `git add .` would sweep in another
session's work. This skill stages by explicit path, and at hunk granularity when
a file was touched by more than one session.
## Usage
```
/commit # split this session's work into logical commits, auto-message each
/commit "fix: correct pager" # one commit, using this message verbatim
```
An argument is always the message for a **single** commit — never split when one
is given. With no argument, group into the fewest self-contained commits (Step 3).
## Instructions
### Step 1: Reconstruct what THIS session changed
Build the set of paths you edited this session from **your own actions** — the
`Write`, `Edit`, `NotebookEdit`, and file-creating `Bash` calls you ran. This is
the source of truth for ownership, not the working tree.
- List every file you created, modified, renamed, or deleted this session.
- If the conversation was summarized and you're unsure, reconstruct from the
summary + visible history. If you still can't tell which changes are yours,
do NOT guess wide — jump to Troubleshooting → "Unsure which changes are mine".
### Step 2: See the working-tree state
Run these (read-only) to compare your list against reality:
```
git status --porcelain
git diff -