Hotfix
Multi-perspective AI development workflows using councils of specialized agents. Plan, build, review, and ship — with 13 agent personas across 6 councils.
npx -y skills add andrewvaughan/agent-council --skill hotfixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 11 stars11 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Fast-track an urgent fix through a streamlined pipeline. Skips Product/Feature Council, applies the fix, runs a focused review, and creates a PR with optional Deployment Council. Use for production bugs, security patches, or critical regressions that cannot wait for the full planning pipeline.
SKILL.md
5.0 KB, as published. Nobody here has run it
Hotfix Workflow
Apply an urgent fix through a streamlined pipeline that skips the full planning cycle. This skill is for production bugs, security patches, and critical regressions.
[!CAUTION] This is NOT a shortcut for feature work. If the change adds new functionality, changes user-facing behavior, or touches more than ~100 lines, use
/plan-featureinstead. Hotfixes should be small, focused, and clearly scoped.
[!CAUTION] Scope boundary: This skill implements the fix, reviews it, creates a PR, and monitors CI. It covers the full lifecycle for urgent fixes so the user does not need to chain multiple skills.
Step 1: Define the Fix
CHECKPOINT: Confirm Hotfix Scope
Ask the user to describe the issue. Gather:
- What is broken? (symptom, error message, affected users)
- Where is the bug? (file, endpoint, component — if known)
- How urgent? (production down, data corruption, security vulnerability, degraded experience)
- GitHub issue number (if one exists)
If the user provides a GitHub issue number, fetch it:
gh issue view <number> --json title,body,labels,state,number
Present a summary and ask the user to confirm this is appropriate for hotfix (not a feature).
Step 2: Create Branch and Investigate
-
Ensure you are on
mainand up to date:git fetch origin git checkout main git pull origin main -
Create a
fix/branch:git checkout -b fix/<short-description> -
If a GitHub issue exists, add the
in-progresslabel (following AGENTS.md label management rules — remove from any other issue first). -
Investigate the bug: read relevant files, reproduce the issue if possible, identify the root cause.
Present the root cause analysis to the user before proceeding.
Step 3: Apply the Fix
-
Make the minimal change needed to resolve the issue.
-
Write or update tests to cover the bug (regression test).
-
Run self-checks:
pnpm type-check pnpm lint pnpm test -
Fix any failures from the checks above.
CHECKPOINT: Review the Fix
Present:
- Files changed (with a brief description of each change)
- Tests added or modified
- Test results (pass/fail, coverage)
Wait for user approval before committing.
Step 4: Commit
Commit with conventional commit format:
git add <specific-files>
git commit -m "fix(<scope>): <description>"
Step 5: Focused Review
Run a lightweight review (not the full Review Council):
- Security scan (always): Invoke
/security-scanning:security-saston changed files. - Accessibility check (if frontend changes): Invoke
/ui-design:accessibility-auditon modified components.
If the security scan finds Critical or High severity issues in the changed files, present them to the user. Fix any legitimate findings before proceeding.
Step 6: Deployment Council (Conditional)
Activate the Deployment Council only if the fix involves:
- Database migrations
- Docker or infrastructure changes
- Environment variable modifications
- Authentication or authorization code
If none of these apply, skip to Step 7.
If activated, run the Deployment Council evaluation from .claude/councils/deployment-council.md with all 3 members (Platform Engineer, Security Engineer, QA Lead).
CHECKPOINT: Deployment Readiness
Present the Deployment Council verdict. Wait for user approval.
Step 7: Create PR and Monitor CI
-
Run pre-push checks:
pnpm type-check && pnpm lint && pnpm format:check && pnpm testAuto-fix formatting issues with
pnpm formatifformat:checkfails. -
Push and create PR:
git push -u origin fix/<short-description> -
Generate PR description. Use the template from
.github/PULL_REQUEST_TEMPLATE.mdif it exists. Include:- Description of the bug and root cause
- The fix applied
- Tests added
- Related issue number (if applicable)
CHECKPOINT: PR Description
Present the PR title and body. Wait for user approval.
-
Create the PR:
gh pr create --title "<title>" --body "<body>" -
Monitor CI:
gh run list --branch fix/<short-description> --limit 1 --json databaseId --jq '.[0].databaseId'Then watch:
gh run watch <run-id> --exit-status -
If CI fails, diagnose and fix. Present the fix to the user before committing.
Step 8: Hand Off
Present the completed hotfix summary:
- PR URL
- Files changed
- Tests added
- CI status
- Related issue (if applicable)
You completed
/hotfix. The PR is ready for merge. If there is a related GitHub issue, it will close automatically when the PR merges (if the PR body includesCloses #N).