Bypasses standard PR workflows for quick, safe fixes.

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
Beginner

Key capabilities

  • Commit staged/unstaged changes
  • Push changes directly to main
  • Check current branch status
  • Review recent commit style
  • Stage relevant changed files by name
  • Report commit hash and push success

How it works

The skill checks the current branch, reviews changes, stages specific files, commits them with a conventional message, and pushes directly to the `main` branch.

Inputs & outputs

You give it
staged or unstaged changes in a git repository
You get back
changes committed and pushed directly to the `main` branch, with commit hash reported

When to use pr-hotfix

  • Fix typos in documentation
  • Update configuration files
  • Apply emergency small fixes

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.

When not to use it

  • If the current branch is not `main`.
  • For large or complex changes that require a PR workflow.
  • For changes that need review.

Limitations

  • The skill is only for small, safe fixes.
  • The skill requires the current branch to be `main`.
  • The skill does not support `git add -A` or `git add .`.

How it compares

This skill bypasses the standard PR workflow for small, safe fixes by committing and pushing directly to `main`, which is faster than a full review process.

Compared to similar skills

pr-hotfix side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pr-hotfix (this skill)01moReviewBeginner
resolve-conflicts818moReviewIntermediate
openspec-onboard106moReviewBeginner
codex-cli-bridge99moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry