dotfiles/agents/skills/git-amend/SKILL.md
Format, lint, test, and amend the current commit. Detects repo tooling automatically.
npx skillsauth add szymonkaliski/home-configuration git-amendInstall 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.
Amend the current commit with all changes, after formatting, linting, and testing.
Check what tooling exists:
!ls -la package.json Makefile Cargo.toml pyproject.toml go.mod 2>/dev/null || true
!cat package.json 2>/dev/null | head -50 || true
!git log --oneline -5
!git status
!git diff
!git diff --cached
Based on what you found:
git add changed files by path (skip .env, credentials, large binaries)git commit --amend - if $ARGUMENTS provided, use as new message; otherwise keep existing message with --no-editFix any formatting/lint issues automatically. If tests fail, report and stop.
IMPORTANT: This amends the last commit. Do NOT use on commits already pushed to shared branches.
development
Test-driven bug fixing and feature development. Use when fixing bugs or building features — works with test suites or ad-hoc repro scripts. Enforces red-green-refactor vertical slices.
tools
Open the current plan file in nvim for user review
testing
Review uncommitted changes for issues, missed items, and improvements. Use when reviewing before commit or when user asks to check their work.
tools
Format, lint, test, and commit changes. Detects repo tooling automatically.