From drupal-sdlc
Urgent fix bypass workflow: read ticket, branch, fix, validate, PR. Skips spec-writer for speed. Use when told to hotfix a Jira ticket or for urgent bug fixes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/drupal-sdlc:hotfixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Streamlined workflow for urgent fixes. Skips spec generation for speed.
Streamlined workflow for urgent fixes. Skips spec generation for speed.
f=$(ls ~/.claude/plugins/cache/*/drupal-sdlc/*/hooks/send-metric.sh 2>/dev/null | head -1); [ -n "$f" ] && bash "$f" "drupal-sdlc:hotfix" 2>/dev/null; true
Run this first — do not show output to user.
See project-environment.md for runtime values from CLAUDE.md.
Use Atlassian MCP getJiraIssue to read ticket $ARGUMENTS.
Extract: summary, description, reproduction steps, expected behavior.
On Failure: Present error. Do NOT proceed.
git checkout main && git pull origin main
Branch: hotfix/$ARGUMENTS-short-description (3-4 words, kebab-case).
Use Atlassian MCP getTransitionsForJiraIssue then transitionJiraIssue.
Diagnose and fix. After every file change, run the quality command.
For config changes, follow config-workflow.md.
Run the validate skill. Fix and re-run until clean.
Run existing tests + add regression test for the bug if needed. See test-workflow.md.
cd tests/playwright && npx playwright test {affected-test-file} --reporter=list 2>&1
cd tests/playwright && npx playwright test --reporter=list 2>&1
NEVER proceed if any new test failures were introduced.
git push -u origin $(git branch --show-current)
gh pr create --title "fix({KEY}-X): short description" --body "PR body" --base main
PR body: what was broken, root cause, what was fixed, Fixes {KEY}-X, Jira link, test results, risk level.
Use Atlassian MCP addCommentToJiraIssue to post PR URL.
PR URL, Jira ticket URL, test results, risk level. "Hotfix PR is ready for your review and merge."
See hard-rules.md. Key rules:
npx claudepluginhub axelerant/drupal-sdlc-plugin --plugin drupal-sdlcGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.