[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DZA433RGPMP0AGD9Y2AW51":3,"skill-same:01M6DZA433RGPMP0AGD9Y2AW51":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":6,"updatedAt":42,"install":43,"resources":55},"01M6DZA433RGPMP0AGD9Y2AW51","eforge-release",null,"Release a new version of eforge with release notes, changelog, and GitHub Release - supports patch, minor, and major release types","eforge-build\u002Feforge","eforge-build","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F268386632?v=4","01M6DZ9WAH8M3XRV4J88WG5SB5","01M6DZ9WEVEC6BJ62ZX3RAVA02",71,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Feforge-release\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26],"release","eforge release","github","notes","release notes","changelog","github release","version","patch","2026-11-10 10:12:30",false,"---\nname: eforge-release\ndescription: Release a new version of eforge with release notes, changelog, and GitHub Release - supports patch, minor, and major release types\nargument-hint: \"[--patch|--minor|--major]\"\ndisable-model-invocation: true\n---\n\n# \u002Feforge-release\n\nRelease a new version of eforge. Parses the release type from arguments, checks git status, optionally commits staged changes, generates release notes from the git log, updates CHANGELOG.md, bumps the version on a release PR, tags merged main, pushes the tag, and creates a GitHub Release.\n\n## Workflow\n\n### Step 1: Parse Release Type\n\nRead `$ARGUMENTS` to determine the release type:\n\n- `--patch` or empty\u002Funrecognized - **patch** (default)\n- `--minor` - **minor**\n- `--major` - **major**\n\nStore the resolved bump type (one of `patch`, `minor`, `major`) for use in later steps.\n\n### Step 2: Check Git Status\n\nRun `git status --porcelain` to determine the repo state.\n\nThree possible outcomes:\n\n1. **Clean** (no output) - proceed to Step 4\n2. **All changes staged** (all lines start with `M `, `A `, `D `, `R ` - no `?? ` or ` M` or ` D` lines) - proceed to Step 3\n3. **Unstaged or untracked changes exist** (any `??`, ` M`, ` D`, or `MM` lines) - **STOP**. Tell the user there are unstaged\u002Funtracked changes and they need to stage or stash them first. List the problematic files.\n\n### Step 3: Commit Staged Changes\n\nUse the `\u002Fgit:commit-message-policy` skill to create a commit for the staged changes. Follow the standard commit workflow:\n\n1. Run `git diff --cached` to see what's staged\n2. Run `git log --oneline -5` for recent commit style\n3. Draft a commit message following Conventional Commits format\n4. Create the commit\n\n### Step 4: Generate Release Notes\n\nGenerate release notes from the git log between the previous tag and HEAD.\n\n**Find the previous tag:**\n\n```bash\ngit describe --tags --abbrev=0\n```\n\nIf no tags exist, fall back to the root commit:\n\n```bash\ngit rev-list --max-parents=0 HEAD\n```\n\n**Collect commits:**\n\n```bash\ngit log \u003CPREV_TAG>..HEAD --oneline\n```\n\n**Filter noise** - remove any lines matching these patterns:\n- Version bump messages: lines matching `^\\w+ \\d+\\.\\d+\\.\\d+$` (e.g., `0.2.5`)\n- Contains `enqueue(` (eforge queue entries)\n- Contains `cleanup(` (eforge cleanup commits)\n- Contains `plan(` (eforge planning artifacts)\n- Contains `Merge ` (merge commits)\n- Contains `bump plugin version`\n\n**Clean up commit messages:**\n- Strip the leading commit hash\n- Strip `plan-NN-` and `hardening-NN-` prefixes from conventional commit scopes (e.g., `feat(plan-01-foo): bar` becomes `feat(foo): bar`, `feat(hardening-03-foo): bar` becomes `feat(foo): bar`)\n- Extract the scope (text inside parentheses) and the description (text after `: `)\n- Normalize the scope: if it maps to a known package\u002Fmodule, use that; if no scope, use `core`\n\nKnown scope → package mappings:\n- `engine` → **engine**\n- `client` → **client**\n- `monitor` → **monitor**\n- `monitor-ui` → **monitor-ui**\n- `eforge` → **eforge** (CLI)\n- `pi-eforge` → **pi-eforge**\n- `plugin` → **plugin** (Claude Code plugin)\n- `mcp` → **mcp**\n- `backends` → **backends**\n- `deps`, `dependencies` → **deps**\n- `queue` → **queue**\n- `revert-*` or `revert` → **core**\n- `gap-close` → **core**\n- `cleanup` → skip these commits entirely (they're PRD cleanup)\n- Any other scope → use as-is (e.g., `backend-new` → **backend-new**)\n- No scope → **core**\n\n**Deduplicate** by description text - keep only the first occurrence of each description.\n\n**Group by conventional commit type** into markdown sections:\n- `feat` - `### Features`\n- `fix` - `### Bug Fixes`\n- `refactor` - `### Refactoring`\n- `perf` - `### Performance`\n- `docs` - `### Documentation`\n- `chore`, `ci`, `build`, `test` - `### Maintenance`\n- Anything else - `### Other`\n\nWithin each section, format entries as:\n```markdown\n- **\u003Cpackage>**: \u003Cdescription>\n```\n\nFor example:\n```markdown\n- **pi-eforge**: add searchable overlays for provider and model selection\n- **engine**: subprocess-per-build with crash-safe reconciler\n- **core**: Parent scheduler owns sessionId and emits session:start at spawn\n```\n\nSort entries alphabetically by package name within each section.\n\nOmit empty sections. If no meaningful commits remain after filtering, use \"Maintenance release\" as the release notes.\n\nStore the generated markdown for use in Steps 5 and 7.\n\n### Step 5: Update CHANGELOG.md\n\n**Compute the new version** before bumping by reading the source-of-truth version from `packages\u002Feforge\u002Fpackage.json` and incrementing the appropriate component:\n\n```bash\nnode -e \"\nconst v = require('.\u002Fpackages\u002Feforge\u002Fpackage.json').version.split('.');\nconst bump = '$BUMP_TYPE';\nif (bump === 'major') { v[0]++; v[1]=0; v[2]=0; }\nelse if (bump === 'minor') { v[1]++; v[2]=0; }\nelse { v[2]++; }\nconsole.log(v.join('.'));\n\"\n```\n\n(Where `$BUMP_TYPE` is the resolved bump type from Step 1.)\n\nNote: the root `package.json` has no `version` field - this is a pnpm workspace and `packages\u002Feforge\u002Fpackage.json` is the lockstep source of truth.\n\n**Create or update CHANGELOG.md:**\n\n1. If `CHANGELOG.md` does not exist, create it with a `# Changelog` heading\n2. Prepend a new entry immediately after the `# Changelog` heading line:\n\n```markdown\n## [X.Y.Z] - YYYY-MM-DD\n\n\u003Crelease notes from Step 4>\n```\n\n3. Trim to a maximum of 20 `## [` sections. If entries are removed, ensure this footer exists at the bottom of the file:\n\n```markdown\n---\nFor older releases, see [GitHub Releases](https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Freleases).\n```\n\n**Commit the changelog:**\n\n```bash\ngit add CHANGELOG.md\ngit commit -m \"docs: update CHANGELOG.md for vX.Y.Z\"\n```\n\n### Step 6: Bump Version, Open PR, and Tag Merged Main\n\nUse the protected-main flow. Create a release branch, bump without tagging, open a PR, and enable auto-merge:\n\n```bash\ngit checkout -b release\u002Fv\u003Cversion>\npnpm release \u003Cbump-type> --no-tag\ngit push -u origin release\u002Fv\u003Cversion>\ngh pr create --base main --head release\u002Fv\u003Cversion> --title \"release: v\u003Cversion>\" --body-file \u003Cnotes-file>\ngh pr merge release\u002Fv\u003Cversion> --auto --merge --delete-branch\n```\n\n(Where `\u003Cbump-type>` is the resolved bump type from Step 1.)\n\n`pnpm release --no-tag` (scripts\u002Fbump-version.mjs) bumps `packages\u002Feforge\u002Fpackage.json` (source of truth), propagates the version to the other lockstep packages (`client`, `engine`, `monitor`, `pi-eforge`), and commits the lockstep package\u002Fversion surfaces with message `X.Y.Z`, but does not create a tag.\n\nAfter the PR merges, update `main`, verify the version, create the annotated tag on the merged main commit, and push only that tag:\n\n```bash\ngit checkout main\ngit pull --ff-only origin main\ngit tag -a v\u003Cversion> -m \"v\u003Cversion>\"\ngit push origin refs\u002Ftags\u002Fv\u003Cversion>\n```\n\n### Step 7: Create GitHub Release and Summary\n\nCreate a GitHub Release from the generated release notes:\n\n```bash\ngh release create v\u003Cversion> --title \"v\u003Cversion>\" --notes-file \u003Cnotes-file>\n```\n\nReport:\n- The new version number\n- The release type (patch, minor, or major)\n- Link to the GitHub Release\n- Remind the user that npm publish is handled by the tag-triggered GitHub Action\n","# \u002Feforge-release\n\nRelease a new version of eforge. Parses the release type from arguments, checks git status, optionally commits staged changes, generates release notes from the git log, updates CHANGELOG.md, bumps the version on a release PR, tags merged main, pushes the tag, and creates a GitHub Release.\n\n## Workflow\n\n### Step 1: Parse Release Type\n\nRead `$ARGUMENTS` to determine the release type:\n\n- `--patch` or empty\u002Funrecognized - **patch** (default)\n- `--minor` - **minor**\n- `--major` - **major**\n\nStore the resolved bump type (one of `patch`, `minor`, `major`) for use in later steps.\n\n### Step 2: Check Git Status\n\nRun `git status --porcelain` to determine the repo state.\n\nThree possible outcomes:\n\n1. **Clean** (no output) - proceed to Step 4\n2. **All changes staged** (all lines start with `M `, `A `, `D `, `R ` - no `?? ` or ` M` or ` D` lines) - proceed to Step 3\n3. **Unstaged or untracked changes exist** (any `??`, ` M`, ` D`, or `MM` lines) - **STOP**. Tell the user there are unstaged\u002Funtracked changes and they need to stage or stash them first. List the problematic files.\n\n### Step 3: Commit Staged Changes\n\nUse the `\u002Fgit:commit-message-policy` skill to create a commit for the staged changes. Follow the standard commit workflow:\n\n1. Run `git diff --cached` to see what's staged\n2. Run `git log --oneline -5` for recent commit style\n3. Draft a commit message following Conventional Commits format\n4. Create the commit\n\n### Step 4: Generate Release Notes\n\nGenerate release notes from the git log between the previous tag and HEAD.\n\n**Find the previous tag:**\n\n```bash\ngit describe --tags --abbrev=0\n```\n\nIf no tags exist, fall back to the root commit:\n\n```bash\ngit rev-list --max-parents=0 HEAD\n```\n\n**Collect commits:**\n\n```bash\ngit log \u003CPREV_TAG>..HEAD --oneline\n```\n\n**Filter noise** - remove any lines matching these patterns:\n- Version bump messages: lines matching `^\\w+ \\d+\\.\\d+\\.\\d+$` (e.g., `0.2.5`)\n- Contains `enqueue(` (eforge queue entries)\n- Contains `cleanup(` (eforge cleanup commits)\n- Contains `plan(` (eforge planning artifacts)\n- Contains `Merge ` (merge commits)\n- Contains `bump plugin version`\n\n**Clean up commit messages:**\n- Strip the leading commit hash\n- Strip `plan-NN-` and `hardening-NN-` prefixes from conventional commit scopes (e.g., `feat(plan-01-foo): bar` becomes `feat(foo): bar`, `feat(hardening-03-foo): bar` becomes `feat(foo): bar`)\n- Extract the scope (text inside parentheses) and the description (text after `: `)\n- Normalize the scope: if it maps to a known package\u002Fmodule, use that; if no scope, use `core`\n\nKnown scope → package mappings:\n- `engine` → **engine**\n- `client` → **client**\n- `monitor` → **monitor**\n- `monitor-ui` → **monitor-ui**\n- `eforge` → **eforge** (CLI)\n- `pi-eforge` → **pi-eforge**\n- `plugin` → **plugin** (Claude Code plugin)\n- `mcp` → **mcp**\n- `backends` → **backends**\n- `deps`, `dependencies` → **deps**\n- `queue` → **queue**\n- `revert-*` or `revert` → **core**\n- `gap-close` → **core**\n- `cleanup` → skip these commits entirely (they're PRD cleanup)\n- Any other scope → use as-is (e.g., `backend-new` → **backend-new**)\n- No scope → **core**\n\n**Deduplicate** by description text - keep only the first occurrence of each description.\n\n**Group by conventional commit type** into markdown sections:\n- `feat` - `### Features`\n- `fix` - `### Bug Fixes`\n- `refactor` - `### Refactoring`\n- `perf` - `### Performance`\n- `docs` - `### Documentation`\n- `chore`, `ci`, `build`, `test` - `### Maintenance`\n- Anything else - `### Other`\n\nWithin each section, format entries as:\n```markdown\n- **\u003Cpackage>**: \u003Cdescription>\n```\n\nFor example:\n```markdown\n- **pi-eforge**: add searchable overlays for provider and model selection\n- **engine**: subprocess-per-build with crash-safe reconciler\n- **core**: Parent scheduler owns sessionId and emits session:start at spawn\n```\n\nSort entries alphabetically by package name within each section.\n\nOmit empty sections. If no meaningful commits remain after filtering, use \"Maintenance release\" as the release notes.\n\nStore the generated markdown for use in Steps 5 and 7.\n\n### Step 5: Update CHANGELOG.md\n\n**Compute the new version** before bumping by reading the source-of-truth version from `packages\u002Feforge\u002Fpackage.json` and incrementing the appropriate component:\n\n```bash\nnode -e \"\nconst v = require('.\u002Fpackages\u002Feforge\u002Fpackage.json').version.split('.');\nconst bump = '$BUMP_TYPE';\nif (bump === 'major') { v[0]++; v[1]=0; v[2]=0; }\nelse if (bump === 'minor') { v[1]++; v[2]=0; }\nelse { v[2]++; }\nconsole.log(v.join('.'));\n\"\n```\n\n(Where `$BUMP_TYPE` is the resolved bump type from Step 1.)\n\nNote: the root `package.json` has no `version` field - this is a pnpm workspace and `packages\u002Feforge\u002Fpackage.json` is the lockstep source of truth.\n\n**Create or update CHANGELOG.md:**\n\n1. If `CHANGELOG.md` does not exist, create it with a `# Changelog` heading\n2. Prepend a new entry immediately after the `# Changelog` heading line:\n\n```markdown\n## [X.Y.Z] - YYYY-MM-DD\n\n\u003Crelease notes from Step 4>\n```\n\n3. Trim to a maximum of 20 `## [` sections. If entries are removed, ensure this footer exists at the bottom of the file:\n\n```markdown\n---\nFor older releases, see [GitHub Releases](https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Freleases).\n```\n\n**Commit the changelog:**\n\n```bash\ngit add CHANGELOG.md\ngit commit -m \"docs: update CHANGELOG.md for vX.Y.Z\"\n```\n\n### Step 6: Bump Version, Open PR, and Tag Merged Main\n\nUse the protected-main flow. Create a release branch, bump without tagging, open a PR, and enable auto-merge:\n\n```bash\ngit checkout -b release\u002Fv\u003Cversion>\npnpm release \u003Cbump-type> --no-tag\ngit push -u origin release\u002Fv\u003Cversion>\ngh pr create --base main --head release\u002Fv\u003Cversion> --title \"release: v\u003Cversion>\" --body-file \u003Cnotes-file>\ngh pr merge release\u002Fv\u003Cversion> --auto --merge --delete-branch\n```\n\n(Where `\u003Cbump-type>` is the resolved bump type from Step 1.)\n\n`pnpm release --no-tag` (scripts\u002Fbump-version.mjs) bumps `packages\u002Feforge\u002Fpackage.json` (source of truth), propagates the version to the other lockstep packages (`client`, `engine`, `monitor`, `pi-eforge`), and commits the lockstep package\u002Fversion surfaces with message `X.Y.Z`, but does not create a tag.\n\nAfter the PR merges, update `main`, verify the version, create the annotated tag on the merged main commit, and push only that tag:\n\n```bash\ngit checkout main\ngit pull --ff-only origin main\ngit tag -a v\u003Cversion> -m \"v\u003Cversion>\"\ngit push origin refs\u002Ftags\u002Fv\u003Cversion>\n```\n\n### Step 7: Create GitHub Release and Summary\n\nCreate a GitHub Release from the generated release notes:\n\n```bash\ngh release create v\u003Cversion> --title \"v\u003Cversion>\" --notes-file \u003Cnotes-file>\n```\n\nReport:\n- The new version number\n- The release type (patch, minor, or major)\n- Link to the GitHub Release\n- Remind the user that npm publish is handled by the tag-triggered GitHub Action\n",{"name":5,"description":7,"argument-hint":32,"disable-model-invocation":33},"[--patch|--minor|--major]",true,"main","499776fb979b8166258cdf9bb95b41de703de835",".claude\u002Fskills\u002Feforge-release",4,"https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge","https:\u002F\u002Fwww.eforge.build","https:\u002F\u002Fgithub.com\u002Feforge-build","https:\u002F\u002Feforge.build","2026-07-14 04:45:40",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":33},[45,48,51],{"tool":46,"command":47},"npx","npx skills add eforge-build\u002Feforge --skill eforge-release",{"tool":49,"command":50},"bunx","bunx skills add eforge-build\u002Feforge --skill eforge-release",{"tool":52,"command":53},"pnpm","pnpm dlx skills add eforge-build\u002Feforge --skill eforge-release","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Feforge-release\u002FSKILL.md",[],[57,74,87,101,114,125],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":27},"01M6DZBCECD12JJM3BZMWT3Y4N","eforge-workflow","Set up or reconfigure the eforge workflow preset — landing action, stacking, PR settings, and automatic stack sync","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-workflow\u002FSKILL.md",[],[64,65,66,67,68,69,70,71,72,73],"eforge workflow","workflow","sync","preset","pr","SET","stack","settings","landing","up",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":27},"01M6DZB994EMFBB6NQY5K2M2FG","eforge-update","Check for eforge updates and guide through updating the CLI package and daemon","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-update\u002FSKILL.md",[],[81,82,83,84,85,86],"update","eforge update","cli","package","check","guide",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":27},"01M6DZB6MD3FP4X1DNMH2X5RVD","eforge-status","Check eforge run status and queue state via daemon tools","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-status\u002FSKILL.md",[],[94,95,96,97,98,99,100,85],"eforge status","status","via","state","queue","run","Tools",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":27},"01M6DZB420JCDQPGVBXCE7WWWV","eforge-stack","Synchronize the git-spice stack, preview with dry-run, interpret the sync report, and recover from manual sync conflicts","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-stack\u002FSKILL.md",[],[108,70,109,66,99,110,111,112,113],"eforge stack","report","git","conflicts","preview","dry",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":27},"01M6DZB15H8P4KR68PDDGA54E4","eforge-restart","Safely restart the eforge daemon, checking for active builds first","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-restart\u002FSKILL.md",[],[121,122,123,124],"restart","eforge restart","first","active",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":27},"01M6DZAY5M4C2SFV8P6GTZWN85","eforge-recover","Inspect the recovery verdict for a failed PRD and apply the recommended action (retry, continue-repair, abandon, or manual)","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-recover\u002FSKILL.md",[],[132,133,134,135,136,137],"eforge recover","recovery","continue","repair","verdict","prd"]