PR
pr-hotfix
Commit and push a small fix directly to main, bypassing the PR workflow.
Install
mkdir -p .claude/skills/pr-hotfix && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16740" && unzip -o skill.zip -d .claude/skills/pr-hotfix && rm skill.zipInstalls to .claude/skills/pr-hotfix
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Commit and push a small fix directly to main, bypassing the PR workflow.72 charsno explicit “when” trigger
About this skill
Commit the current staged/unstaged changes directly to main. Use only for small, safe fixes (docs, config, typos) that do not need review.
Steps
- Run
git branch --show-current. If the current branch is notmain, stop and tell the user to switch tomainfirst or use/pr-newinstead. - Run
git statusandgit diffto understand exactly what has changed. - Run
git log --oneline -5to see recent commit style. - Stage all relevant changed files by name (never use
git add -Aorgit add .). - Commit with a conventional commit message that explains the why, not just the what. Do not append any co-author trailer — the commit message must end after the body with no additional lines like
Co-Authored-By: .... - Push directly to main:
git push origin main - Report the commit hash and confirm the push succeeded.