[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DH14HHDFPFT3ZBDH9K4X71":3,"skill-same:01M7DH14HHDFPFT3ZBDH9K4X71":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7DH14HHDFPFT3ZBDH9K4X71","finalize-spec-publish",null,"Land a spec's finalize record as one pull request — move the spec to done, roll up its epic, update the docs it changed and the changelog, commit only named paths from the finalize worktree, open the pull request, answer its review, merge it on a ready verdict and confirm it on origin\u002Fmain","turbokast\u002Fmythhelm","turbokast","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F335585049?v=4","01M7DGYYSHNA1BW1Y9GJFN6DVC","TurboKast","01M7DGYYT6GTPCFADDKS5ZXM1Y",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffinalize-spec-publish\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: finalize-spec-publish\ndescription: Land a spec's finalize record as one pull request — move the spec to done, roll up its epic, update the docs it changed and the changelog, commit only named paths from the finalize worktree, open the pull request, answer its review, merge it on a ready verdict and confirm it on origin\u002Fmain\nargument-hint: \"\u003Cspec-name> [--alias \u003Cword>] [--no-changelog \\\"\u003Creason>\\\"]\"\n---\n\n# Finalize Spec — Publish\n\nStep 4 of `\u002Ffinalize-spec`. Nothing reaches `main` except through a pull request with every required check green, so the record of a finished spec is one pull request, `docs(spec): finalize \u003Cspec>`, reviewed like any other.\n\n## Input\n\n`$ARGUMENTS`: `\u003Cspec-name> [--alias \u003Cword>] [--no-changelog \"\u003Creason>\"]`. `--no-changelog` is for a spec that changed nothing a user of MYTHHELM can notice (harness or internal-only work); the reason goes into the pull-request body.\n\nRun it in the finalize worktree `\u002Ffinalize-spec` Step 0 created (`\u003Cwt>`), after the review and the retrospective have written `retrospective.md` there.\n\n## Invocation contexts\n\n- **Slash command**: runs Steps 1–7. Merging the finalize pull request (Step 7) is a write gate: it proceeds when `\u002Ffinalize-spec` invoked this skill or the person passed `--merge`; otherwise stop at it and report the verdict.\n- **Model-invoked**: the same.\n- **Non-interactive**: inside `\u002Ffinalize-spec`, its invocation is the approval to merge its own finalize pull request on `verdict=ready`. Standalone without `--merge`, stop at the gate, report, and merge nothing.\n\n## Steps\n\n1. **Move the spec.** `(cd \u003Cwt> && scripts\u002Fharness\u002Fspec-lifecycle.sh move \u003Cspec> done)`. It refuses any move other than `unfinalized\u002F` → `done\u002F` and any duplicate copy.\n2. **Epic.** `\u002Ffinalize-spec-epic-rollup \u003Cspec>` in `\u003Cwt>`. Keep the epic name it prints for Step 6.\n3. **Docs.** `\u002Fupdate-docs \u003Cspec>` in `\u003Cwt>`.\n4. **Changelog.** For each change a user of MYTHHELM can notice, one entry, written for that user, ending with the pull request that shipped it:\n\n   ```bash\n   (cd \u003Cwt> && python3 scripts\u002Fharness\u002Ffinalize.py changelog-add --section Added --entry \"\u003Cwhat a user can now do> (#\u003Cpr>)\")\n   ```\n\n   Sections: `Added`, `Changed`, `Deprecated`, `Removed`, `Fixed`, `Security`. The script creates `CHANGELOG.md` in Keep a Changelog form when it is absent, adds under `## [Unreleased]`, and refuses to write a file that would not validate. With `--no-changelog`, add nothing.\n5. **Check, then commit named paths only.**\n\n   ```bash\n   cd \u003Cwt>\n   scripts\u002Fci\u002Flint-agent-harness.sh --only specs,finalize,proposals,references,abs-paths\n   scripts\u002Fci\u002Fcheck-public-hygiene.sh\n   git add -- specs\u002Fdone\u002F\u003Cspec> \u003Ceach other path this run changed: CHANGELOG.md, .claude\u002Fproposals\u002Fpending.md, docs>\n   git status --porcelain            # must print nothing: every change is staged, nothing is forgotten\n   git commit -s -m \"docs(spec): finalize \u003Cspec>\"\n   git push origin docs\u002F\u003Calias>-finalize\n   ```\n\n   `git mv` already staged the deletion of `specs\u002Funfinalized\u002F\u003Cspec>\u002F` and, with a rollup, both sides of the epic's move. Name the new directory in `git add` so the untracked `retrospective.md` is staged: a commit that names only tracked paths silently leaves untracked files behind, and the clean `git status` is the check that none was. Name only paths that exist: one pathspec that matches nothing aborts the whole `git add`. Never `git add -A` or `.`.\n6. **Open the pull request.**\n\n   ```bash\n   gh pr create --base main --head docs\u002F\u003Calias>-finalize --title \"docs(spec): finalize \u003Cspec>\" --body-file \u003Cfile>\n   ```\n\n   The body is public and its edit history permanent (`.claude\u002Frules\u002Fpublic-repo-hygiene.md`): what the spec delivered in two sentences, the Review Summary's five lines, the changelog entries (or `Changelog: none — \u003Creason>`), the proposal ids, and the `finalize.py verify` verdict line.\n7. **Review loop and merge.**\n\n   ```bash\n   gh pr checks \u003Cn> --watch --interval 30\n   python3 scripts\u002Fharness\u002Ffinalize.py publish-check --spec \u003Cspec> --pr \u003Cn> [--epic \u003Cepic>] [--no-changelog]\n   ```\n\n   `publish-check` requires what `runspec.py pr-check` requires of any pull request (open, not a draft, not conflicting or behind, every check's latest run green with `CI OK` and `CodeRabbit` present, no unresolved thread, no leak in title, body or added lines) plus the finalize scope: only the spec's directories, its epic's, `CHANGELOG.md`, root docs, `docs\u002F`, `knowledge\u002F` and `.claude\u002Fproposals\u002Fpending.md` change; `specs\u002Fdone\u002F\u003Cspec>\u002Fretrospective.md` is added; `CHANGELOG.md` changes unless `--no-changelog`.\n   - Exit 3: poll again. Exit 2: retry, then escalate.\n   - Exit 1: answer each reason in `\u003Cwt>`. For a review thread, verify the finding, fix it or rebut it with evidence, reply and resolve it (the GraphQL calls in `\u002Fimplement` Step 9). `behind` or `conflict`: `git merge origin\u002Fmain` (never rebase); a conflict in `pending.md` keeps both sides. Commit named paths, push, go back to the top. After three rounds still not ready, escalate.\n   - Exit 0: merge, then confirm.\n\n   ```bash\n   gh pr merge \u003Cn> --squash --delete-branch\n   git fetch origin\n   gh pr view \u003Cn> --json state,mergeCommit        # MERGED, and its oid is the finalize merge commit\n   git merge-base --is-ancestor \u003Coid> origin\u002Fmain\n   git ls-tree -r --name-only origin\u002Fmain -- specs\u002F | grep \"\u002F\u003Cspec>\u002F\"   # every path under specs\u002Fdone\u002F\u003Cspec>\u002F\n   ```\n\n   Anything else is not a merge: escalate. Under an autonomy grant, merge only after `python3 scripts\u002Forchestration\u002Fautonomy.py merge-check --pr \u003Cn> --spec \u003Cspec> --finalize` (`--fix` for a fix pull request) prints `verdict=ready`, with the `--match-head-commit \u003Csha>` it names; `.claude\u002Fhooks\u002Fguard-autonomy.sh` refuses any other merge in a granted session.\n\n## Output\n\n`Publish: PR #\u003Cn> merged as \u003Coid7>; epic \u003Cresult>; docs \u003Cfiles | none>; changelog \u003Centries | none — reason>`, and the merge commit id for `\u002Ffinalize-spec-verify-ci`.\n","# Finalize Spec — Publish\n\nStep 4 of `\u002Ffinalize-spec`. Nothing reaches `main` except through a pull request with every required check green, so the record of a finished spec is one pull request, `docs(spec): finalize \u003Cspec>`, reviewed like any other.\n\n## Input\n\n`$ARGUMENTS`: `\u003Cspec-name> [--alias \u003Cword>] [--no-changelog \"\u003Creason>\"]`. `--no-changelog` is for a spec that changed nothing a user of MYTHHELM can notice (harness or internal-only work); the reason goes into the pull-request body.\n\nRun it in the finalize worktree `\u002Ffinalize-spec` Step 0 created (`\u003Cwt>`), after the review and the retrospective have written `retrospective.md` there.\n\n## Invocation contexts\n\n- **Slash command**: runs Steps 1–7. Merging the finalize pull request (Step 7) is a write gate: it proceeds when `\u002Ffinalize-spec` invoked this skill or the person passed `--merge`; otherwise stop at it and report the verdict.\n- **Model-invoked**: the same.\n- **Non-interactive**: inside `\u002Ffinalize-spec`, its invocation is the approval to merge its own finalize pull request on `verdict=ready`. Standalone without `--merge`, stop at the gate, report, and merge nothing.\n\n## Steps\n\n1. **Move the spec.** `(cd \u003Cwt> && scripts\u002Fharness\u002Fspec-lifecycle.sh move \u003Cspec> done)`. It refuses any move other than `unfinalized\u002F` → `done\u002F` and any duplicate copy.\n2. **Epic.** `\u002Ffinalize-spec-epic-rollup \u003Cspec>` in `\u003Cwt>`. Keep the epic name it prints for Step 6.\n3. **Docs.** `\u002Fupdate-docs \u003Cspec>` in `\u003Cwt>`.\n4. **Changelog.** For each change a user of MYTHHELM can notice, one entry, written for that user, ending with the pull request that shipped it:\n\n   ```bash\n   (cd \u003Cwt> && python3 scripts\u002Fharness\u002Ffinalize.py changelog-add --section Added --entry \"\u003Cwhat a user can now do> (#\u003Cpr>)\")\n   ```\n\n   Sections: `Added`, `Changed`, `Deprecated`, `Removed`, `Fixed`, `Security`. The script creates `CHANGELOG.md` in Keep a Changelog form when it is absent, adds under `## [Unreleased]`, and refuses to write a file that would not validate. With `--no-changelog`, add nothing.\n5. **Check, then commit named paths only.**\n\n   ```bash\n   cd \u003Cwt>\n   scripts\u002Fci\u002Flint-agent-harness.sh --only specs,finalize,proposals,references,abs-paths\n   scripts\u002Fci\u002Fcheck-public-hygiene.sh\n   git add -- specs\u002Fdone\u002F\u003Cspec> \u003Ceach other path this run changed: CHANGELOG.md, .claude\u002Fproposals\u002Fpending.md, docs>\n   git status --porcelain            # must print nothing: every change is staged, nothing is forgotten\n   git commit -s -m \"docs(spec): finalize \u003Cspec>\"\n   git push origin docs\u002F\u003Calias>-finalize\n   ```\n\n   `git mv` already staged the deletion of `specs\u002Funfinalized\u002F\u003Cspec>\u002F` and, with a rollup, both sides of the epic's move. Name the new directory in `git add` so the untracked `retrospective.md` is staged: a commit that names only tracked paths silently leaves untracked files behind, and the clean `git status` is the check that none was. Name only paths that exist: one pathspec that matches nothing aborts the whole `git add`. Never `git add -A` or `.`.\n6. **Open the pull request.**\n\n   ```bash\n   gh pr create --base main --head docs\u002F\u003Calias>-finalize --title \"docs(spec): finalize \u003Cspec>\" --body-file \u003Cfile>\n   ```\n\n   The body is public and its edit history permanent (`.claude\u002Frules\u002Fpublic-repo-hygiene.md`): what the spec delivered in two sentences, the Review Summary's five lines, the changelog entries (or `Changelog: none — \u003Creason>`), the proposal ids, and the `finalize.py verify` verdict line.\n7. **Review loop and merge.**\n\n   ```bash\n   gh pr checks \u003Cn> --watch --interval 30\n   python3 scripts\u002Fharness\u002Ffinalize.py publish-check --spec \u003Cspec> --pr \u003Cn> [--epic \u003Cepic>] [--no-changelog]\n   ```\n\n   `publish-check` requires what `runspec.py pr-check` requires of any pull request (open, not a draft, not conflicting or behind, every check's latest run green with `CI OK` and `CodeRabbit` present, no unresolved thread, no leak in title, body or added lines) plus the finalize scope: only the spec's directories, its epic's, `CHANGELOG.md`, root docs, `docs\u002F`, `knowledge\u002F` and `.claude\u002Fproposals\u002Fpending.md` change; `specs\u002Fdone\u002F\u003Cspec>\u002Fretrospective.md` is added; `CHANGELOG.md` changes unless `--no-changelog`.\n   - Exit 3: poll again. Exit 2: retry, then escalate.\n   - Exit 1: answer each reason in `\u003Cwt>`. For a review thread, verify the finding, fix it or rebut it with evidence, reply and resolve it (the GraphQL calls in `\u002Fimplement` Step 9). `behind` or `conflict`: `git merge origin\u002Fmain` (never rebase); a conflict in `pending.md` keeps both sides. Commit named paths, push, go back to the top. After three rounds still not ready, escalate.\n   - Exit 0: merge, then confirm.\n\n   ```bash\n   gh pr merge \u003Cn> --squash --delete-branch\n   git fetch origin\n   gh pr view \u003Cn> --json state,mergeCommit        # MERGED, and its oid is the finalize merge commit\n   git merge-base --is-ancestor \u003Coid> origin\u002Fmain\n   git ls-tree -r --name-only origin\u002Fmain -- specs\u002F | grep \"\u002F\u003Cspec>\u002F\"   # every path under specs\u002Fdone\u002F\u003Cspec>\u002F\n   ```\n\n   Anything else is not a merge: escalate. Under an autonomy grant, merge only after `python3 scripts\u002Forchestration\u002Fautonomy.py merge-check --pr \u003Cn> --spec \u003Cspec> --finalize` (`--fix` for a fix pull request) prints `verdict=ready`, with the `--match-head-commit \u003Csha>` it names; `.claude\u002Fhooks\u002Fguard-autonomy.sh` refuses any other merge in a granted session.\n\n## Output\n\n`Publish: PR #\u003Cn> merged as \u003Coid7>; epic \u003Cresult>; docs \u003Cfiles | none>; changelog \u003Centries | none — reason>`, and the merge commit id for `\u002Ffinalize-spec-verify-ci`.\n",{"name":5,"description":7,"argument-hint":24},"\u003Cspec-name> [--alias \u003Cword>] [--no-changelog \"\u003Creason>\"]","main","6e250ec86158119da148ddc017b960ed3b2bee2b",".claude\u002Fskills\u002Ffinalize-spec-publish",1,"https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm","https:\u002F\u002Fgithub.com\u002Fturbokast","https:\u002F\u002Fturbokast.com","2026-11-10 17:37:03",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add turbokast\u002Fmythhelm --skill finalize-spec-publish",{"tool":39,"command":40},"bunx","bunx skills add turbokast\u002Fmythhelm --skill finalize-spec-publish",{"tool":42,"command":43},"pnpm","pnpm dlx skills add turbokast\u002Fmythhelm --skill finalize-spec-publish","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffinalize-spec-publish\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7DH77QH78C95S7A5V1GFKKF","mythhelm-deliver-backlog","Coordinate a MYTHHELM backlog run with the shared stage checks and maintainer checkpoints.","https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.grok\u002Fskills\u002Fmythhelm-deliver-backlog\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7DH748EXYG9RVBWPBJ73M27","mythhelm-bootstrap","Orient a Grok Build session in the MYTHHELM repository before task or spec work.","https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.grok\u002Fskills\u002Fmythhelm-bootstrap\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DH70XJE0DZA4T5DYR1TWKZ","vendor-consult","Run one advisory stage consult (premise-ground, spec-validate, task-review, change-review, stuck-oracle, dossier) with an optional external vendor, then adjudicate the answer at its anchors","https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvendor-consult\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DH6X9HSQ308P5FNDSKYR5R","update-docs","Bring README, docs\u002F, knowledge\u002F, WORKFLOW.md and CLAUDE.md in line with what a shipped spec or a merged change actually did — find every statement the change made stale, fix it where readers look, and add only the new facts they need","https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupdate-docs\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DH6T82XR40XQFNRTN4AHGN","triage","Score an idea or a GitHub issue against the master spec's stages, gates and commitments, check it for duplicates, and recommend whether it becomes a backlog card; read-only","https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DH6Q17PM4ESX978QYFV6H6","test-driven-development","Red-green-refactor for Go — use when implementing any feature, bug fix or behaviour change, before writing implementation code","https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[]]