hotfix
Emergency hotfix deploy — commit, push homolog, PR to main, merge now.
Skill by bravros
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bravros-hotfix
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/hotfix
What's inside
- Skill name
hotfix- Description
- Emergency hotfix deploy — commit, push homolog, PR to main, merge now. Use on `/hotfix <description>`.
- License
- MIT
- Instructions
- 30 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- briefing.md · references/
- skill.yaml
SKILL.md (first lines)
# hotfix Read [briefing.md](references/briefing.md) on demand for detailed context and instructions. INTENT: ship an urgent production fix now, bypassing the plan workflow. Flow: confirm repo → commit → push/merge into homolog → PR homolog→main → wait for mergeability → merge → sync back → deploy status. `$ARGUMENTS` is the description — ask if empty. ## Hard constraints - **Running `/hotfix` IS the approval for merge-to-main** — the emergency-path exemption: no user question checkpoints between commit and merge. - **Never route a hotfix through `/pr` → `/pr-review` → `/finish`.** If a review is wanted it is not a hotfix — say so and stop instead of drifting into "how far should /finish take it?". - **The autopr lock is the one hard gate that remains.** Refuse if `bravros autopr status` reports lock present. - **The police staging lane — not a token — is what lets the merge through**: head `homolog`, `mergeStateStatus` `CLEAN`, no autonomous lock, plain `gh pr merge 1234 --merge` with the **literal** PR number (no `cd … &&`, no `-R`/URL) — the hook reads raw command text, so a `$VAR` in the PR argument is unreadable → blocked. A repo with `police.staging_lane: reviewed` needs `bravros police unlock` from a separate terminal — say so ONCE, do not loop. - **Merge-lock is intentionally skipped** — one emergency at a time. - **NEVER delete the homolog branch after merge. NEVER skip the PR** — main is protected. - If targeted tests fail, STOP and ask. ## Quick Flow Summary 0. **Confirm repo identity** before anything: `git remote get-url origin` + `basename "$(git rev-parse --show-toplevel)"` — a hotfix in the wrong checkout is the worst possible mistake. 1. Refuse on `main`/`master`. Strip issue ref for PR title / `Closes #42`. 2. Format files → `bravros commit "🩹 hotfix: <description>" <changed files only>`. 3. Push & merge to `homolog` → `gh pr create --base main --head homolog --title "🩹 hotfix: <description>"` (body written with the Write tool to a **literal absolute path** in a previous step, then `--body-file <that path>` as its own call — never `$VAR`, `cp`, or a relative path; no attribution lines). 4. **Wait for mergeability**, or the first merge hits the `UNKNOWN` block: `until [ "$(gh pr view "$PR_NUMBER" --json mergeStateStatus -q .mergeStateStatus)" != "UNKNOWN" ]; do sleep 2; done`. 5. Check autopr gate → `gh pr merge 1234 --merge > /tmp/bravros-merge-1234.txt 2>&1` (substitute the literal number — a `$VAR` here is unreadable to the hook; no `cd … &&`, no `| tail`) → verify state == `MERGED`. A `✋🏽 Police Block` names its reason — relay it in one line; never `gh api`/raw HTTP, never `/promote`. 6. Sync `homolog` from `main` (`git checkout homolog && git pull && git fetch origin main && git merge ...`). 7. Close plan if applicable (`.planning/events.jsonl`) → `bravros commit`. 8. **Deploy status line, explicit**: `merged main @ <sha> · deploy: <auto-triggered / manual / none> · built+restarted: <yes / no / n-a> · verified: <how / not yet>`. Compiled or infra targets (Go binaries, containers, homelab) must say whether a rebuild + restart on the server is still required. 9. Announce via `bash ~/.agent_config/scripts/announce.sh --force "<PT-BR>" studio || true` (template in briefing).
From bravros/bravros, MIT.
More from bravros/bravros
- 0.609score
laravel-pest5-upgrade
bravros
Upgrade a PHP/Laravel repo from Pest 4 to Pest 5 and turn on Test Impact Analysis (TIA) so local full runs only re-execute the tests a change can reach.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
after-merge
bravros
Generate an after-merge.md operational deploy checklist for homolog-to-main aggregate releases.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
context
bravros
Scan project and generate/audit CLAUDE.md files with stack auto-detection and Context7 docs.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
doctor-plus
bravros
Runs Claude Code's built-in /doctor health check, then audits the workspace against Anthropic's 6 then-and-now context-engineering shifts (rules→judgement…
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
interview-me
bravros
Stress-test a plan or design via a round-by-round interview — ask the whole frontier of independent questions each round until every branch of the decision…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
graphify-this-project
bravros
Set up a graphify knowledge graph for the current project — in-project committed graph.json, AST extraction + external labelling, tracked refresh hooks…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
finish
bravros
Complete a feature — merge the approved PR, record plan completion, route the homolog→main decision.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
laravel-pest-rector
bravros
Adopt Pest's Rector plugin on a Pest 5 project and refactor tests into Pest matchers — scoped to tests/, dry-run gated.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
advise-project-approach
bravros
Research and advise how a software project should be built — stack selection, architecture, operating-cost tradeoffs, and real-world comparables.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
graphify-status
bravros
Report knowledge-graph label coverage across every graphify-enabled project on this machine — communities, labels, and how many nodes still render as…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
backlog
bravros
Capture, list, and promote pre-planning ideas.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
batch-merge-prs
bravros
Verify N PRs, address review feedback, ordered-merge to the staging branch (never main), close linked issues/backlog per merge, then hand off the full test…
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 1, 2026 (28 days ago)
- Last release
- Oct 1, 2026 (28 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/bravros/bravros
- Website
- bravros.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bravros
- 0.609score
interview-me
bravros
Stress-test a plan or design via a round-by-round interview — ask the whole frontier of independent questions each round until every branch of the decision…
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
laravel-pest5-upgrade
bravros
Upgrade a PHP/Laravel repo from Pest 4 to Pest 5 and turn on Test Impact Analysis (TIA) so local full runs only re-execute the tests a change can reach.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
context
bravros
Scan project and generate/audit CLAUDE.md files with stack auto-detection and Context7 docs.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
doctor-plus
bravros
Runs Claude Code's built-in /doctor health check, then audits the workspace against Anthropic's 6 then-and-now context-engineering shifts (rules→judgement…
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
after-merge
bravros
Generate an after-merge.md operational deploy checklist for homolog-to-main aggregate releases.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
backlog
bravros
Capture, list, and promote pre-planning ideas.
SkillAFreshness: A★ 3Claude Code +9
Cite this page
hotfix skill. Agent Mart. https://agentmart.dev/skills/bravros-hotfix (last updated 2026-10-24)