skills/summarize-and-commit/SKILL.md
Use when the user asks to commit changes and/or summarize the current session — or when wrapping up a conversation that involved code or file edits.
npx skillsauth add ak1ra-komj/agents-skills summarize-and-commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Summarize the current session, write a session log, and commit all relevant changes — as a single coordinated workflow.
When wrapping up a session, this skill:
docs/sessions/..gitignore.date +%Y-%m-%d in a terminal to get today's date.git log --oneline (or git log --oneline <range>) to collect commits
made during the session.docs/sessions/YYYY-MM-DD-<session-title>.md.YYYY-MM-DD-<session-title>.md
date +%Y-%m-%d — never guess or hardcode it.<session-title>: a short English phrase summarising the session, words
joined with - (e.g. add-liveness-probe-action-threshold).One sentence describing what the session accomplished.
One paragraph covering: background / motivation, the problem or request, the approach taken, and the outcome.
A list of every file touched during the session. For each file include:
List every commit made during the session in the format:
- `a1b2c3d` <commit message>
Use the short hash (git log --oneline). If no commits were made during the
session, write: "No commits were made in this session."
Distil the most reusable or noteworthy insights from the session, such as:
date +%Y-%m-%d.Only commit files that were modified or created during this conversation. Do not stage unrelated changes.
If the changes span clearly distinct features or modules, split them into multiple commits — but only do so when it adds genuine clarity. A single commit is fine for small or cohesive changes.
git add <files>).git commit -m "<subject>" (or with -m body if needed).Before committing the session log, check whether it is tracked by git:
git check-ignore -v docs/sessions/
docs/sessions/ is excluded by .gitignore: do not stage or commit
the session log. Inform the user that the file was written locally but not
committed due to the ignore rule.docs/sessions/ is not ignored: stage only the session log file
and create a separate commit for it. Do not mix it with the work changes from
Phase 2.Suggested commit message for the session log:
docs: add session log YYYY-MM-DD-<session-title>
development
Use when the user asks to commit changes and/or summarize the current session - or when wrapping up a conversation that involved code or file edits.
development
Use when the user asks to summarize this session or chat — and the conversation is happening in a web chat interface (e.g. ChatGPT Pro) where no file system or terminal access is available.
tools
Use when writing, reviewing, or refactoring AGENTS.md, writing an agent guide, documenting the project for AI agents, or orienting AI coding tools to a new repository.
development
Use when the user mentions preparing or publishing a new release, or asks to review or refactor CHANGELOG.md, following Keep a Changelog format and Semantic Versioning.