← ClaudeAtlas

apw-commitlisted

Analyze pending git changes, draft a commit message using a project schema, and commit/push after user review.
AgenticPW/AgenticPW · ★ 0 · Code & Development · score 69
Install: claude install-skill AgenticPW/AgenticPW
Use this skill when the user wants to commit (and optionally push) pending changes. Follow every step below in order. ## Step 1 — Inspect pending changes Run the following commands to understand what will be committed: ```bash git status git diff HEAD ``` If there are no changes (clean working tree and staging area), tell the user there is nothing to commit and stop. ## Step 2 — Check for a commit schema Look for the file `.claude/skills/apw-commit/COMMIT_SCHEMA.md` in the repository root. **If it exists:** read it and use it as the authoritative format guide for all commit messages in this project. Proceed to Step 3. **If it does not exist:** 1. Present the following suggested default schema to the user: --- **Suggested commit message schema:** ``` <type>(<scope>): <short summary> <body — what changed and why, optional> <footer — breaking changes, issue refs, co-authors, optional> ``` Types: `feat`, `fix`, `refactor`, `chore`, `docs`, `test`, `style`, `perf` Rules: - Subject line ≤ 72 characters - Use imperative mood ("add", not "added") - Body wraps at 80 characters - Reference issues as `Closes #123` --- 2. Ask the user: **"Use this schema, or provide your own format?"** 3. Wait for the user's answer. Accept either a confirmation of the default or a custom format description/template they paste in. 4. Write the agreed-upon schema to `.claude/skills/apw-commit/COMMIT_SCHEMA.md` so it is used automatically in future runs. 5. Confirm to the user that the schem