[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NKDP89AMJKAANP0AQH281C":3,"skill-same:01M6NKDP89AMJKAANP0AQH281C":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6NKDP89AMJKAANP0AQH281C","release-ultrainit",null,"joelbarmettlerUZH\u002Fultrainit.sh","joelbarmettlerUZH","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F24369532?v=4","01M6NK9DS0035TVQP3EQ36E14N","Joel Barmettler","01M6NK9DXBM5D1GYV4414HX06T",8,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Frelease-ultrainit\u002FSKILL.md",[],[18,19],"release","release ultrainit","2026-11-10 10:12:30",false,"---\nname: release-ultrainit\ndescription: \"\n  Full release workflow for ultrainit: verify tests pass, build and\n  syntax-check the bundle, then create and push a semver tag to trigger\n  release.yml. Use when cut a release, publish a new version, tag v1.2.3,\n  or ship ultrainit. Do NOT push a tag without consulting the user first\n  — never push tags autonomously. Do NOT use without running the full test\n  suite first.\n---\n\n## Before You Start\n\n- `.github\u002Fworkflows\u002Frelease.yml` — the release pipeline (validates tag, builds bundle, publishes)\n- `bundle.sh` — what gets bundled and the `__EOF_LIB_\u003Cname>__` delimiter strategy\n- `Makefile` — `bundle` and `test-all` targets\n- `CLAUDE.md` section on Security-Critical Areas — `bundle.sh` ships broken releases if wrong\n\n## Steps\n\n### 1. Determine the next version\n\n```bash\ngit tag --sort=-v:refname | head -5\n```\n\nDecide the next semver: `v\u003CMAJOR>.\u003CMINOR>.\u003CPATCH>`. Pre-release format: `v1.2.3-beta.1` (the `.digit` after the label is required — `v1.2.3-beta` alone fails `release.yml`'s regex check).\n\n### 2. Verify the branch is clean and on main\n\n```bash\ngit status\ngit log --oneline main..HEAD\n```\n\nAll changes must be merged to main before tagging. Releases are always cut from main.\n\n### 3. Run the full test suite\n\n```bash\nmake check     # syntax + schema validation\nmake test-all  # full bats suite inside Docker\n```\n\nDo not proceed if any test fails. Integration tests: check raw output — CI shows green even when they fail.\n\n### 4. Check for bundle delimiter conflicts\n\n```bash\ngrep '__EOF_LIB_' lib\u002F*.sh prompts\u002F*.md scripts\u002F*.sh\n```\n\nIf any file contains a line matching `__EOF_LIB_\u003Cname>__`, the heredoc in `bundle.sh` terminates early, shipping a broken bundle silently.\n\n### 5. Build and verify the bundle\n\n```bash\nmkdir -p dist\nbash bundle.sh > dist\u002Fultrainit.sh\nchmod +x dist\u002Fultrainit.sh\nbash -n dist\u002Fultrainit.sh && echo \"syntax OK\"\ndu -sh dist\u002Fultrainit.sh\n```\n\nIf `bash -n` fails, `bundle.sh` has a syntax error or delimiter conflict. Do not tag.\n\n### 6. STOP — confirm the version with the user\n\nShow the user:\n- The version number you plan to tag\n- `git log --oneline $(git tag --sort=-v:refname | head -1)..HEAD` (commits since last tag)\n- The bundle size from step 5\n\n**Wait for explicit approval before proceeding.** The developer answers explicitly state: never release new tags without consulting the user first.\n\n### 7. Create and push the tag\n\n```bash\ngit tag v\u003CVERSION>\ngit push origin v\u003CVERSION>\n```\n\nThis triggers `.github\u002Fworkflows\u002Frelease.yml` automatically.\n\n### 8. Monitor the release workflow\n\n```bash\ngh run list --workflow=release.yml\ngh run watch  # follow the live output\n```\n\n### 9. Verify the published release\n\n```bash\ngh release view v\u003CVERSION>\n```\n\nVerify `dist\u002Fultrainit.sh` is attached as a release asset. Check the download URL in the release body matches the curl-pipe-bash install command in `README.md`.\n\n## Verify\n\n```bash\nbash -n dist\u002Fultrainit.sh                          # bundle syntax\ngh release view v\u003CVERSION> --json assets --jq '.assets[].name'  # asset attached\n```\n\n## Common Mistakes\n\n1. **Tagging without consulting the user** — the project rule is explicit. Always show the planned tag and commit range before tagging.\n\n2. **`v1.2.3-beta` without `.digit`** — `release.yml` validates against `^v[0-9]+\\.[0-9]+\\.[0-9]+(-[a-zA-Z0-9.]+)?$`. The suffix must be `beta.1` not `beta`.\n\n3. **Skipping `make test-all` before tagging** — `release.yml` runs `bash -n` but does NOT run the bats test suite. A broken release can ship even with failing tests if you skip step 3.\n\n4. **`bundle.sh` stdout contamination** — any `echo` or `log_*` call added to `bundle.sh` corrupts the bundle output because `release.yml` does `bash bundle.sh > dist\u002Fultrainit.sh`.\n","## Before You Start\n\n- `.github\u002Fworkflows\u002Frelease.yml` — the release pipeline (validates tag, builds bundle, publishes)\n- `bundle.sh` — what gets bundled and the `__EOF_LIB_\u003Cname>__` delimiter strategy\n- `Makefile` — `bundle` and `test-all` targets\n- `CLAUDE.md` section on Security-Critical Areas — `bundle.sh` ships broken releases if wrong\n\n## Steps\n\n### 1. Determine the next version\n\n```bash\ngit tag --sort=-v:refname | head -5\n```\n\nDecide the next semver: `v\u003CMAJOR>.\u003CMINOR>.\u003CPATCH>`. Pre-release format: `v1.2.3-beta.1` (the `.digit` after the label is required — `v1.2.3-beta` alone fails `release.yml`'s regex check).\n\n### 2. Verify the branch is clean and on main\n\n```bash\ngit status\ngit log --oneline main..HEAD\n```\n\nAll changes must be merged to main before tagging. Releases are always cut from main.\n\n### 3. Run the full test suite\n\n```bash\nmake check     # syntax + schema validation\nmake test-all  # full bats suite inside Docker\n```\n\nDo not proceed if any test fails. Integration tests: check raw output — CI shows green even when they fail.\n\n### 4. Check for bundle delimiter conflicts\n\n```bash\ngrep '__EOF_LIB_' lib\u002F*.sh prompts\u002F*.md scripts\u002F*.sh\n```\n\nIf any file contains a line matching `__EOF_LIB_\u003Cname>__`, the heredoc in `bundle.sh` terminates early, shipping a broken bundle silently.\n\n### 5. Build and verify the bundle\n\n```bash\nmkdir -p dist\nbash bundle.sh > dist\u002Fultrainit.sh\nchmod +x dist\u002Fultrainit.sh\nbash -n dist\u002Fultrainit.sh && echo \"syntax OK\"\ndu -sh dist\u002Fultrainit.sh\n```\n\nIf `bash -n` fails, `bundle.sh` has a syntax error or delimiter conflict. Do not tag.\n\n### 6. STOP — confirm the version with the user\n\nShow the user:\n- The version number you plan to tag\n- `git log --oneline $(git tag --sort=-v:refname | head -1)..HEAD` (commits since last tag)\n- The bundle size from step 5\n\n**Wait for explicit approval before proceeding.** The developer answers explicitly state: never release new tags without consulting the user first.\n\n### 7. Create and push the tag\n\n```bash\ngit tag v\u003CVERSION>\ngit push origin v\u003CVERSION>\n```\n\nThis triggers `.github\u002Fworkflows\u002Frelease.yml` automatically.\n\n### 8. Monitor the release workflow\n\n```bash\ngh run list --workflow=release.yml\ngh run watch  # follow the live output\n```\n\n### 9. Verify the published release\n\n```bash\ngh release view v\u003CVERSION>\n```\n\nVerify `dist\u002Fultrainit.sh` is attached as a release asset. Check the download URL in the release body matches the curl-pipe-bash install command in `README.md`.\n\n## Verify\n\n```bash\nbash -n dist\u002Fultrainit.sh                          # bundle syntax\ngh release view v\u003CVERSION> --json assets --jq '.assets[].name'  # asset attached\n```\n\n## Common Mistakes\n\n1. **Tagging without consulting the user** — the project rule is explicit. Always show the planned tag and commit range before tagging.\n\n2. **`v1.2.3-beta` without `.digit`** — `release.yml` validates against `^v[0-9]+\\.[0-9]+\\.[0-9]+(-[a-zA-Z0-9.]+)?$`. The suffix must be `beta.1` not `beta`.\n\n3. **Skipping `make test-all` before tagging** — `release.yml` runs `bash -n` but does NOT run the bats test suite. A broken release can ship even with failing tests if you skip step 3.\n\n4. **`bundle.sh` stdout contamination** — any `echo` or `log_*` call added to `bundle.sh` corrupts the bundle output because `release.yml` does `bash bundle.sh > dist\u002Fultrainit.sh`.\n",{},"main","197708b955e457c87d304fdf3389621f7e2f202a",".ultrainit\u002Fvalidation\u002Fskills\u002Frelease-ultrainit",1,"https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH","https:\u002F\u002Fjoelbarmettler.xyz","M. Sc. Artificial Intelligence \r\n& Senior A.I. Architect","2026-11-02 02:33:53",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add joelbarmettlerUZH\u002Fultrainit.sh --skill release-ultrainit",{"tool":40,"command":41},"bunx","bunx skills add joelbarmettlerUZH\u002Fultrainit.sh --skill release-ultrainit",{"tool":43,"command":44},"pnpm","pnpm dlx skills add joelbarmettlerUZH\u002Fultrainit.sh --skill release-ultrainit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Frelease-ultrainit\u002FSKILL.md",true,[],[49,75,84,98,108,118],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":20},"01M6NKEDBGZBAT592SECRS8E4N","valid-skill","Use when building or modifying API endpoints in src\u002Fapi\u002F. Covers route creation, middleware wiring, and request validation. Do NOT use for frontend components or static pages.","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"valid","valid skill","endpoints","request","do","route","creation","pages","middleware","frontend components","for","wiring","static","use","src","api","validation","components","frontend",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":20},"01M6NKEAC2NAMBFHT0S0PRYQKN","invalid-skill-no-desc","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid-skill-no-desc\u002FSKILL.md",[],[81,82,83],"invalid skill no desc","invalid","invalid skill",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":20},"01M6NKE7MF1YCS3WCQA5AY3ZXP","invalid-skill-angle-brackets","Use when working with \u003Ccomponent> templates. Do NOT use for \u003Cother> things.","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Finvalid-skill-angle-brackets\u002FSKILL.md",[],[91,92,93,82,83,94,95,66,96,60,69,97],"invalid skill angle brackets","angle brackets","brackets","component","things","with","templates",{"skillNo":99,"name":100,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":20},"01M6NKE4EJ5EWNN7S5FJ1SFZR5","validate-generated-artifact","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Fvalidate-generated-artifact\u002FSKILL.md",[],[104,105,106,107],"validate generated artifact","artifact","generated","validate",{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M6NKE157C519F1W8WHGXPRTK","tune-synthesis-context","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Ftune-synthesis-context\u002FSKILL.md",[],[114,115,116,117],"tune synthesis context","tune","Synthesis","context",{"skillNo":119,"name":120,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":20},"01M6NKDT0VD32KKE2HTHT30FWH","run-tests","https:\u002F\u002Fgithub.com\u002FjoelbarmettlerUZH\u002Fultrainit.sh\u002Fblob\u002Fmain\u002F.ultrainit\u002Fvalidation\u002Fskills\u002Frun-tests\u002FSKILL.md",[],[124,125,126],"run","run tests","tests"]