[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D2GWFZ81SCB168Z4P4NYYN":3,"skill-same:01M6D2GWFZ81SCB168Z4P4NYYN":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":69},"01M6D2GWFZ81SCB168Z4P4NYYN","zudo-doc-version-bump",null,"Bump package version, update changelog and versioned docs snapshot (if those features are enabled), commit, tag, and create a GitHub release. Use when: (1) User says 'version bump', 'bump version', 'release', or 'zudo-doc-version-bump', (2) User wants to create a new release of this project.","zudolab\u002Fzudo-doc","zudolab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266356510?v=4","01M6D2E9N9X9851YB24CEQF04H","01M6D2E9SFKZ0FWBMPB2625H28",1,"MIT","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-version-bump\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"zudo doc version bump","version bump","bump","doc","version","user","new","when","features","proposal","project","patch","use","snapshot","docs","update changelog","github release","package","changelog","release","update","create","bump version","commit","github","2026-11-10 10:12:30",false,"---\nname: zudo-doc-version-bump\ndescription: >-\n  Bump package version, update changelog and versioned docs snapshot (if those features are\n  enabled), commit, tag, and create a GitHub release. Use when: (1) User says 'version bump',\n  'bump version', 'release', or 'zudo-doc-version-bump', (2) User wants to create a new release\n  of this project.\nuser-invocable: true\ndisable-model-invocation: true\nargument-description: \"Optional: major, minor, or patch to skip the proposal step\"\n---\n\n# \u002Fzudo-doc-version-bump\n\nBump the version, update changelog content (if the changelog feature is enabled), optionally\narchive the current docs as a versioned snapshot (if the versioning feature is enabled), commit,\ntag, and create a GitHub release.\n\n## Preconditions\n\nBefore doing anything else, verify ALL of the following. If any check fails, stop and tell the\nuser.\n\n1. Current branch is `main` (or your project's default branch)\n2. Working tree is clean (`git status --porcelain` returns empty)\n\nFind the latest version tag, if any:\n\n```bash\ngit tag -l 'v*' --sort=-v:refname | head -1\n```\n\nA freshly scaffolded project has no tags yet — that's expected on the first release. If no tag\nis found, do NOT ask the user to create one first; proceed straight to analyzing the full commit\nhistory in the next step instead.\n\n## Analyze changes since last tag\n\nIf a previous tag was found, diff against it:\n\n```bash\ngit log \u003Clast-tag>..HEAD --oneline\ngit diff \u003Clast-tag>..HEAD --stat\n```\n\nIf no tag exists yet (first release), analyze the whole history instead:\n\n```bash\ngit log --oneline\n```\n\nCategorize each commit by its conventional-commit prefix:\n\n- **Breaking Changes**: commits with an exclamation mark suffix (e.g. `feat!:`) or BREAKING CHANGE in body\n- **Features**: `feat:` prefix\n- **Bug Fixes**: `fix:` prefix\n- **Other Changes**: everything else (`docs:`, `chore:`, `refactor:`, `ci:`, `test:`, `style:`, `perf:`, etc.)\n\n## Propose version bump\n\nBased on the changes:\n\n- If there are breaking changes → propose **major** bump\n- If there are features (no breaking) → propose **minor** bump\n- Otherwise → propose **patch** bump\n\nIf the user passed an argument (`major`, `minor`, or `patch`), use that directly instead of proposing.\n\nPresent the proposal to the user:\n\n```\nProposed bump: {current} → {new} ({type})\n\nBreaking Changes:\n- description (hash)\n\nFeatures:\n- description (hash)\n\nBug Fixes:\n- description (hash)\n\nOther Changes:\n- description (hash)\n```\n\nOnly show sections that have entries. **Wait for user confirmation before proceeding.**\n\nIf this is a **major** version bump and the project has the versioning feature enabled (see\n\"Archive docs as a versioned snapshot\" below), ask the user whether they want to archive the\ncurrent docs as a versioned snapshot before continuing.\n\n## Bump the version\n\nA `create-zudo-doc` scaffold has no bundled version-bump script — bump `package.json` directly:\n\n```bash\nnpm version {NEW_VERSION} --no-git-tag-version\n```\n\n`npm version` is a plain `npm` CLI feature (Node always ships `npm`), so this works no matter\nwhich package manager (`\u003Cpm>`) the project otherwise uses. `--no-git-tag-version` stops it from\nalso creating a commit\u002Ftag — this skill handles that later, once everything else is ready. A\ndirect edit of the `\"version\"` field in `package.json` works identically if preferred.\n\nThe project has **one root version**. All packages represented in a multi-package changelog move\nto `{NEW_VERSION}` in lockstep; independent per-package versions are out of scope for this skill.\n\n## Update the changelog (if enabled)\n\nFirst inspect the `zudoDoc({...})` call in `zfb.config.ts`. Read\n`defaultLocale`, `docsDir`, and the complete `locales` map (each map entry is\nan additional locale code and its exact `dir`). These configured paths are the\nonly current locale roots; never infer them with a `src\u002Fcontent\u002Fdocs-*` glob,\nbecause versioned trees such as `docs-v1` and `docs-v1-ja` are snapshots.\n\nThen check whether the default-locale changelog exists:\n\n```bash\ntest -f \u003Cconfigured-docsDir>\u002Fchangelog\u002Findex.mdx && echo \"changelog present\"\n```\n\nIf `\u003Cconfigured-docsDir>\u002Fchangelog\u002Findex.mdx` does not exist, the changelog feature is not in use —\nskip this whole section and go straight to \"Archive docs as a versioned snapshot\".\n\n### Discover package and page layouts\n\nTreat `\u003Cconfigured-docsDir>\u002Fchangelog\u002F` as the primary changelog root. List every immediate child\ndirectory that contains an `index.mdx`; each directory name is a package slug:\n\n```bash\nfind \u003Cconfigured-docsDir>\u002Fchangelog -mindepth 2 -maxdepth 2 -type f -name index.mdx \\\n  -print | sed 's#\u002Findex\\.mdx$##; s#.*\u002F##' | sort\n```\n\nThen follow exactly one branch:\n\n1. **One or more package directories:** the root `index.mdx` is a landing page and must never be\n   edited. Show the package slugs to the user and ask which packages this release touches. Default\n   to **all packages**; accept a comma-separated list. Reject names that are not in the discovered\n   list. Apply the per-directory procedure below to each selected package directory.\n2. **No package directories:** apply the per-directory procedure to the changelog root itself.\n\nFor every selected directory, detect its layout independently, before making changes:\n\n```bash\nfind \"\u003Cchangelog-directory>\" -maxdepth 1 -type f -name '*.mdx' ! -name index.mdx \\\n  -print -quit\n```\n\n- Any output means **per-version-file layout**. Create a new version file; never insert a version\n  section into that directory's `index.mdx`.\n- No output means **single-page layout**. Edit that directory's `index.mdx` using the existing\n  section procedure.\n\nThis per-directory check is mandatory: packages in one project may use different layouts.\n\n### Choose the language-specific headings\n\nThe primary content directory was seeded in the project's `defaultLocale`, so do not assume it is\nEnglish. For a single-page directory, inspect its `index.mdx`. For a per-version-file directory,\ninspect its existing sibling version entries. Use the heading set already used by those files.\n\n**English heading set:**\n\n```mdx\n### Breaking Changes\n\n- Description (commit-hash)\n\n### Features\n\n- Description (commit-hash)\n\n### Bug Fixes\n\n- Description (commit-hash)\n\n### Other Changes\n\n- Description (commit-hash)\n```\n\n**Japanese heading set:**\n\n```mdx\n### 破壊的変更\n\n- Description (commit-hash)\n\n### 機能\n\n- Description (commit-hash)\n\n### バグ修正\n\n- Description (commit-hash)\n\n### その他の変更\n\n- Description (commit-hash)\n```\n\nIn either language, include only categories that have entries. Each entry is the commit subject\nwith its short hash in parentheses.\n\n### Update a single-page directory\n\nAdd this release above all existing release sections in the directory's `index.mdx` (newest\nfirst):\n\n```mdx\n## {NEW_VERSION}\n\n\u003C!-- categories and entries from the matching heading set above -->\n```\n\nOn the first bump, replace the starter `## Unreleased` or `## 未リリース` heading with\n`## {NEW_VERSION}` instead of adding a second release heading.\n\n### Update a per-version-file directory\n\nCreate `\u003Cchangelog-directory>\u002F\u003Cversion>.mdx`, where `\u003Cversion>` is `{NEW_VERSION}` without a\nleading `v`. Never section-edit this directory's `index.mdx`. Determine the greatest numeric\n`sidebar_position` in the existing sibling version files and use that value plus one. The new file\nmust have localized frontmatter and body text matching its siblings, in this shape:\n\n```mdx\n---\ntitle: \"{NEW_VERSION}\"\ndescription: Release notes for {NEW_VERSION}.\nsidebar_position: {MAX_EXISTING_PLUS_ONE}\n---\n\nReleased: {YYYY-MM-DD}\n\n\u003C!-- categories and entries from the matching heading set above -->\n```\n\nUse a concise Japanese `description` only when the target locale code is `ja` and its sibling\nentries are Japanese, but keep the required `Released: {YYYY-MM-DD}` line in every locale. Use\ntoday's date for `{YYYY-MM-DD}`.\n\n### Additional-locale changelogs\n\nThis applies only when the `locales` map is non-empty. For every configured\nadditional locale, resolve its exact `dir` from `zfb.config.ts` and mirror the\nselected primary targets by relative path there. Detect each locale's layout\nindependently and apply the matching single-page or per-version-file procedure.\nIn a multi-package layout, never edit any locale's landing\n`changelog\u002Findex.mdx`. If a selected package has no matching directory in a\nconfigured locale, report it and stop instead of silently creating a divergent\nlayout.\n\nChoose headings from the existing target files. Apply Japanese headings and\nJapanese wording only when that target's locale code is `ja`; for every other\nlocale, inspect its existing language or retain the scaffold's English\nplaceholder prose until it is translated. Do not describe arbitrary locale\ncodes as Japanese or as already translated.\n\n## Archive docs as a versioned snapshot (if enabled, major bumps only)\n\nOnly relevant when the project has the versioning feature enabled — check for a `versions`\narray in `zfb.config.ts`'s `zudoDoc({...})` call. If `versions` is absent, `false`, or the user\ndeclined the snapshot offer above, skip this whole section.\n\n1. Derive the old version's slug by dropping the patch component, e.g. `0.1.0` → `0.1`,\n   `1.2.3` → `1.2`.\n2. Copy the configured default `docsDir` into the versioned default directory. For the\n   generated layout, this is `src\u002Fcontent\u002Fdocs-v{OLD_SLUG}`:\n\n   ```bash\n   cp -r \u003Cconfigured-docsDir> \u003Cversioned-default-docsDir>\n   ```\n\n3. For **every** entry in the current `locales` map, copy its configured `dir` into the\n   matching versioned locale directory. In the generated layout, a source\n   `src\u002Fcontent\u002Fdocs-\u003Clocale-code>` becomes\n   `src\u002Fcontent\u002Fdocs-v{OLD_SLUG}-\u003Clocale-code>`; preserve any custom directory\n   prefix\u002Fsuffix your config uses rather than inventing a locale from a glob.\n   For the generated `docs-\u003Clocale-code>` layout, use\n   `src\u002Fcontent\u002Fdocs-v{OLD_SLUG}-\u003Clocale-code>` as the matching target. For a\n   custom layout, derive and record the equivalent versioned path explicitly\n   for each map entry.\n\n   ```bash\n   cp -r \u003Cconfigured-locale-dir> \u003Cversioned-locale-dir>\n   ```\n\n4. Add an entry to the `versions` array in `zfb.config.ts`, carrying the default\n   snapshot and **all** configured locale snapshots:\n\n   ```ts\n   versions: [\n     {\n       slug: \"{OLD_SLUG}\",\n       label: \"{OLD_VERSION}\",\n       docsDir: \"\u003Cversioned-default-docsDir>\",\n       locales: {\n         \"\u003Clocale-code>\": { dir: \"\u003Cversioned-locale-dir>\" },\n       },\n       banner: \"unmaintained\",\n     },\n     \u002F\u002F ...existing versions\n   ],\n   ```\n\n   Replace the illustrative `\u003Clocale-code>` entry with every code from the\n   current `locales` map, preserving map order. Drop the `locales` block\n   entirely when the current map is empty.\n\n5. The configured current-locale directories now represent the new, latest version — no\n   further action is needed there. The version switcher and versions listing page pick up the\n   new entry automatically at build time; nothing else needs wiring.\n\n## Build and test\n\nRun the project's pre-push validation script:\n\n```bash\n\u003Cpm> run b4push\n```\n\nIf anything fails, fix the issue and re-run. Do not proceed with committing until all checks\npass. (In a freshly scaffolded project this script may just be a `check`-then-`build` stub —\nthat's fine; expand it into a richer pipeline as the project's testing needs grow.)\n\n## Commit changes\n\nStage and commit **all** version bump changes:\n\n```bash\ngit add package.json\ngit add \u003Cconfigured-docsDir>\u002Fchangelog\u002F 2>\u002Fdev\u002Fnull\n# Repeat the previous command for each exact `dir` in the current `locales` map.\ngit add \u003Cversioned-default-docsDir> 2>\u002Fdev\u002Fnull\n# Add each exact versioned locale directory recorded in the new `versions` entry.\n# Also stage any other modified files (e.g. formatting fixes from the build\u002Ftest step)\ngit diff --name-only | xargs -r git add\ngit commit -m \"chore: Bump version to v{NEW_VERSION}\"\n```\n\n## Push and wait for CI (if configured)\n\nPush the commits first (without the tag):\n\n```bash\ngit push\n```\n\nIf the project has CI configured (e.g. a GitHub Actions workflow), wait for it to pass. Use\n`gh run list --branch main --limit 1 --json status,conclusion,headSha` and verify the `headSha`\nmatches the pushed commit. Poll every 30 seconds, with a **maximum of 10 minutes**. If CI is\nstill running after 10 minutes, ask the user whether to keep waiting or proceed. If the project\nhas no CI workflow, skip straight to tagging.\n\nIf CI fails, investigate the failure with `gh run view \u003Crun-id> --log-failed`, fix the issue,\ncommit, and push again.\n\n**Do not tag or publish until CI is green (or there is no CI to wait for).**\n\n## Tag, push tag, and create GitHub release\n\n**Ask the user for confirmation before tagging.**\n\n```bash\ngit tag v{NEW_VERSION}\ngit push --tags\n```\n\nAfter pushing the tag, create a GitHub release. If a root single-page changelog was updated, pull\nthe section you just wrote out as before:\n\n```bash\nNOTES=$(awk -v ver=\"## {NEW_VERSION}\" '$0==ver{f=1;next} f&&\u002F^## \u002F{f=0} f' \u003Cconfigured-docsDir>\u002Fchangelog\u002Findex.mdx)\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"$NOTES\"\n```\n\nFor a root per-version-file layout, remove the frontmatter from the new entry and use the rest of\nits body as `NOTES`:\n\n```bash\nNOTES=$(awk 'NR==1&&$0==\"---\"{fm=1;next} fm&&$0==\"---\"{fm=0;next} !fm{print}' \"\u003Cconfigured-docsDir>\u002Fchangelog\u002F{NEW_VERSION}.mdx\")\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"$NOTES\"\n```\n\nFor a multi-package changelog, concatenate the primary-language notes for every selected package,\nin the same order shown to the user, under a `## \u003Cslug>` heading. This concrete loop handles a mix\nof single-page and per-version-file package directories:\n\n```bash\nNOTES=\"\"\nfor slug in $SELECTED_PACKAGES; do\n  dir=\"\u003Cconfigured-docsDir>\u002Fchangelog\u002F$slug\"\n  if test -f \"$dir\u002F{NEW_VERSION}.mdx\"; then\n    body=$(awk 'NR==1&&$0==\"---\"{fm=1;next} fm&&$0==\"---\"{fm=0;next} !fm{print}' \"$dir\u002F{NEW_VERSION}.mdx\")\n  else\n    body=$(awk -v ver=\"## {NEW_VERSION}\" '$0==ver{f=1;next} f&&\u002F^## \u002F{f=0} f' \"$dir\u002Findex.mdx\")\n  fi\n  printf -v NOTES '%s## %s\\n\\n%s\\n\\n' \"$NOTES\" \"$slug\" \"$body\"\ndone\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"$NOTES\"\n```\n\nSet `SELECTED_PACKAGES` to the validated, space-separated package slugs chosen earlier. Build\nrelease notes from the primary-language files only; additional-locale mirrors are not duplicated in\nthe GitHub release body.\n\nIf the changelog feature is off, write the release notes directly from the categorized commit\nanalysis instead:\n\n```bash\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"...\"\n```\n\n## Publish to npm (if applicable)\n\nIf the package is **not** marked as `\"private\": true` in `package.json`, tell the user to publish:\n\n```\nThe package is ready for npm publishing. Run:\n\n  \u003Cpm> publish\n\n(This requires browser-based 2FA and must be done manually.)\n```\n\nIf the package is `\"private\": true`, skip this step and inform the user:\n\n```\nPackage is marked as private — skipping npm publish.\n```\n\n## Done\n\nReport the summary:\n\n- Version bumped: `{OLD_VERSION}` → `{NEW_VERSION}`\n- Changelog layout(s) and selected package(s) updated in all configured locales, if enabled\n- Docs snapshot created (if the versioning feature is enabled and a snapshot was taken)\n- Git tag: `v{NEW_VERSION}`\n- GitHub release: link to the release\n- npm publish status (published \u002F skipped for private package)\n","# \u002Fzudo-doc-version-bump\n\nBump the version, update changelog content (if the changelog feature is enabled), optionally\narchive the current docs as a versioned snapshot (if the versioning feature is enabled), commit,\ntag, and create a GitHub release.\n\n## Preconditions\n\nBefore doing anything else, verify ALL of the following. If any check fails, stop and tell the\nuser.\n\n1. Current branch is `main` (or your project's default branch)\n2. Working tree is clean (`git status --porcelain` returns empty)\n\nFind the latest version tag, if any:\n\n```bash\ngit tag -l 'v*' --sort=-v:refname | head -1\n```\n\nA freshly scaffolded project has no tags yet — that's expected on the first release. If no tag\nis found, do NOT ask the user to create one first; proceed straight to analyzing the full commit\nhistory in the next step instead.\n\n## Analyze changes since last tag\n\nIf a previous tag was found, diff against it:\n\n```bash\ngit log \u003Clast-tag>..HEAD --oneline\ngit diff \u003Clast-tag>..HEAD --stat\n```\n\nIf no tag exists yet (first release), analyze the whole history instead:\n\n```bash\ngit log --oneline\n```\n\nCategorize each commit by its conventional-commit prefix:\n\n- **Breaking Changes**: commits with an exclamation mark suffix (e.g. `feat!:`) or BREAKING CHANGE in body\n- **Features**: `feat:` prefix\n- **Bug Fixes**: `fix:` prefix\n- **Other Changes**: everything else (`docs:`, `chore:`, `refactor:`, `ci:`, `test:`, `style:`, `perf:`, etc.)\n\n## Propose version bump\n\nBased on the changes:\n\n- If there are breaking changes → propose **major** bump\n- If there are features (no breaking) → propose **minor** bump\n- Otherwise → propose **patch** bump\n\nIf the user passed an argument (`major`, `minor`, or `patch`), use that directly instead of proposing.\n\nPresent the proposal to the user:\n\n```\nProposed bump: {current} → {new} ({type})\n\nBreaking Changes:\n- description (hash)\n\nFeatures:\n- description (hash)\n\nBug Fixes:\n- description (hash)\n\nOther Changes:\n- description (hash)\n```\n\nOnly show sections that have entries. **Wait for user confirmation before proceeding.**\n\nIf this is a **major** version bump and the project has the versioning feature enabled (see\n\"Archive docs as a versioned snapshot\" below), ask the user whether they want to archive the\ncurrent docs as a versioned snapshot before continuing.\n\n## Bump the version\n\nA `create-zudo-doc` scaffold has no bundled version-bump script — bump `package.json` directly:\n\n```bash\nnpm version {NEW_VERSION} --no-git-tag-version\n```\n\n`npm version` is a plain `npm` CLI feature (Node always ships `npm`), so this works no matter\nwhich package manager (`\u003Cpm>`) the project otherwise uses. `--no-git-tag-version` stops it from\nalso creating a commit\u002Ftag — this skill handles that later, once everything else is ready. A\ndirect edit of the `\"version\"` field in `package.json` works identically if preferred.\n\nThe project has **one root version**. All packages represented in a multi-package changelog move\nto `{NEW_VERSION}` in lockstep; independent per-package versions are out of scope for this skill.\n\n## Update the changelog (if enabled)\n\nFirst inspect the `zudoDoc({...})` call in `zfb.config.ts`. Read\n`defaultLocale`, `docsDir`, and the complete `locales` map (each map entry is\nan additional locale code and its exact `dir`). These configured paths are the\nonly current locale roots; never infer them with a `src\u002Fcontent\u002Fdocs-*` glob,\nbecause versioned trees such as `docs-v1` and `docs-v1-ja` are snapshots.\n\nThen check whether the default-locale changelog exists:\n\n```bash\ntest -f \u003Cconfigured-docsDir>\u002Fchangelog\u002Findex.mdx && echo \"changelog present\"\n```\n\nIf `\u003Cconfigured-docsDir>\u002Fchangelog\u002Findex.mdx` does not exist, the changelog feature is not in use —\nskip this whole section and go straight to \"Archive docs as a versioned snapshot\".\n\n### Discover package and page layouts\n\nTreat `\u003Cconfigured-docsDir>\u002Fchangelog\u002F` as the primary changelog root. List every immediate child\ndirectory that contains an `index.mdx`; each directory name is a package slug:\n\n```bash\nfind \u003Cconfigured-docsDir>\u002Fchangelog -mindepth 2 -maxdepth 2 -type f -name index.mdx \\\n  -print | sed 's#\u002Findex\\.mdx$##; s#.*\u002F##' | sort\n```\n\nThen follow exactly one branch:\n\n1. **One or more package directories:** the root `index.mdx` is a landing page and must never be\n   edited. Show the package slugs to the user and ask which packages this release touches. Default\n   to **all packages**; accept a comma-separated list. Reject names that are not in the discovered\n   list. Apply the per-directory procedure below to each selected package directory.\n2. **No package directories:** apply the per-directory procedure to the changelog root itself.\n\nFor every selected directory, detect its layout independently, before making changes:\n\n```bash\nfind \"\u003Cchangelog-directory>\" -maxdepth 1 -type f -name '*.mdx' ! -name index.mdx \\\n  -print -quit\n```\n\n- Any output means **per-version-file layout**. Create a new version file; never insert a version\n  section into that directory's `index.mdx`.\n- No output means **single-page layout**. Edit that directory's `index.mdx` using the existing\n  section procedure.\n\nThis per-directory check is mandatory: packages in one project may use different layouts.\n\n### Choose the language-specific headings\n\nThe primary content directory was seeded in the project's `defaultLocale`, so do not assume it is\nEnglish. For a single-page directory, inspect its `index.mdx`. For a per-version-file directory,\ninspect its existing sibling version entries. Use the heading set already used by those files.\n\n**English heading set:**\n\n```mdx\n### Breaking Changes\n\n- Description (commit-hash)\n\n### Features\n\n- Description (commit-hash)\n\n### Bug Fixes\n\n- Description (commit-hash)\n\n### Other Changes\n\n- Description (commit-hash)\n```\n\n**Japanese heading set:**\n\n```mdx\n### 破壊的変更\n\n- Description (commit-hash)\n\n### 機能\n\n- Description (commit-hash)\n\n### バグ修正\n\n- Description (commit-hash)\n\n### その他の変更\n\n- Description (commit-hash)\n```\n\nIn either language, include only categories that have entries. Each entry is the commit subject\nwith its short hash in parentheses.\n\n### Update a single-page directory\n\nAdd this release above all existing release sections in the directory's `index.mdx` (newest\nfirst):\n\n```mdx\n## {NEW_VERSION}\n\n\u003C!-- categories and entries from the matching heading set above -->\n```\n\nOn the first bump, replace the starter `## Unreleased` or `## 未リリース` heading with\n`## {NEW_VERSION}` instead of adding a second release heading.\n\n### Update a per-version-file directory\n\nCreate `\u003Cchangelog-directory>\u002F\u003Cversion>.mdx`, where `\u003Cversion>` is `{NEW_VERSION}` without a\nleading `v`. Never section-edit this directory's `index.mdx`. Determine the greatest numeric\n`sidebar_position` in the existing sibling version files and use that value plus one. The new file\nmust have localized frontmatter and body text matching its siblings, in this shape:\n\n```mdx\n---\ntitle: \"{NEW_VERSION}\"\ndescription: Release notes for {NEW_VERSION}.\nsidebar_position: {MAX_EXISTING_PLUS_ONE}\n---\n\nReleased: {YYYY-MM-DD}\n\n\u003C!-- categories and entries from the matching heading set above -->\n```\n\nUse a concise Japanese `description` only when the target locale code is `ja` and its sibling\nentries are Japanese, but keep the required `Released: {YYYY-MM-DD}` line in every locale. Use\ntoday's date for `{YYYY-MM-DD}`.\n\n### Additional-locale changelogs\n\nThis applies only when the `locales` map is non-empty. For every configured\nadditional locale, resolve its exact `dir` from `zfb.config.ts` and mirror the\nselected primary targets by relative path there. Detect each locale's layout\nindependently and apply the matching single-page or per-version-file procedure.\nIn a multi-package layout, never edit any locale's landing\n`changelog\u002Findex.mdx`. If a selected package has no matching directory in a\nconfigured locale, report it and stop instead of silently creating a divergent\nlayout.\n\nChoose headings from the existing target files. Apply Japanese headings and\nJapanese wording only when that target's locale code is `ja`; for every other\nlocale, inspect its existing language or retain the scaffold's English\nplaceholder prose until it is translated. Do not describe arbitrary locale\ncodes as Japanese or as already translated.\n\n## Archive docs as a versioned snapshot (if enabled, major bumps only)\n\nOnly relevant when the project has the versioning feature enabled — check for a `versions`\narray in `zfb.config.ts`'s `zudoDoc({...})` call. If `versions` is absent, `false`, or the user\ndeclined the snapshot offer above, skip this whole section.\n\n1. Derive the old version's slug by dropping the patch component, e.g. `0.1.0` → `0.1`,\n   `1.2.3` → `1.2`.\n2. Copy the configured default `docsDir` into the versioned default directory. For the\n   generated layout, this is `src\u002Fcontent\u002Fdocs-v{OLD_SLUG}`:\n\n   ```bash\n   cp -r \u003Cconfigured-docsDir> \u003Cversioned-default-docsDir>\n   ```\n\n3. For **every** entry in the current `locales` map, copy its configured `dir` into the\n   matching versioned locale directory. In the generated layout, a source\n   `src\u002Fcontent\u002Fdocs-\u003Clocale-code>` becomes\n   `src\u002Fcontent\u002Fdocs-v{OLD_SLUG}-\u003Clocale-code>`; preserve any custom directory\n   prefix\u002Fsuffix your config uses rather than inventing a locale from a glob.\n   For the generated `docs-\u003Clocale-code>` layout, use\n   `src\u002Fcontent\u002Fdocs-v{OLD_SLUG}-\u003Clocale-code>` as the matching target. For a\n   custom layout, derive and record the equivalent versioned path explicitly\n   for each map entry.\n\n   ```bash\n   cp -r \u003Cconfigured-locale-dir> \u003Cversioned-locale-dir>\n   ```\n\n4. Add an entry to the `versions` array in `zfb.config.ts`, carrying the default\n   snapshot and **all** configured locale snapshots:\n\n   ```ts\n   versions: [\n     {\n       slug: \"{OLD_SLUG}\",\n       label: \"{OLD_VERSION}\",\n       docsDir: \"\u003Cversioned-default-docsDir>\",\n       locales: {\n         \"\u003Clocale-code>\": { dir: \"\u003Cversioned-locale-dir>\" },\n       },\n       banner: \"unmaintained\",\n     },\n     \u002F\u002F ...existing versions\n   ],\n   ```\n\n   Replace the illustrative `\u003Clocale-code>` entry with every code from the\n   current `locales` map, preserving map order. Drop the `locales` block\n   entirely when the current map is empty.\n\n5. The configured current-locale directories now represent the new, latest version — no\n   further action is needed there. The version switcher and versions listing page pick up the\n   new entry automatically at build time; nothing else needs wiring.\n\n## Build and test\n\nRun the project's pre-push validation script:\n\n```bash\n\u003Cpm> run b4push\n```\n\nIf anything fails, fix the issue and re-run. Do not proceed with committing until all checks\npass. (In a freshly scaffolded project this script may just be a `check`-then-`build` stub —\nthat's fine; expand it into a richer pipeline as the project's testing needs grow.)\n\n## Commit changes\n\nStage and commit **all** version bump changes:\n\n```bash\ngit add package.json\ngit add \u003Cconfigured-docsDir>\u002Fchangelog\u002F 2>\u002Fdev\u002Fnull\n# Repeat the previous command for each exact `dir` in the current `locales` map.\ngit add \u003Cversioned-default-docsDir> 2>\u002Fdev\u002Fnull\n# Add each exact versioned locale directory recorded in the new `versions` entry.\n# Also stage any other modified files (e.g. formatting fixes from the build\u002Ftest step)\ngit diff --name-only | xargs -r git add\ngit commit -m \"chore: Bump version to v{NEW_VERSION}\"\n```\n\n## Push and wait for CI (if configured)\n\nPush the commits first (without the tag):\n\n```bash\ngit push\n```\n\nIf the project has CI configured (e.g. a GitHub Actions workflow), wait for it to pass. Use\n`gh run list --branch main --limit 1 --json status,conclusion,headSha` and verify the `headSha`\nmatches the pushed commit. Poll every 30 seconds, with a **maximum of 10 minutes**. If CI is\nstill running after 10 minutes, ask the user whether to keep waiting or proceed. If the project\nhas no CI workflow, skip straight to tagging.\n\nIf CI fails, investigate the failure with `gh run view \u003Crun-id> --log-failed`, fix the issue,\ncommit, and push again.\n\n**Do not tag or publish until CI is green (or there is no CI to wait for).**\n\n## Tag, push tag, and create GitHub release\n\n**Ask the user for confirmation before tagging.**\n\n```bash\ngit tag v{NEW_VERSION}\ngit push --tags\n```\n\nAfter pushing the tag, create a GitHub release. If a root single-page changelog was updated, pull\nthe section you just wrote out as before:\n\n```bash\nNOTES=$(awk -v ver=\"## {NEW_VERSION}\" '$0==ver{f=1;next} f&&\u002F^## \u002F{f=0} f' \u003Cconfigured-docsDir>\u002Fchangelog\u002Findex.mdx)\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"$NOTES\"\n```\n\nFor a root per-version-file layout, remove the frontmatter from the new entry and use the rest of\nits body as `NOTES`:\n\n```bash\nNOTES=$(awk 'NR==1&&$0==\"---\"{fm=1;next} fm&&$0==\"---\"{fm=0;next} !fm{print}' \"\u003Cconfigured-docsDir>\u002Fchangelog\u002F{NEW_VERSION}.mdx\")\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"$NOTES\"\n```\n\nFor a multi-package changelog, concatenate the primary-language notes for every selected package,\nin the same order shown to the user, under a `## \u003Cslug>` heading. This concrete loop handles a mix\nof single-page and per-version-file package directories:\n\n```bash\nNOTES=\"\"\nfor slug in $SELECTED_PACKAGES; do\n  dir=\"\u003Cconfigured-docsDir>\u002Fchangelog\u002F$slug\"\n  if test -f \"$dir\u002F{NEW_VERSION}.mdx\"; then\n    body=$(awk 'NR==1&&$0==\"---\"{fm=1;next} fm&&$0==\"---\"{fm=0;next} !fm{print}' \"$dir\u002F{NEW_VERSION}.mdx\")\n  else\n    body=$(awk -v ver=\"## {NEW_VERSION}\" '$0==ver{f=1;next} f&&\u002F^## \u002F{f=0} f' \"$dir\u002Findex.mdx\")\n  fi\n  printf -v NOTES '%s## %s\\n\\n%s\\n\\n' \"$NOTES\" \"$slug\" \"$body\"\ndone\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"$NOTES\"\n```\n\nSet `SELECTED_PACKAGES` to the validated, space-separated package slugs chosen earlier. Build\nrelease notes from the primary-language files only; additional-locale mirrors are not duplicated in\nthe GitHub release body.\n\nIf the changelog feature is off, write the release notes directly from the categorized commit\nanalysis instead:\n\n```bash\ngh release create v{NEW_VERSION} --title \"v{NEW_VERSION}\" --notes \"...\"\n```\n\n## Publish to npm (if applicable)\n\nIf the package is **not** marked as `\"private\": true` in `package.json`, tell the user to publish:\n\n```\nThe package is ready for npm publishing. Run:\n\n  \u003Cpm> publish\n\n(This requires browser-based 2FA and must be done manually.)\n```\n\nIf the package is `\"private\": true`, skip this step and inform the user:\n\n```\nPackage is marked as private — skipping npm publish.\n```\n\n## Done\n\nReport the summary:\n\n- Version bumped: `{OLD_VERSION}` → `{NEW_VERSION}`\n- Changelog layout(s) and selected package(s) updated in all configured locales, if enabled\n- Docs snapshot created (if the versioning feature is enabled and a snapshot was taken)\n- Git tag: `v{NEW_VERSION}`\n- GitHub release: link to the release\n- npm publish status (published \u002F skipped for private package)\n",{"name":5,"description":7,"user-invocable":48,"argument-description":49,"disable-model-invocation":48},true,"Optional: major, minor, or patch to skip the proposal step","main","81e0e97f6a11185202e63a647a55df3e0cffc50a","packages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-version-bump",0,"https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc","https:\u002F\u002Fgithub.com\u002Fzudolab","2026-11-14 11:23:40",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":48},[59,62,65],{"tool":60,"command":61},"npx","npx skills add zudolab\u002Fzudo-doc --skill zudo-doc-version-bump",{"tool":63,"command":64},"bunx","bunx skills add zudolab\u002Fzudo-doc --skill zudo-doc-version-bump",{"tool":66,"command":67},"pnpm","pnpm dlx skills add zudolab\u002Fzudo-doc --skill zudo-doc-version-bump","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-version-bump\u002FSKILL.md",[],[71,104,120,158,170,189],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":87,"publishedAt":43},"01M6D2GZKKY2E651Q297NEZEGV","zudo-doc-writing","Doc-writing and navigation-structure guide for this zudo-doc project. Consult BEFORE creating pages, adding categories, designing header navigation, or writing\u002Fediting mdx content under src\u002Fcontent\u002F. Covers: reading the AUTHORING.md editorial policy and its four placement questions, when to run a structure review, plan-the-nav-tree-first workflow, tree vs note-tray categories, the recommended 3-level hierarchy (header → sidebar → nested), filesystem navigation as the default, linked versus heading-only category rows, category index pages, sidebar_position discipline, frontmatter schema, no-h1 rule, relative .mdx links, and admonition syntax. Triggered by 'write docs', 'add a page', 'create a page', 'add category', 'structure navigation', 'nav design', 'zudo-doc-writing'.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkillsWriting\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-writing\u002FSKILL.md",[77,82],{"categoryNo":78,"categoryName":79,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[88,89,21,28,90,91,92,93,94,39,95,96,97,98,25,99,100,101,102,103],"writing","zudo doc writing","default","design","only","workflow","consult","structure","plan","discipline","categories","review","hierarchy","filesystem navigation","run","src",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":43},"01M6D2GRJ1MKMMEACKDFSAKF20","zudo-doc-translate","Translate zudo-doc documentation between the locales configured in this project, with Japanese conventions applied only to the `ja` locale.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-translate\u002FSKILL.md",[],[111,112,21,113,114,115,28,92,116,32,117,118,119],"translate","zudo doc translate","documentation","i18n","japanese","conventions","translate docs","with","locale",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":135,"publishedAt":43},"01M6D2GMXQGVKJZTA35Q9AZN7V","zudo-doc-design-system","Project-specific CSS and component rules for zudo-doc. Must be consulted before writing or editing CSS, zudo-wind utilities, color tokens, or component markup in this project. Covers: component-first strategy, design token system, three-tier color architecture, and palette index convention. Triggered by 'design system', 'zudo-doc-design-system', 'zudo-doc-css-wisdom' (old name).","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fpackages\u002Fcreate-zudo-doc\u002Ftemplates\u002Ffeatures\u002FclaudeSkills\u002Ffiles\u002F.claude\u002Fskills\u002Fzudo-doc-design-system\u002FSKILL.md",[126,129,132],{"categoryNo":127,"categoryName":128,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":130,"categoryName":131,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":133,"categoryName":134,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000032","设计师",[136,137,91,21,138,139,140,28,141,142,143,88,144,145,146,147,148,149,150,151,152,153,154,155,156,157],"zudo doc design system","system","design system","css","three","editing","tokens","strategy","wisdom","Rules","architecture","component","first","token","design-system","index","design token","wind","palette","Utilities","color","for",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":43},"01M6D2GJYJQRZTHVY1CN884E96","localized-shell","Fixture skill for localized generated resource routes.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002Fe2e\u002Ffixtures\u002Fi18n\u002Fsrc\u002Fcontent\u002Fresources\u002F.claude\u002Fskills\u002Flocalized-shell\u002FSKILL.md",[],[165,166,167,168,169,157],"localized shell","shell","fixture","generated","fixture skill",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":178,"publishedAt":43},"01M6D2GF8BK70Y7TE3B7NCX87H","zudo-doc-writing-rules","Doc-writing rules for zudo-doc content (mdx files under src\u002Fcontent\u002Fdocs\u002F and src\u002Fcontent\u002Fdocs-ja\u002F). Consult before writing or editing doc content. Covers: no h1 in content, sidebar_position is mandatory, kebab-case file names, bilingual rule, linking conventions, and admonition syntax. Triggered by 'writing rules', 'zudo-doc-writing-rules', 'doc rule', 'mdx rule', 'write a doc', 'create a page'.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fzudo-doc-writing-rules\u002FSKILL.md",[176,177],{"categoryNo":78,"categoryName":79,"taxonomyType":80,"taxonomyTypeDesc":81},{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},[179,21,88,145,89,180,39,181,141,103,182,183,116,184,185,94,157,186,187,188],"zudo doc writing rules","writing rules","page","write","syntax","files","file","true","case","linking",{"skillNo":190,"name":5,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":43},"01M6D2GBRX65FV1FCMFYHPNNP4","Bump the lockstep monorepo version, author package-specific changelogs, commit, tag all three packages, and create distinct GitHub releases. Use when: (1) User says 'version bump', 'bump version', 'release', or 'zudo-doc-version-bump', (2) User wants to create a new release of this monorepo.","https:\u002F\u002Fgithub.com\u002Fzudolab\u002Fzudo-doc\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fzudo-doc-version-bump\u002FSKILL.md",[],[20,18,22,19,21,140,195,35,30,29,41,39,196,42,197,37,40,23,27,186,24,25,198],"monorepo","packages","releases","author"]