diff --git a/.claude/skills/release-skills/SKILL.md b/.claude/skills/release-skills/SKILL.md index a3c4f96..1e8cb97 100644 --- a/.claude/skills/release-skills/SKILL.md +++ b/.claude/skills/release-skills/SKILL.md @@ -7,12 +7,26 @@ description: Release workflow for baoyu-skills plugin. This skill should be used Automate the release process for baoyu-skills plugin: analyze changes, update changelogs, bump version, commit, and tag. +## CRITICAL: Mandatory Release Checklist + +**NEVER skip these steps when releasing:** + +1. ✅ Update `CHANGELOG.md` (English) +2. ✅ Update `CHANGELOG.zh.md` (Chinese) +3. ✅ Update `marketplace.json` version +4. ✅ Update `README.md` / `README.zh.md` if needed +5. ✅ Commit all changes together +6. ✅ Create version tag + +**If user says "直接 push" or "just push" - STILL follow all steps above first!** + ## When to Use Trigger this skill when user requests: - "release", "发布", "create release", "new version" - "bump version", "update version" - "prepare release" +- "push to remote" (with uncommitted changes) ## Workflow diff --git a/CLAUDE.md b/CLAUDE.md index d4a2a52..d56507c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -78,6 +78,16 @@ npx -y bun skills/baoyu-danger-gemini-web/scripts/main.ts --promptfiles system.m `.claude-plugin/marketplace.json` defines plugin metadata and skill paths. Version follows semver. +## Release Process + +**IMPORTANT**: When user requests release/发布/push, ALWAYS use `/release-skills` workflow. + +**Never skip**: +1. `CHANGELOG.md` + `CHANGELOG.zh.md` - Both must be updated +2. `marketplace.json` version bump +3. `README.md` + `README.zh.md` if applicable +4. All files committed together before tag + ## Adding New Skills **IMPORTANT**: All skills MUST use `baoyu-` prefix to avoid conflicts when users import this plugin.