feat: add git commit and branch helper skills#378
Merged
Conversation
- Replace deprecated Commands section with proper Skills sections - Move Skills before Agents — skills are the entry points, agents are implementation details - Add Core Workflow section with all ce:* skills front and center - Add Git Workflow section for new git-commit/push/pr skills - Add Workflow Utilities section absorbing former Utility Commands - Add Beta/Experimental section for lfg and slfg - Add note that agents are invoked by skills, not directly by users - Update skill count from 40+ to 43
The skill generated outdated output — referenced deprecated tools (TodoWrite, MultiEdit), project-specific integrations, and used command-style templates that no longer match current skill conventions. The plugin ecosystem has better skill-authoring tooling elsewhere.
… skills Three new skills replacing the deprecated commit-commands plugin: - git-commit: Convention-aware commit creation with logical commit splitting at the file level when changes have distinct concerns - git-commit-push-pr: Adaptive PR descriptions that scale in depth with change complexity, conditional test plans, and GitHub-safe formatting - git-clean-gone-branches: Fetch-first branch cleanup with user confirmation and worktree handling, using a shell script for reliable parsing All three use `command git` to bypass RTK proxies and shell aliases.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a42aab248a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address PR review feedback: - clean-gone script now skips the currently checked-out branch (marked with *) to prevent git branch -D from failing on the active branch - README skill count corrected to 42 (was 43)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three new git workflow skills adapted from Anthropic's commit-commands plugin. The originals are lightweight commands that run
git commitandgh pr createwith minimal guidance. These skills take an opinionated approach — convention-aware commit messages, adaptive PR descriptions, user confirmation before destructive actions — and are built as skills rather than commands.Skills
git-commit — Convention-aware commit creation. Checks loaded project instructions first (AGENTS.md, CLAUDE.md), falls back to recent commit history patterns, defaults to conventional commits. Includes lightweight logical commit splitting at the file level when changes have clearly distinct concerns (no
git add -psurgery).git-commit-push-pr — Produces PR descriptions that scale in depth with the change:
Key behaviors:
#-prefixed list items (prevents GitHub issue auto-linking)git-clean-gone-branches — Adapted from the original
clean_gonecommand with several fixes: runsgit fetch --prunefirst (original didn't), asks for user confirmation before deleting (original auto-deleted), uses a shell script with safer regex parsing, and handles worktree cleanup.Adaptations from the originals
command git/command ghto account for shell aliases and proxies like Rust Token Killer (rtk)git-commit-push-pradds the entire adaptive PR description system (the original just calledgh pr createwith no body guidance)git-commitadds convention detection and logical commit splitting (the original had no message guidance)Eval results
Tested
git-commit-push-pracross 8 scenarios using the skill-creator eval framework (with-skill vs without-skill baseline):