skills/commit/SKILL.md
Creates a commit with repo-matching style and intentional staging.
npx skillsauth add mrclrchtr/skills 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.
scripts/git-info.sh — Emits a JSON snapshot of repository state for commit preparation.Resolve the path relative to this
SKILL.mdfile's directory;
--no-verify, no --amend/rebase/force-push, no pushing unless asked.bash scripts/git-info.sh --help during normal flow. Use --help only if the script fails or you are editing the script itself.Gather information
bash scripts/git-info.sh
Read the JSON snapshot first. Use it to inspect:
repoRoot, branchstatus.hasStaged, status.hasUnstaged, status.hasUntrackedfiles.staged, files.unstaged, files.untrackedstats.staged, stats.unstagedrecentCommitsIf ambiguity remains after the JSON snapshot, inspect only the needed files with normal git commands:
git diff -- path/to/file
git diff --cached -- path/to/file
git diff --stat
git diff --cached --stat
git status --short
git log --oneline -20
Stage changes intentionally
git add path/to/file1 path/to/file2
# or:
git add -A # when all changes belong to the commit to create
Verify the staged set before committing:
git diff --cached --stat
git diff --cached
If the staged diff contains unrelated changes, STOP and ask what to do.
Write a concise commit message
Infer commit style from recent subjects:
type(scope): msg, use Conventional Commits.Subject rules:
Body rules:
-m paragraphs rather than one long line.Create the commit
Use multiple -m flags for multi-line messages (no \n).
git commit -m "type(scope): concise summary"
# or with body:
git commit -m "type(scope): concise summary" \
-m "Why this change was needed — keep body lines short." \
-m "Notable side effects or follow-ups on a separate -m."
development
Check for available upgrades to the pi coding agent framework by comparing the current `@earendil-works/pi-*` or legacy `@mariozechner/pi-*` version in package.json against releases on `earendil-works/pi`. Use this skill whenever the user asks to upgrade pi, update pi, check pi changelogs/releases, or migrate off the deprecated `@mariozechner/*` packages.
development
You MUST use this before creative OpenSpec work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation, then hands off to the best matching OpenSpec skill or command without managing OpenSpec artifacts.
development
Fetches and normalizes http(s) web pages into clean Markdown for LLM ingestion. Use when a task includes a URL, needs to fetch docs or asks to convert web docs/articles/pages into Markdown for summarizing, quoting, diffing, or saving.
development
Download Stitch (stitch.withgoogle.com) screen screenshots at best quality from `screenshot.downloadUrl` (often `lh3.googleusercontent.com`). Use to normalize googleusercontent size parameters from canvas dimensions, download with curl, optionally verify pixel dimensions, and avoid committing signed URLs.