[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75BJCK4CF15R7FQKQX42VGM":3,"skill-same:01M75BJCK4CF15R7FQKQX42VGM":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M75BJCK4CF15R7FQKQX42VGM","publishing-homebrew-release",null,"Use when publishing ya-skills from main or master to Homebrew, updating Yaphet2015\u002Fhomebrew-tap, shipping a yk GitHub Release, or when asked to brew install \u002F tap the latest commit.","Yaphet2015\u002Fya-skills","Yaphet2015","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F17684609?v=4","01M75BHXC36T9EZJ2Y3DRRRH1E","Yaphet Y","01M75BHXCMYQ20CST1Z22JV099",0,"MIT","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpublishing-homebrew-release\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: publishing-homebrew-release\ndescription: Use when publishing ya-skills from main or master to Homebrew, updating Yaphet2015\u002Fhomebrew-tap, shipping a yk GitHub Release, or when asked to brew install \u002F tap the latest commit.\n---\n\n# Publishing Homebrew Release\n\nUse the local package path for the current `main`. The defaults are a new\npatch or minor semantic version, no tag or release overwrite, and no Release\nPlease merge. A major release requires the user's explicit request; do not infer\nit from interface or storage changes.\nHonor an explicit user choice after checking the exact tag, release, asset, or\nPR state. Record every exception and every omitted check; never describe an\nomitted check as passed.\n\n## Recipe\n\n1. Confirm macOS arm64, branch `main`, `HEAD == origin\u002Fmain`, and a clean\n   tracked tree. Do not `git reset --hard`.\n2. Read the latest GitHub Release tag and classify the changes. Prefer patch\n   for fixes and small adjustments; use minor for new capabilities or broader\n   changes. Select major only when the user explicitly requests it. Changes\n   to interfaces, helper commands or state layouts do not automatically select\n   major; document compatibility and migration details. Avoid major-triggering\n   Conventional Commit markers (`!` or `BREAKING CHANGE`) without that explicit\n   request. If the user selects a version, use that valid semver after checking\n   that the exact tag, release, and intended asset state are understood. The default is to\n   stop on an existing target; an explicitly requested overwrite must name the\n   exact target and be recorded. `package.json` must contain the release\n   version, because the compiled `yk --version` comes from that field.\n3. If the root `package.json` needs the selected version, change only that\n   field, commit, and push to `main`. Run `bun run typecheck` and `bun run test`\n   on this tree unless the user explicitly omits one; record an omission and\n   its reason.\n4. Inspect the shared `package:release` script before packaging. It must sign\n   the compiled `yk` before archiving and run\n   `codesign --verify --strict` on that compiled file. If signing or verification\n   is absent, fix the shared script, commit and push that fix, rebuild from\n   scratch, and repeat the affected checks. Never patch a member of an\n   already-created archive.\n5. Run `bun run package:release -- --version \u003Cversion>`. Never hand-assemble.\n   It writes `ya-skills-v\u003Cversion>-macos-arm64.tar.gz` and its `.sha256`, with\n   `yk`, `skills\u002F`, and `runtime\u002F` at the archive root.\n6. Run the packaged lane used by the release runner:\n   `YK_RELEASE_TESTS=1 bun test tests\u002Fcomputer-e2e-release.test.ts tests\u002Fcomputer-session-release.test.ts tests\u002Fcomputer-lane-release-packaging.test.ts`,\n   then `bun run build` and `bun run smoke`. The packaged tests exercise the\n   binary under `dist\u002Frelease`; `bun run smoke` covers the source\u002FNode path and\n   does not validate the standalone executable. A failed required gate stops\n   later tag, upload, and tap steps; an explicit omission is recorded as\n   skipped, never passed.\n7. Create a fresh, run-specific extraction directory and set `archive_root` to\n   its absolute path. Validate the final archive, rather than only its build\n   directory. Check that `\"$archive_root\u002Fyk\"`, `\"$archive_root\u002Fskills\"`, and\n   `\"$archive_root\u002Fruntime\"` exist; run\n   `codesign --verify --strict \"$archive_root\u002Fyk\"`; run\n   `\"$archive_root\u002Fyk\" -h` and require exit 0 with non-empty help containing\n   `Usage`; and require\n   `\"$archive_root\u002Fyk\" --version` to equal exactly `\u003Cversion>`. Recompute the\n   local SHA-256 and compare it with the generated `.sha256` before uploading.\n8. Before tagging or uploading, confirm the tree is clean and `HEAD` is the\n   tested release commit equal to `origin\u002Fmain`; any code or script change\n   invalidates its affected checks. Create tag `v\u003Cversion>` and a GitHub\n   Release with the two assets. Do not overwrite by default. If the user\n   explicitly chose an overwrite, check the exact existing tag\u002Frelease\u002Fasset\n   first and record the operation. The\n   tag-triggered `release.yml` guard may end green with skipped steps after a\n   local publish. That is status only, not release validation; keep the local\n   gates and archive checks.\n9. Download the uploaded archive into a separate run-specific directory and\n   compare its SHA-256 with the validated local archive before changing the\n   tap. A mismatch stops the release. Update\n   `Yaphet2015\u002Fhomebrew-tap` `Formula\u002Fya-skills.rb` with\n   `scripts\u002Fupdate-ya-skills-formula.py` and env `VERSION`, `TAG_NAME`,\n   `ASSET_NAME`, `ASSET_SHA256`. This writes `url`, `sha256`, and the\n   `--version` assertion. Do not add `version`; Homebrew infers it from the\n   GitHub release URL. Commit and push the tap change. Do not force-push.\n10. Install or upgrade the formula and test the installed executable. The\n    `\u002Fopt\u002Fhomebrew\u002Fbin\u002Fyk` path is a wrapper, so use the formula prefix:\n    `formula_prefix=\"$(brew --prefix ya-skills)\"`,\n    `codesign --verify --strict \"$formula_prefix\u002Flibexec\u002Fyk\"`, then run\n    `\"$formula_prefix\u002Fbin\u002Fyk\" -h` and require exit 0 with non-empty help\n    containing `Usage`; run `\"$formula_prefix\u002Fbin\u002Fyk\" --version`, requiring the\n    exact selected version. Any signature, help, or version failure means the\n    release is not complete; retain the diagnosis artifacts and do not claim\n    success.\n11. Close or refresh the open Release Please PR under the local-path default;\n    honor an explicit user choice after checking the PR and version state. Do\n    not merge it silently.\n\n## Evidence and cleanup\n\nKeep a durable, run-specific evidence record containing the commit SHA, tag and\nrelease, `bun --version`, macOS version and architecture, local\u002Fuploaded\u002F\ndownloaded SHA-256 values, CI URL and status, and every command with its result\nor explicit skip reason. A skipped-green CI run must be recorded as skipped,\nnot as a substitute for validation.\n\nAfter every release and tap check succeeds, remove only the exact artifacts\ncreated by this run: its named archive and `.sha256`, `dist\u002Fyk`, the exact\n`dist\u002Frelease\u002Fya-skills` tree, and its extraction\u002Fdownload\u002Fstaging directory.\nDo not glob away archives from other runs or pre-existing files. On any\nfailure, retain the archive, hashes, extracted files, downloads, staging\ndirectory, and diagnosis logs.\n\n## Done when\n\n- The selected tag and GitHub Release exist without an unrequested overwrite.\n- The shared package script signed and strictly verified the compiled binary.\n- A fresh extraction passed signature, exit-0 help with `Usage`, exact\n  `--version`, and `skills\u002F`\u002F`runtime\u002F` checks.\n- `bun run typecheck` and default `bun run test` passed, or each explicit\n  omission is recorded; packaged tests, build, and smoke also passed. Smoke is\n  not treated as standalone-binary validation.\n- The uploaded\u002Fdownloaded hash matched the validated local hash before the tap\n  update.\n- The formula URL, sha256, and `--version` assertion match the release and the\n  formula has no `version` line.\n- The Homebrew-installed executable passed signature, help, and exact version\n  checks.\n- Evidence is retained, and only this run's packaging leftovers were removed\n  after success.\n","# Publishing Homebrew Release\n\nUse the local package path for the current `main`. The defaults are a new\npatch or minor semantic version, no tag or release overwrite, and no Release\nPlease merge. A major release requires the user's explicit request; do not infer\nit from interface or storage changes.\nHonor an explicit user choice after checking the exact tag, release, asset, or\nPR state. Record every exception and every omitted check; never describe an\nomitted check as passed.\n\n## Recipe\n\n1. Confirm macOS arm64, branch `main`, `HEAD == origin\u002Fmain`, and a clean\n   tracked tree. Do not `git reset --hard`.\n2. Read the latest GitHub Release tag and classify the changes. Prefer patch\n   for fixes and small adjustments; use minor for new capabilities or broader\n   changes. Select major only when the user explicitly requests it. Changes\n   to interfaces, helper commands or state layouts do not automatically select\n   major; document compatibility and migration details. Avoid major-triggering\n   Conventional Commit markers (`!` or `BREAKING CHANGE`) without that explicit\n   request. If the user selects a version, use that valid semver after checking\n   that the exact tag, release, and intended asset state are understood. The default is to\n   stop on an existing target; an explicitly requested overwrite must name the\n   exact target and be recorded. `package.json` must contain the release\n   version, because the compiled `yk --version` comes from that field.\n3. If the root `package.json` needs the selected version, change only that\n   field, commit, and push to `main`. Run `bun run typecheck` and `bun run test`\n   on this tree unless the user explicitly omits one; record an omission and\n   its reason.\n4. Inspect the shared `package:release` script before packaging. It must sign\n   the compiled `yk` before archiving and run\n   `codesign --verify --strict` on that compiled file. If signing or verification\n   is absent, fix the shared script, commit and push that fix, rebuild from\n   scratch, and repeat the affected checks. Never patch a member of an\n   already-created archive.\n5. Run `bun run package:release -- --version \u003Cversion>`. Never hand-assemble.\n   It writes `ya-skills-v\u003Cversion>-macos-arm64.tar.gz` and its `.sha256`, with\n   `yk`, `skills\u002F`, and `runtime\u002F` at the archive root.\n6. Run the packaged lane used by the release runner:\n   `YK_RELEASE_TESTS=1 bun test tests\u002Fcomputer-e2e-release.test.ts tests\u002Fcomputer-session-release.test.ts tests\u002Fcomputer-lane-release-packaging.test.ts`,\n   then `bun run build` and `bun run smoke`. The packaged tests exercise the\n   binary under `dist\u002Frelease`; `bun run smoke` covers the source\u002FNode path and\n   does not validate the standalone executable. A failed required gate stops\n   later tag, upload, and tap steps; an explicit omission is recorded as\n   skipped, never passed.\n7. Create a fresh, run-specific extraction directory and set `archive_root` to\n   its absolute path. Validate the final archive, rather than only its build\n   directory. Check that `\"$archive_root\u002Fyk\"`, `\"$archive_root\u002Fskills\"`, and\n   `\"$archive_root\u002Fruntime\"` exist; run\n   `codesign --verify --strict \"$archive_root\u002Fyk\"`; run\n   `\"$archive_root\u002Fyk\" -h` and require exit 0 with non-empty help containing\n   `Usage`; and require\n   `\"$archive_root\u002Fyk\" --version` to equal exactly `\u003Cversion>`. Recompute the\n   local SHA-256 and compare it with the generated `.sha256` before uploading.\n8. Before tagging or uploading, confirm the tree is clean and `HEAD` is the\n   tested release commit equal to `origin\u002Fmain`; any code or script change\n   invalidates its affected checks. Create tag `v\u003Cversion>` and a GitHub\n   Release with the two assets. Do not overwrite by default. If the user\n   explicitly chose an overwrite, check the exact existing tag\u002Frelease\u002Fasset\n   first and record the operation. The\n   tag-triggered `release.yml` guard may end green with skipped steps after a\n   local publish. That is status only, not release validation; keep the local\n   gates and archive checks.\n9. Download the uploaded archive into a separate run-specific directory and\n   compare its SHA-256 with the validated local archive before changing the\n   tap. A mismatch stops the release. Update\n   `Yaphet2015\u002Fhomebrew-tap` `Formula\u002Fya-skills.rb` with\n   `scripts\u002Fupdate-ya-skills-formula.py` and env `VERSION`, `TAG_NAME`,\n   `ASSET_NAME`, `ASSET_SHA256`. This writes `url`, `sha256`, and the\n   `--version` assertion. Do not add `version`; Homebrew infers it from the\n   GitHub release URL. Commit and push the tap change. Do not force-push.\n10. Install or upgrade the formula and test the installed executable. The\n    `\u002Fopt\u002Fhomebrew\u002Fbin\u002Fyk` path is a wrapper, so use the formula prefix:\n    `formula_prefix=\"$(brew --prefix ya-skills)\"`,\n    `codesign --verify --strict \"$formula_prefix\u002Flibexec\u002Fyk\"`, then run\n    `\"$formula_prefix\u002Fbin\u002Fyk\" -h` and require exit 0 with non-empty help\n    containing `Usage`; run `\"$formula_prefix\u002Fbin\u002Fyk\" --version`, requiring the\n    exact selected version. Any signature, help, or version failure means the\n    release is not complete; retain the diagnosis artifacts and do not claim\n    success.\n11. Close or refresh the open Release Please PR under the local-path default;\n    honor an explicit user choice after checking the PR and version state. Do\n    not merge it silently.\n\n## Evidence and cleanup\n\nKeep a durable, run-specific evidence record containing the commit SHA, tag and\nrelease, `bun --version`, macOS version and architecture, local\u002Fuploaded\u002F\ndownloaded SHA-256 values, CI URL and status, and every command with its result\nor explicit skip reason. A skipped-green CI run must be recorded as skipped,\nnot as a substitute for validation.\n\nAfter every release and tap check succeeds, remove only the exact artifacts\ncreated by this run: its named archive and `.sha256`, `dist\u002Fyk`, the exact\n`dist\u002Frelease\u002Fya-skills` tree, and its extraction\u002Fdownload\u002Fstaging directory.\nDo not glob away archives from other runs or pre-existing files. On any\nfailure, retain the archive, hashes, extracted files, downloads, staging\ndirectory, and diagnosis logs.\n\n## Done when\n\n- The selected tag and GitHub Release exist without an unrequested overwrite.\n- The shared package script signed and strictly verified the compiled binary.\n- A fresh extraction passed signature, exit-0 help with `Usage`, exact\n  `--version`, and `skills\u002F`\u002F`runtime\u002F` checks.\n- `bun run typecheck` and default `bun run test` passed, or each explicit\n  omission is recorded; packaged tests, build, and smoke also passed. Smoke is\n  not treated as standalone-binary validation.\n- The uploaded\u002Fdownloaded hash matched the validated local hash before the tap\n  update.\n- The formula URL, sha256, and `--version` assertion match the release and the\n  formula has no `version` line.\n- The Homebrew-installed executable passed signature, help, and exact version\n  checks.\n- Evidence is retained, and only this run's packaging leftovers were removed\n  after success.\n",{"name":5,"description":7},"main","b3f303dbd37b1f90e6f71e91aadbed231e664844",".agents\u002Fskills\u002Fpublishing-homebrew-release","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills","https:\u002F\u002Fgithub.com\u002FYaphet2015","https:\u002F\u002Fblog.yaphet.me\u002F","Ex Ant Group, Kwai, Tencent","2026-11-13 15:07:07",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Yaphet2015\u002Fya-skills --skill publishing-homebrew-release",{"tool":38,"command":39},"bunx","bunx skills add Yaphet2015\u002Fya-skills --skill publishing-homebrew-release",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Yaphet2015\u002Fya-skills --skill publishing-homebrew-release","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpublishing-homebrew-release\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"evals\u002Flocal-publish.md","REFERENCE","参考文档",6442,"https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpublishing-homebrew-release\u002Fevals\u002Flocal-publish.md",[53,60,67,74,81,89],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M75BMPRNYQBPMNZFTG5CPGN7","video-transcript","Video transcript (captions first, Whisper fallback). Use when the user wants text from a video.","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-transcript\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M75BMMA9AHMV0PHXXHJ1SWS6","validator","Deprecated. Plan Completion Standard. Use only when the user invokes \u002Fvalidator after a Plan is complete.","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidator\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M75BMHVMK6A94MM8FKHGJD9R","ultra-simplify","Use when the user asks for a massive simplification pass","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002Fskills\u002Fultra-simplify\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M75BMEYYN24G2KKKG09XGD5M","ultra-produce","Deprecated. Coordinate native Planner, Builder and Verifier subagents through implementation and testing, with file-based handoffs, stage hooks and local commits. Use for an end-to-end delegated implementation workflow.","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002Fskills\u002Fultra-produce\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M75BMBF6T4KCH1M6HR8EZCZW","ultra-cr","Coordinate independent code reviewers, architectural impact analysis and finding verification. Use for multi-agent code review or an ultra-cr review against a diff and requirements, with resumable reports.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002Fskills\u002Fultra-cr\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M75BM7CCFS6WGQ36WGQ03TTA","ui-parity","Align existing UI surfaces or extract shared interactions with baseline regression checks, state comparisons, and rendered evidence. Use for UI parity work.","https:\u002F\u002Fgithub.com\u002FYaphet2015\u002Fya-skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-parity\u002FSKILL.md",[],[]]