[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DH1V23ERRJ1A3QD8RT6ZCP":3,"skill-same:01M7DH1V23ERRJ1A3QD8RT6ZCP":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},"01M7DH1V23ERRJ1A3QD8RT6ZCP","finalize-spec-verify-ci",null,"After the finalize pull request merges, watch main's CI for that merge commit, class each failed job real, infra or unknown (never flake without a mechanism), and run a bounded remediate-or-escalate loop through fix pull requests","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-verify-ci\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: finalize-spec-verify-ci\ndescription: After the finalize pull request merges, watch main's CI for that merge commit, class each failed job real, infra or unknown (never flake without a mechanism), and run a bounded remediate-or-escalate loop through fix pull requests\nargument-hint: \"\u003Cspec-name> --sha \u003Cmerge-commit> [--alias \u003Cword>]\"\n---\n\n# Finalize Spec — Verify CI\n\nStep 5 of `\u002Ffinalize-spec`. A pull request's checks ran on its own head; `main` after the merge is a different tree, since other work landed in between. This step confirms that `main` is green with the spec's record in it, and repairs it through pull requests when it is not.\n\n## Input\n\n`$ARGUMENTS`: `\u003Cspec-name> --sha \u003Cthe finalize merge commit> [--alias \u003Cword>]`. Run alone after a recovery, pass the commit to re-verify, usually main's tip.\n\n## Invocation contexts\n\n- **Slash command**: waits, classes, and runs the remediation loop. Merging a fix pull request is its own step's write; `\u002Ffinalize-spec` invoking this skill is the approval, and standalone it needs the person's `--merge`, else it stops at the gate with the fix pull request open.\n- **Model-invoked**: the same.\n- **Non-interactive**: the same, waiting in the foreground only. Every escalation stops and returns the report.\n\n## Steps\n\n1. **Wait for a verdict** on the commit, in the foreground, with a Bash timeout of 600000:\n\n   ```bash\n   python3 scripts\u002Fharness\u002Ffinalize.py ci --sha \u003Cfull-sha> --wait --timeout 540\n   ```\n\n   Pass the full 40-character SHA (`git rev-parse \u003Csha>` when starting from a short one): `gh run list --commit` does not match short SHAs, and a short SHA yields a false `verdict=pending` even when the runs are green.\n\n   The script polls `gh run list --branch main --commit \u003Csha>` itself, every 30 seconds, and exits when every push run on that commit has completed. Exit 3 (`verdict=pending`) means its time ran out: run it again, at most eight times in all; after that escalate `ci-timeout` with the runs still pending. Waiting inside the script, not by an agent's `sleep` or by yielding the turn, keeps the delay real and the budget countable.\n\n2. **Read the verdict.**\n   - 0, `verdict=green`: done.\n   - 2: GitHub could not be read. Retry once, then escalate: missing data is never green.\n   - 1, `verdict=red`: every failed job is one `job=` line with its class. Decide on all of them together:\n\n   | Classes present | Action |\n   |---|---|\n   | only `real` | remediate (step 3) |\n   | any `infra` | escalate: the job never judged the code (a setup step failed, the run was cancelled, the runner never started). Ask the maintainer to re-run it: `gh run rerun` is a publishing action behind `.claude\u002Fhooks\u002Fguard-publish.sh`, and the agent never arms it for itself |\n   | any `unknown` | escalate with the job lines and the log tail (`gh run view \u003Crun-id> --log-failed`, last 60 lines): a timeout or an unreadable failure can be the code's own hang |\n\n   A failure is never recorded as a flake. If the same job fails and later passes on the same commit, that is nondeterminism; its record names the mechanism with the failing and passing values, or says `unexplained nondeterminism` (`.claude\u002Frules\u002Fagent-behavioral-posture.md` §7).\n\n3. **Remediate a real failure**, at most two cycles.\n   1. Find what broke: the failing step's command and log (`gh run view \u003Crun-id> --log-failed`), and whether the parent commit was green (`finalize.py ci --sha \u003Csha>^`). A parent that was already red means the break predates this merge; fix it all the same and say so.\n   2. Dispatch one fix pull request as `\u002Ffinalize-spec` §Fix pull requests describes: the owning agent by the failing files, `isolation: \"worktree\"`, title `fix(ci): \u003Cwhat> (\u003Calias> fix)`, with the job line, the log tail and the evidence of step 1 in the prompt. Record `dispatched=1 returned=M failed=K`.\n   3. Merge on `python3 scripts\u002Fharness\u002Ffinalize.py publish-check --spec \u003Cspec> --pr \u003Cn> --fix` printing `verdict=ready`, confirm its merge commit on origin\u002Fmain, and go back to step 1 with that commit.\n   4. Never weaken a test, a gate or the `CI OK` job's `needs:` to turn main green; that is a finding for the maintainer, not a fix.\n\n   After two cycles that end red, escalate `retry-cap` with every cycle's job lines and pull requests.\n\n4. **Record** the outcome: `python3 scripts\u002Fharness\u002Frunspec.py event --spec \u003Cspec> --kind verify --detail \"verify-ci \u003Coutcome> \u003Csha7>\" --result \u003Cok|fail>`. When a fix was needed, its pull request also adds one line to `specs\u002Fdone\u002F\u003Cspec>\u002Fretrospective.md` §CI history naming the failure, its class and the fix; the dispatch prompt says so.\n\n## Output\n\n```text\nVerify CI: \u003Cgreen | green after fix PRs #a, #b | escalated: ci-timeout | infra | unknown | retry-cap>\nCommit: \u003Csha7>; runs \u003Cn>; cycles \u003Cused>\u002F2\n\u003Cthe job= lines of the last red verdict, when any>\n```\n","# Finalize Spec — Verify CI\n\nStep 5 of `\u002Ffinalize-spec`. A pull request's checks ran on its own head; `main` after the merge is a different tree, since other work landed in between. This step confirms that `main` is green with the spec's record in it, and repairs it through pull requests when it is not.\n\n## Input\n\n`$ARGUMENTS`: `\u003Cspec-name> --sha \u003Cthe finalize merge commit> [--alias \u003Cword>]`. Run alone after a recovery, pass the commit to re-verify, usually main's tip.\n\n## Invocation contexts\n\n- **Slash command**: waits, classes, and runs the remediation loop. Merging a fix pull request is its own step's write; `\u002Ffinalize-spec` invoking this skill is the approval, and standalone it needs the person's `--merge`, else it stops at the gate with the fix pull request open.\n- **Model-invoked**: the same.\n- **Non-interactive**: the same, waiting in the foreground only. Every escalation stops and returns the report.\n\n## Steps\n\n1. **Wait for a verdict** on the commit, in the foreground, with a Bash timeout of 600000:\n\n   ```bash\n   python3 scripts\u002Fharness\u002Ffinalize.py ci --sha \u003Cfull-sha> --wait --timeout 540\n   ```\n\n   Pass the full 40-character SHA (`git rev-parse \u003Csha>` when starting from a short one): `gh run list --commit` does not match short SHAs, and a short SHA yields a false `verdict=pending` even when the runs are green.\n\n   The script polls `gh run list --branch main --commit \u003Csha>` itself, every 30 seconds, and exits when every push run on that commit has completed. Exit 3 (`verdict=pending`) means its time ran out: run it again, at most eight times in all; after that escalate `ci-timeout` with the runs still pending. Waiting inside the script, not by an agent's `sleep` or by yielding the turn, keeps the delay real and the budget countable.\n\n2. **Read the verdict.**\n   - 0, `verdict=green`: done.\n   - 2: GitHub could not be read. Retry once, then escalate: missing data is never green.\n   - 1, `verdict=red`: every failed job is one `job=` line with its class. Decide on all of them together:\n\n   | Classes present | Action |\n   |---|---|\n   | only `real` | remediate (step 3) |\n   | any `infra` | escalate: the job never judged the code (a setup step failed, the run was cancelled, the runner never started). Ask the maintainer to re-run it: `gh run rerun` is a publishing action behind `.claude\u002Fhooks\u002Fguard-publish.sh`, and the agent never arms it for itself |\n   | any `unknown` | escalate with the job lines and the log tail (`gh run view \u003Crun-id> --log-failed`, last 60 lines): a timeout or an unreadable failure can be the code's own hang |\n\n   A failure is never recorded as a flake. If the same job fails and later passes on the same commit, that is nondeterminism; its record names the mechanism with the failing and passing values, or says `unexplained nondeterminism` (`.claude\u002Frules\u002Fagent-behavioral-posture.md` §7).\n\n3. **Remediate a real failure**, at most two cycles.\n   1. Find what broke: the failing step's command and log (`gh run view \u003Crun-id> --log-failed`), and whether the parent commit was green (`finalize.py ci --sha \u003Csha>^`). A parent that was already red means the break predates this merge; fix it all the same and say so.\n   2. Dispatch one fix pull request as `\u002Ffinalize-spec` §Fix pull requests describes: the owning agent by the failing files, `isolation: \"worktree\"`, title `fix(ci): \u003Cwhat> (\u003Calias> fix)`, with the job line, the log tail and the evidence of step 1 in the prompt. Record `dispatched=1 returned=M failed=K`.\n   3. Merge on `python3 scripts\u002Fharness\u002Ffinalize.py publish-check --spec \u003Cspec> --pr \u003Cn> --fix` printing `verdict=ready`, confirm its merge commit on origin\u002Fmain, and go back to step 1 with that commit.\n   4. Never weaken a test, a gate or the `CI OK` job's `needs:` to turn main green; that is a finding for the maintainer, not a fix.\n\n   After two cycles that end red, escalate `retry-cap` with every cycle's job lines and pull requests.\n\n4. **Record** the outcome: `python3 scripts\u002Fharness\u002Frunspec.py event --spec \u003Cspec> --kind verify --detail \"verify-ci \u003Coutcome> \u003Csha7>\" --result \u003Cok|fail>`. When a fix was needed, its pull request also adds one line to `specs\u002Fdone\u002F\u003Cspec>\u002Fretrospective.md` §CI history naming the failure, its class and the fix; the dispatch prompt says so.\n\n## Output\n\n```text\nVerify CI: \u003Cgreen | green after fix PRs #a, #b | escalated: ci-timeout | infra | unknown | retry-cap>\nCommit: \u003Csha7>; runs \u003Cn>; cycles \u003Cused>\u002F2\n\u003Cthe job= lines of the last red verdict, when any>\n```\n",{"name":5,"description":7,"argument-hint":24},"\u003Cspec-name> --sha \u003Cmerge-commit> [--alias \u003Cword>]","main","6e250ec86158119da148ddc017b960ed3b2bee2b",".claude\u002Fskills\u002Ffinalize-spec-verify-ci",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-verify-ci",{"tool":39,"command":40},"bunx","bunx skills add turbokast\u002Fmythhelm --skill finalize-spec-verify-ci",{"tool":42,"command":43},"pnpm","pnpm dlx skills add turbokast\u002Fmythhelm --skill finalize-spec-verify-ci","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fturbokast\u002Fmythhelm\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffinalize-spec-verify-ci\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",[],[]]