commit
Commit
Stage pending changes and create a single commit with a concise, accurate message.
Process
-
Gather context. Run these in parallel:
git status— list changed and untracked filesgit diff HEAD— see actual content changesgit branch --show-current— confirm branchgit log --oneline -5— learn the repo's commit message style
-
Run safety checks before staging.
- If the current branch is
main,master, ordevelop, stop and ask the user whether to proceed. Feature branches are the default. - Scan the file list for secrets or stray binaries:
.env,.env.*,credentials*,*.key,*.pem,id_rsa*, or any file larger than 5 MB. If any match, stop and confirm with the user before staging.
- If the current branch is
-
Stage files explicitly by name. Never use
git add .orgit add -A.- Example:
git add src/foo.ts src/bar.ts tests/foo.test.ts - Include both modified and new files that belong in the commit.
- Example:
More from benjaming/ai-skills
confluence-cli
Use confluence-cli (NPM package) to manage Confluence content, pages, and spaces from the command line. Ideal for documentation workflows, bulk content operations, page migration, and when users request CLI-based Confluence interactions. Trigger on requests like "use Confluence CLI", "create Confluence pages via CLI", "migrate Confluence content", "automate documentation workflows", or when users want to script Confluence operations.
43atlassian-cli-jira
Use Atlassian CLI (acli) to manage Jira work items, projects, and workflows from the command line. Ideal for bulk operations, automation, scripting, and when users request CLI-based Jira interactions. Trigger on requests like "use Jira CLI", "create Jira issues via CLI", "bulk update Jira tickets", "automate Jira workflows", or when users want to script Jira operations.
29ralph-loop
Create autonomous iterative loops (Ralph Wiggum pattern) for multi-step tasks. Use when setting up automated workflows that iterate over a backlog of tasks with clear acceptance criteria. Triggers on requests like "create a ralph loop", "set up an iterative agent", "automate this migration", or "create an autonomous loop".
22interview
Interview user to clarify any topic - exploring codebase, investigating issues, planning features, understanding requirements, or drilling into plans. Socratic questioning to uncover details.
20codex-cli
Use OpenAI Codex CLI in non-interactive mode for automated code analysis, review, and programmatic task execution. Trigger on requests like "use Codex to analyze", "run codex exec", "codex code review", or when users want AI-powered code analysis without interactive prompts. Ideal for automation workflows, code quality checks, and generating structured analysis reports.
19ui-skills
Opinionated constraints for building better interfaces with agents.
19