xiaohongshu
xiaohongshu
ash-library-hotfix
Handles emergency hotfix process for critical bugs in ash_cookie_consent library including branch creation, minimal fixes, testing, and rapid release. Use when user asks to "create hotfix", "emergency fix", "patch critical bug", or "hotfix for version".
Full skill instructions
This skill guides you through creating and releasing an emergency hotfix for critical bugs.
Activate when user requests:
Only use hotfix process for:
For non-critical bugs, use normal release process.
Ask user to confirm:
If not critical, recommend normal release process instead.
# Get the version to hotfix
git fetch --tags
# Create hotfix branch from the tag
git checkout -b hotfix/X.Y.Z vX.Y.Z
# Example: git checkout -b hotfix/0.1.1 v0.1.0
Guidelines:
Update CHANGELOG.md:
## [X.Y.Z+1] - YYYY-MM-DD
### Fixed
- **CRITICAL**: Description of bug and fix (#issue)
Edit mix.exs:
@version "X.Y.Z+1" # Increment patch number
# Run full test suite
mix test
# Verify the specific bug is fixed
# Add manual verification steps here
# Run quality checks (if time permits)
mix credo
mix dialyzer
Minimum requirement: Tests must pass. Other checks optional if time-critical.
git add .
git commit -m "Fix critical bug: [brief description] (#issue)"
git tag -a vX.Y.Z+1 -m "Hotfix vX.Y.Z+1"
git checkout main
git merge hotfix/X.Y.Z+1 --no-ff
# Resolve conflicts if any (prioritize hotfix changes)
git push origin main
git push origin vX.Y.Z+1
mix hex.build
mix hex.publish
Confirm with y when prompted.
mix hex.retire ash_cookie_consent X.Y.Z \
--reason security \
--message "Security vulnerability fixed in vX.Y.Z+1. Please upgrade immediately."
gh release create vX.Y.Z+1 \
--title "vX.Y.Z+1 - HOTFIX: Brief Description" \
--notes "**Critical hotfix for vX.Y.Z**
🚨 This release fixes a critical bug affecting [description].
### Fixed
- [Description of fix] (#issue)
### Upgrade Instructions
Update your mix.exs:
\`\`\`elixir
{:ash_cookie_consent, \"~> X.Y.Z+1\"}
\`\`\`
See [CHANGELOG](link) for full details."
Immediate notification for:
Notification channels:
Template:
🚨 **Hotfix Released: v X.Y.Z+1**
A critical bug was discovered in v X.Y.Z: [description]
**Impact**: [Who is affected and how]
**Fix**: Upgrade to v X.Y.Z+1 immediately
**Update command**:
\`\`\`bash
mix deps.update ash_cookie_consent
\`\`\`
See [release notes](link) for details.
After releasing hotfix:
Delete hotfix branch (optional):
git branch -d hotfix/X.Y.Z+1
Verify fix in production:
Update roadmap (if needed):
Follow-up tasks:
For critical security issues:
For critical bugs:
Before publishing hotfix:
## [0.1.1] - 2025-11-XX
### Security
- **CRITICAL**: Fix XSS vulnerability in consent modal (#42)
- Escape user-provided cookie group names
- Add Content-Security-Policy headers
## [0.1.1] - 2025-11-XX
### Fixed
- **CRITICAL**: Fix consent data being lost on browser restart (#43)
- Correct cookie max-age calculation
- Add migration for existing cookies
## [0.1.1] - 2025-11-XX
### Fixed
- **CRITICAL**: Fix crash when consent data malformed (#44)
- Add validation and error handling
- Gracefully handle legacy cookie format
Use normal release process instead if:
Full details: .claude/MAINTAINER_GUIDE.md - "Hotfix Process" section
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience