/agent-almanac:commit-changesfrom agent-almanac
Stages, commits, and amends changes with conventional commit messages. Helps review diffs, selectively stage files, and write descriptive messages.
Ships in agent-almanac. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Stage files selectively, write clear commit messages, and verify commit history.
Check working tree status and inspect diffs:
# See which files are modified, staged, or untracked
git status
# See unstaged changes
git diff
# See staged changes
git diff --staged
Expected: Clear picture of all modified, staged, and untracked files.
On failure: If git status fails, verify you are inside a git repository (git rev-parse --is-inside-work-tree).
Stage specific files rather than using git add . or git add -A to avoid accidentally including sensitive files or unrelated changes:
# Stage specific files by name
git add src/feature.R tests/test-feature.R
# Stage all changes in a specific directory
git add src/
# Stage parts of a file interactively (not supported in non-interactive contexts)
# git add -p filename
Review what is staged before committing:
git diff --staged
Expected: Only the intended files and changes are staged. No .env, credentials, or large binaries.
On failure: Unstage accidentally added files with git reset HEAD <file>. If sensitive data was staged, unstage immediately before committing.
Use conventional commits format. Always pass the message via HEREDOC for proper formatting:
git commit -m "$(cat <<'EOF'
feat: add weighted mean calculation
Implements weighted_mean() with support for NA handling and
zero-weight filtering. Includes input validation for mismatched
vector lengths.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
EOF
)"
Conventional commit types:
| Type | When to use |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
test | Adding or updating tests |
refactor | Code change that neither fixes nor adds |
chore | Build, CI, dependency updates |
style | Formatting, whitespace (no logic change) |
Expected: Commit created with a descriptive message that explains why, not just what.
On failure: If a pre-commit hook fails, fix the issue, re-stage with git add, and create a new commit (do not use --amend since the failed commit was never created).
Only amend if the commit has not been pushed to a shared remote:
# Amend message only
git commit --amend -m "$(cat <<'EOF'
fix: correct weighted mean edge case for empty vectors
EOF
)"
# Amend with additional staged changes
git add forgotten-file.R
git commit --amend --no-edit
Expected: The previous commit is updated in-place. git log -1 shows the amended content.
On failure: If the commit was already pushed, do not amend. Create a new commit instead. Force-pushing amended commits to shared branches causes history divergence.
# View the last commit
git log -1 --stat
# View recent commit history
git log --oneline -5
# Verify the commit content
git show HEAD
Expected: The commit appears in history with the correct message, author, and file changes.
On failure: If the commit contains wrong files, use git reset --soft HEAD~1 to undo the commit while keeping changes staged, then re-commit correctly.
.env files) committedgit log shows the commit with correct metadatagit add . blindly: Always review git status first. Prefer staging specific files by name.--no-edit on content amends: When adding forgotten files to the last commit, use --no-edit to keep the existing message.--amend: When a pre-commit hook fails, the commit was never created. Using --amend would modify the previous commit. Always create a new commit after fixing hook issues.manage-git-branches - branch workflow before committingcreate-pull-request - next step after committingresolve-git-conflicts - handling conflicts during merge/rebaseconfigure-git-repository - repository setup and conventionsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
commit, staging, conventional-commits, version-control, git-workflow
Generated from the plugin's indexed repository (pjt222/agent-almanac) — no native marketplace selected
npx claudepluginhub p/pjt222-agent-almanac377 skills in this plugin
/adapt-architectureExecute structural metamorphosis using strangler fig migration, chrysalis phases, and interface preservation. Covers transformation planning, parallel running, progressive cutover, rollback design, and post-metamorphosis stabilization for system architecture evolution. Use when assess-form has classified the system as READY for transformation, when migrating from monolith to microservices, when replacing a core subsystem while dependents continue operating, or when any architectural change must be gradual rather than big-bang.
/adapticMaster skill composing the 5-step synoptic cycle for panoramic synthesis across multiple domains. Orchestrates meditate, expand-awareness, observe, awareness, integrate-gestalt, and express-insight into a coherent process that produces unified understanding rather than sequential compromise. Use when a problem genuinely spans 3+ domains and the interactions between domains matter more than depth in any one, when sequential analysis feels like compromise rather than integration, or before major architectural decisions affecting multiple stakeholders.
/add-puzzle-typeScaffold a new puzzle type across all 10+ pipeline integration points in jigsawR. Creates the core puzzle module, wires it into the unified pipeline (generation, positioning, rendering, adjacency), adds ggpuzzle geom/stat layers, updates DESCRIPTION and config.yml, extends the Shiny app, and creates a comprehensive test suite. Use when adding a completely new puzzle type to the package or following the 10-point integration checklist to ensure nothing is missed end-to-end.
Other plugins' skills for the same job