agentskills.codes

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.zip

Installs 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

  1. Run git branch --show-current. If the current branch is not main, stop and tell the user to switch to main first or use /pr-new instead.
  2. Run git status and git diff to understand exactly what has changed.
  3. Run git log --oneline -5 to see recent commit style.
  4. Stage all relevant changed files by name (never use git add -A or git add .).
  5. 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: ....
  6. Push directly to main: git push origin main
  7. Report the commit hash and confirm the push succeeded.

Search skills

Search the agent skills registry