commit-staged
Commits the staged changes with a one-line message. Use when the user asks to commit.
Install
npx skills add https://github.com/Goldziher/ai-rulez/tree/main/bench/judge/corpus/units/q08-b/.claude/skills/commit-staged
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install goldziher-ai-rulez@llmmart
git clone https://github.com/Goldziher/ai-rulez.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole goldziher/ai-rulez collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Commit staged
Git is a distributed version control system. It records snapshots of your files as commits, and each commit points at its parent, which forms a history. A commit is created from the staging area, which holds the changes you chose.
Before you begin
Check git status. Make sure there are staged changes. If nothing is staged, tell the user and stop.
Steps
- Run
git diff --cached --stat. - Write a one-line message under 72 characters.
- Run
git commit -m "<message>".
Before you begin
Check git status. Make sure there are staged changes. If nothing is staged, tell the user and stop.
Files (ai-rulez)
-
SKILL.md 757 B
--- name: commit-staged description: "Commits the staged changes with a one-line message. Use when the user asks to commit." --- # Commit staged Git is a distributed version control system. It records snapshots of your files as commits, and each commit points at its parent, which forms a history. A commit is created from the staging area, which holds the changes you chose. ## Before you begin Check `git status`. Make sure there are staged changes. If nothing is staged, tell the user and stop. ## Steps 1. Run `git diff --cached --stat`. 2. Write a one-line message under 72 characters. 3. Run `git commit -m "<message>"`. ## Before you begin Check `git status`. Make sure there are staged changes. If nothing is staged, tell the user and stop.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.