agentleFS
chatquillchatquill/claude-code-websites/.claude/skills/hotfix/SKILL.md

hotfix

Skill1 starsChanged 24 days agoMITView on GitHub

Makes the smallest safe fix for a production bug: a hotfix branch, a failing regression test first, the minimal change, an expedited review and a release-checklist-lite. Use during or after an incident, or for an urgent production bug. Never deploys.

33 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use playtest-report, team-live-ops and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 14 projects that use this

  • lilangMaxSkill

    team-live-ops

    Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.

    Also in 11 projects that use this

  • CoralGameSkill

    team-audio

    Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

    Also in 14 projects that use this

  • lilangMaxSkill

    soak-test

    Generate a soak test protocol for extended play sessions. Defines what to observe, measure, and log during long play sessions to surface slow leaks, fatigue effects, and edge cases that only appear after sustained play. Primarily used in Polish and Release phases.

    Also in 10 projects that use this

  • +1 more from CoralGame
  • +2 more from lilangMax

The file

Files
SKILL.md

Hotfix

Ships the minimum change that fixes a production problem, with a regression test that proves it. Scope creep is the enemy: refactors and "while we're here" changes go to /tech-debt. The skill prepares a branch and a reviewed change; the user commits, merges and deploys.

Inputs

  • The incident file (production/incidents/…) or bug file (production/bugs/BUG-NNN-…), or the user's description
  • The failing code area; recent commits
  • project.yaml: modes.rigor, stack.test_unit, stack.test_e2e

Phases

Phase 1: Pin the defect

Restate the bug in one sentence with reproduction steps and the expected behaviour. If reproduction is unclear, ask; do not guess-fix.

Phase 2: Branch

Propose hotfix/<slug> from the deployed commit (usually main). Ask before creating it. Never work on main directly.

Phase 3: Regression test first

Spawn test-engineer (with the relevant specialist) to write a test that reproduces the bug at the lowest level that can: unit, then integration, then e2e. Run bash .claude/scripts/test-run.sh unit (or e2e) and show it failing for the right reason. Under minimal rigor a test is strongly recommended; under standard/full it is required.

Phase 4: Minimal fix

The owning specialist proposes the smallest diff. Show it and ask before writing. Re-run the new test and the full unit suite: test-run.sh all. Report the result honestly.

Phase 5: Expedited review

Spawn the owning lead (lead-frontend/lead-backend) to review only the diff for correctness and side effects; security-lead too if the bug is security-related. Address findings.

Phase 6: Release checklist lite

  • Regression test fails before, passes after
  • Full test suite, lint and typecheck green
  • No migration, or a backward-compatible one reviewed by data-engineer
  • Rollback path known (previous deploy id)
  • Changelog line drafted (fix: …)
  • Verification step after deploy written down

Print the commit message (conventional fix(scope): …) and the deploy/verify steps for the user. Update the incident or bug file with the fix reference.

Output

Branch hotfix/<slug> with the approved changes (uncommitted), updated incident/bug file.

Next step

/postmortem if this came from an incident; /smoke-check after the user deploys.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.