/nexus-agents:hotfixfrom nexus-agents
Applies hotfixes for critical production issues using a structured workflow with branch-from-tag, minimal changes, fast-track review, and immediate patching.
Ships in nexus-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If criteria not met: Use the bug-fix skill instead.
Create branch from latest release tag:
git tag --sort=-v:refname | head -5 # Find latest tag
git checkout -b hotfix/<issue>-description <latest-tag>
Implement fix with minimal changes — no refactoring, no extras
Fast-track review: Security label + P1 = single-reviewer approval sufficient
Quality gates:
pnpm lint && pnpm typecheck && pnpm test
Merge to main AND cherry-pick to release branch
Immediate release with patch version bump:
# Add changeset for patch bump
pnpm changeset # select patch
git add . && git commit -m "chore: changeset for hotfix"
git push origin main --tags
# CI handles npm publish via OIDC trusted publishing
# Or trigger manually: gh workflow run publish.yml
npm unpublish nexus-agents@<version> # Within 72 hours only
git tag -d v<version> && git push --delete origin v<version>
| Excuse | Counter |
|---|---|
| "Skip tests, it's an emergency" | A hotfix without tests becomes the next regression. Add at least the failing-test-then-fix (Prove-It Pattern). |
| "Bypass the lint gate just this once" | Hotfix bypass is the most expensive shortcut: the next change you ship inherits the broken state. Lint stays. |
| "Skip the PR review, just push" | Hotfix PR review can be quick (one trusted reviewer + admin merge), but the second pair of eyes catches the wrong-fix-for-the-symptom mistake. |
| "Roll forward later, no need for proper rollback plan" | Production users can't wait. Either the hotfix works or there's a rollback plan; "we'll figure it out" is not a plan. |
security-advisory-response instead)pnpm lint && pnpm typecheck && pnpm test pass before mergeWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.PreToolUse.0: Hook matcher "hooks" must be an array of hook entries; received undefined; hooks.PreToolUse.1: Hook matcher "hooks" must be an array of hook entries; received undefined — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.PreToolUse.0: Hook matcher "hooks" must be an array of hook entries; received undefined; hooks.PreToolUse.1: Hook matcher "hooks" must be an array of hook entries; received undefined — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
34 skills in this plugin
/api-and-interface-designDesign stable, hard-to-misuse interfaces — REST endpoints, MCP tool
schemas, module boundaries, type contracts. Apply when defining new
surfaces or evolving public ones. Triggers on "API design", "interface",
"schema", "contract", "module boundary", "type design".
/browser-testing-with-devtoolsTest UI in real browsers via Chrome DevTools MCP. Apply when debugging
rendering issues, console errors, network behavior, performance, or
accessibility — anywhere static code analysis can't see runtime state.
Triggers on "browser test", "DOM inspect", "console errors",
"network trace", "core web vitals in browser", "ui bug repro".
/bug-fixFix a bug following project standards.
Use when fixing defects, debugging issues, or resolving reported problems.
Triggers on "fix bug", "debug", "fix issue", "resolve bug".
/code-simplificationReduce nesting, extract names, eliminate redundancy without changing
behavior. Apply after features work and tests pass — never as a
drive-by during feature work. Triggers on "simplify", "refactor for clarity",
"this is hard to read", "code review flagged complexity".
/codex-delegatorDelegate code generation tasks to Codex CLI for optimal performance.
Use when implementing features, generating tests, refactoring code, or
making bulk code changes. Triggers on "delegate to codex", "route to codex",
"use codex", "code generation".
/context-engineeringCurate what the agent sees, when, and how it's structured. Apply when
starting a session, when output quality drifts, when fanning out
subagents, or when configuring rules files. Triggers on
"context engineering", "rules file", "agent context",
"subagent fan-out", "context budget".
Other plugins' skills for the same job