git-commits-and-reporting
Writes Pocket Arcade commit messages, Gate-Change and Spec-Change trailers, per-app release tags, plain-English evidence reports and stop-and-ask messages to the owner. Use when committing, tagging, reporting a slice or release, or blocked on the owner. Not for running gates (use quality-gates).
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- git-commits-and-reporting
- description
- Writes Pocket Arcade commit messages, Gate-Change and Spec-Change trailers, per-app release tags, plain-English evidence reports and stop-and-ask messages to the owner. Use when committing, tagging, reporting a slice or release, or blocked on the owner. Not for running gates (use quality-gates).
02 资源文件 324
- 资产文件assets/shared.json237 B
- 参考文档examples/commit-messages.md2.6 KB
- 参考文档examples/owner-requests.md2.2 KB
- 参考文档examples/reference-and-copy-changes.md3.3 KB
- 参考文档examples/release-evidence.md2.5 KB
- 参考文档examples/slice-evidence.md875 B
- 参考文档references/commit-format.md9.0 KB
- 参考文档references/owner-updates.md14.0 KB
- 参考文档references/stop-and-ask.md13.2 KB
- 参考文档references/tags-and-releases.md4.1 KB
- 脚本scripts/check-commits.mjs20.9 KB
- 脚本scripts/check-lib.mjs44.4 KB
- 脚本scripts/check-report.mjs22.0 KB
- 脚本scripts/check-tags.mjs6.4 KB
- 脚本scripts/selftest.mjs2.0 KB
- 参考文档templates/commit-message.txt776 B
- 参考文档templates/evidence-release-play.md2.5 KB
- 参考文档templates/evidence-release.md2.2 KB
- 参考文档templates/evidence-slice.md873 B
- 参考文档templates/owner-request.md272 B
- 参考文档templates/release-stop.md265 B
- 参考文档templates/report-changes.md669 B
- 参考文档tests/fixtures/check-commit-message/bad-baseline-without-trailer/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-commit-message/bad-baseline-without-trailer/EXPECT.txt34 B
- 参考文档tests/fixtures/check-commit-message/bad-baseline-without-trailer/files.txt108 B
- 参考文档tests/fixtures/check-commit-message/bad-baseline-without-trailer/message.txt144 B
- 参考文档tests/fixtures/check-commit-message/bad-baseline-without-trailer/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commit-message/bad-baseline-without-trailer/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commit-message/bad-baseline-without-trailer/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commit-message/bad-game-facts-without-trailer/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-commit-message/bad-game-facts-without-trailer/EXPECT.txt43 B
- 参考文档tests/fixtures/check-commit-message/bad-game-facts-without-trailer/files.txt69 B
- 参考文档tests/fixtures/check-commit-message/bad-game-facts-without-trailer/message.txt194 B
- 参考文档tests/fixtures/check-commit-message/bad-game-facts-without-trailer/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commit-message/bad-game-facts-without-trailer/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commit-message/bad-game-facts-without-trailer/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commit-message/bad-golden-without-trailer/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-commit-message/bad-golden-without-trailer/EXPECT.txt56 B
- 参考文档tests/fixtures/check-commit-message/bad-golden-without-trailer/files.txt63 B
- 参考文档tests/fixtures/check-commit-message/bad-golden-without-trailer/message.txt114 B
- 参考文档tests/fixtures/check-commit-message/bad-golden-without-trailer/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commit-message/bad-golden-without-trailer/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commit-message/bad-golden-without-trailer/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commit-message/bad-template-unfilled/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-commit-message/bad-template-unfilled/EXPECT.txt40 B
- 参考文档tests/fixtures/check-commit-message/bad-template-unfilled/files.txt35 B
- 参考文档tests/fixtures/check-commit-message/bad-template-unfilled/message.txt768 B
- 参考文档tests/fixtures/check-commit-message/bad-template-unfilled/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commit-message/bad-template-unfilled/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commit-message/bad-template-unfilled/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commit-message/bad-waivers-without-trailer/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-commit-message/bad-waivers-without-trailer/EXPECT.txt40 B
- 参考文档tests/fixtures/check-commit-message/bad-waivers-without-trailer/files.txt20 B
- 参考文档tests/fixtures/check-commit-message/bad-waivers-without-trailer/message.txt198 B
- 参考文档tests/fixtures/check-commit-message/bad-waivers-without-trailer/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commit-message/bad-waivers-without-trailer/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commit-message/bad-waivers-without-trailer/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commit-message/good/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-commit-message/good/files.txt159 B
- 参考文档tests/fixtures/check-commit-message/good/message.txt437 B
- 参考文档tests/fixtures/check-commit-message/good/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commit-message/good/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commit-message/good/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits-samples/bad-drifted/commit-message-samples.json6.9 KB
- 参考文档tests/fixtures/check-commits-samples/bad-drifted/EXPECT.txt94 B
- 参考文档tests/fixtures/check-commits-samples/bad-missing-rule/commit-message-samples.json6.9 KB
- 参考文档tests/fixtures/check-commits-samples/bad-missing-rule/EXPECT.txt130 B
- 参考文档tests/fixtures/check-commits-samples/good/commit-message-samples.json10.4 KB
- 参考文档tests/fixtures/check-commits/bad-blank-line/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-blank-line/commits.log190 B
- 参考文档tests/fixtures/check-commits/bad-blank-line/EXPECT.txt27 B
- 参考文档tests/fixtures/check-commits/bad-blank-line/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-blank-line/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-blank-line/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-body-missing/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-body-missing/commits.log149 B
- 参考文档tests/fixtures/check-commits/bad-body-missing/EXPECT.txt39 B
- 参考文档tests/fixtures/check-commits/bad-body-missing/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-body-missing/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-body-missing/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-build-number-reused/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-build-number-reused/commits.log521 B
- 参考文档tests/fixtures/check-commits/bad-build-number-reused/EXPECT.txt64 B
- 参考文档tests/fixtures/check-commits/bad-build-number-reused/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-build-number-reused/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-build-number-reused/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-claude-settings/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-claude-settings/commits.log208 B
- 参考文档tests/fixtures/check-commits/bad-claude-settings/EXPECT.txt42 B
- 参考文档tests/fixtures/check-commits/bad-claude-settings/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-claude-settings/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-claude-settings/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-missing/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-gate-change-missing/commits.log142 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-missing/EXPECT.txt38 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-missing/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-missing/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-missing/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-unneeded/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-gate-change-unneeded/commits.log238 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-unneeded/EXPECT.txt47 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-unneeded/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-unneeded/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-gate-change-unneeded/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-header-format/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-header-format/commits.log119 B
- 参考文档tests/fixtures/check-commits/bad-header-format/EXPECT.txt29 B
- 参考文档tests/fixtures/check-commits/bad-header-format/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-header-format/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-header-format/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-header-length-73/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-header-length-73/commits.log302 B
- 参考文档tests/fixtures/check-commits/bad-header-length-73/EXPECT.txt38 B
- 参考文档tests/fixtures/check-commits/bad-header-length-73/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-header-length-73/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-header-length-73/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-header-length/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-header-length/commits.log209 B
- 参考文档tests/fixtures/check-commits/bad-header-length/EXPECT.txt38 B
- 参考文档tests/fixtures/check-commits/bad-header-length/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-header-length/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-header-length/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-header-scope/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-header-scope/commits.log176 B
- 参考文档tests/fixtures/check-commits/bad-header-scope/EXPECT.txt24 B
- 参考文档tests/fixtures/check-commits/bad-header-scope/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-header-scope/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-header-scope/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-parity-waiver-without-trailer/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-parity-waiver-without-trailer/commits.log183 B
- 参考文档tests/fixtures/check-commits/bad-parity-waiver-without-trailer/EXPECT.txt48 B
- 参考文档tests/fixtures/check-commits/bad-parity-waiver-without-trailer/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-parity-waiver-without-trailer/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-parity-waiver-without-trailer/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-perf-baseline-without-trailer/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-perf-baseline-without-trailer/commits.log239 B
- 参考文档tests/fixtures/check-commits/bad-perf-baseline-without-trailer/EXPECT.txt66 B
- 参考文档tests/fixtures/check-commits/bad-perf-baseline-without-trailer/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-perf-baseline-without-trailer/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-perf-baseline-without-trailer/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-scope-missing/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-scope-missing/commits.log175 B
- 参考文档tests/fixtures/check-commits/bad-scope-missing/EXPECT.txt14 B
- 参考文档tests/fixtures/check-commits/bad-scope-missing/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-scope-missing/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-scope-missing/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-spec-change-format/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-spec-change-format/commits.log202 B
- 参考文档tests/fixtures/check-commits/bad-spec-change-format/EXPECT.txt38 B
- 参考文档tests/fixtures/check-commits/bad-spec-change-format/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-spec-change-format/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-spec-change-format/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing-fix/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-spec-ref-missing-fix/commits.log258 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing-fix/EXPECT.txt27 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing-fix/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing-fix/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing-fix/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-spec-ref-missing/commits.log191 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing/EXPECT.txt17 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-spec-ref-missing/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-subject-case/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-subject-case/commits.log191 B
- 参考文档tests/fixtures/check-commits/bad-subject-case/EXPECT.txt29 B
- 参考文档tests/fixtures/check-commits/bad-subject-case/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-subject-case/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-subject-case/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-subject-mood/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-subject-mood/commits.log192 B
- 参考文档tests/fixtures/check-commits/bad-subject-mood/EXPECT.txt21 B
- 参考文档tests/fixtures/check-commits/bad-subject-mood/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-subject-mood/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-subject-mood/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-subject-vague/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-subject-vague/commits.log121 B
- 参考文档tests/fixtures/check-commits/bad-subject-vague/EXPECT.txt20 B
- 参考文档tests/fixtures/check-commits/bad-subject-vague/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-subject-vague/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-subject-vague/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-trailer-empty/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-trailer-empty/commits.log181 B
- 参考文档tests/fixtures/check-commits/bad-trailer-empty/EXPECT.txt31 B
- 参考文档tests/fixtures/check-commits/bad-trailer-empty/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-trailer-empty/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-trailer-empty/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/bad-trailer-placement/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/bad-trailer-placement/commits.log245 B
- 参考文档tests/fixtures/check-commits/bad-trailer-placement/EXPECT.txt61 B
- 参考文档tests/fixtures/check-commits/bad-trailer-placement/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/bad-trailer-placement/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/bad-trailer-placement/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/good/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/good/commits.log3.1 KB
- 参考文档tests/fixtures/check-commits/good/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/good/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/good/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/pass-perf-baseline-gated/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/pass-perf-baseline-gated/commits.log347 B
- 参考文档tests/fixtures/check-commits/pass-perf-baseline-gated/EXPECT.txt66 B
- 参考文档tests/fixtures/check-commits/pass-perf-baseline-gated/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/pass-perf-baseline-gated/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/pass-perf-baseline-gated/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/pass-release-android-build/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/pass-release-android-build/commits.log292 B
- 参考文档tests/fixtures/check-commits/pass-release-android-build/EXPECT.txt66 B
- 参考文档tests/fixtures/check-commits/pass-release-android-build/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/pass-release-android-build/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/pass-release-android-build/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-commits/pass-with-shell-swap/apps/line-siege/package.json30 B
- 其他tests/fixtures/check-commits/pass-with-shell-swap/commits.log442 B
- 参考文档tests/fixtures/check-commits/pass-with-shell-swap/EXPECT.txt66 B
- 参考文档tests/fixtures/check-commits/pass-with-shell-swap/packages/game-kit/package.json28 B
- 参考文档tests/fixtures/check-commits/pass-with-shell-swap/packages/shell/package.json25 B
- 参考文档tests/fixtures/check-commits/pass-with-shell-swap/packages/tooling/package.json27 B
- 参考文档tests/fixtures/check-report-changes/bad-copy-review-missing/EXPECT.txt47 B
- 参考文档tests/fixtures/check-report-changes/bad-copy-review-missing/report.md3.1 KB
- 参考文档tests/fixtures/check-report-changes/bad-copy-review-waits/EXPECT.txt79 B
- 参考文档tests/fixtures/check-report-changes/bad-copy-review-waits/report.md3.3 KB
- 参考文档tests/fixtures/check-report-changes/bad-owner-steps-none-pending/EXPECT.txt99 B
- 参考文档tests/fixtures/check-report-changes/bad-owner-steps-none-pending/report.md3.3 KB
- 参考文档tests/fixtures/check-report-changes/bad-reference-change-unnamed/EXPECT.txt33 B
- 参考文档tests/fixtures/check-report-changes/bad-reference-change-unnamed/report.md3.1 KB
- 参考文档tests/fixtures/check-report-changes/bad-waiver-without-trailer/EXPECT.txt28 B
- 参考文档tests/fixtures/check-report-changes/bad-waiver-without-trailer/report.md3.1 KB
- 参考文档tests/fixtures/check-report-changes/good/report.md3.3 KB
- 参考文档tests/fixtures/check-report-slice/bad-design-match-unsourced/EXPECT.txt38 B
- 参考文档tests/fixtures/check-report-slice/bad-design-match-unsourced/report.md698 B
- 参考文档tests/fixtures/check-report-slice/bad-log-dump/EXPECT.txt82 B
- 参考文档tests/fixtures/check-report-slice/bad-log-dump/report.md110 B
- 参考文档tests/fixtures/check-report-slice/bad-no-players-section/EXPECT.txt41 B
- 参考文档tests/fixtures/check-report-slice/bad-no-players-section/report.md533 B
- 参考文档tests/fixtures/check-report-slice/bad-owner-steps-blocking/EXPECT.txt50 B
- 参考文档tests/fixtures/check-report-slice/bad-owner-steps-blocking/report.md869 B
- 参考文档tests/fixtures/check-report-slice/bad-owner-steps-missing/EXPECT.txt61 B
- 参考文档tests/fixtures/check-report-slice/bad-owner-steps-missing/report.md642 B
- 参考文档tests/fixtures/check-report-slice/bad-unsourced-coverage/EXPECT.txt29 B
- 参考文档tests/fixtures/check-report-slice/bad-unsourced-coverage/report.md659 B
- 参考文档tests/fixtures/check-report-slice/good/report.md875 B
- 参考文档tests/fixtures/check-report-slice/pass-keyless-pilot-slice/EXPECT.txt63 B
- 参考文档tests/fixtures/check-report-slice/pass-keyless-pilot-slice/report.md1.3 KB
- 参考文档tests/fixtures/check-report/bad-checks-missing/EXPECT.txt34 B
- 参考文档tests/fixtures/check-report/bad-checks-missing/report.md2.1 KB
- 参考文档tests/fixtures/check-report/bad-design-match-missing/EXPECT.txt38 B
- 参考文档tests/fixtures/check-report/bad-design-match-missing/report.md2.0 KB
- 参考文档tests/fixtures/check-report/bad-evidence-line/EXPECT.txt59 B
- 参考文档tests/fixtures/check-report/bad-evidence-line/report.md2.1 KB
- 参考文档tests/fixtures/check-report/bad-look-at-limit/EXPECT.txt29 B
- 参考文档tests/fixtures/check-report/bad-look-at-limit/report.md2.4 KB
- 参考文档tests/fixtures/check-report/bad-outcome-first/EXPECT.txt26 B
- 参考文档tests/fixtures/check-report/bad-outcome-first/report.md2.0 KB
- 参考文档tests/fixtures/check-report/bad-outcome-three-sentences/EXPECT.txt49 B
- 参考文档tests/fixtures/check-report/bad-outcome-three-sentences/report.md2.4 KB
- 参考文档tests/fixtures/check-report/bad-outcome-too-long/EXPECT.txt73 B
- 参考文档tests/fixtures/check-report/bad-outcome-too-long/report.md2.6 KB
- 参考文档tests/fixtures/check-report/bad-owner-steps-incomplete/EXPECT.txt67 B
- 参考文档tests/fixtures/check-report/bad-owner-steps-incomplete/report.md2.3 KB
- 参考文档tests/fixtures/check-report/bad-placeholder-as-evidence/EXPECT.txt44 B
- 参考文档tests/fixtures/check-report/bad-placeholder-as-evidence/report.md2.6 KB
- 参考文档tests/fixtures/check-report/bad-placeholder-left/EXPECT.txt24 B
- 参考文档tests/fixtures/check-report/bad-placeholder-left/report.md2.2 KB
- 参考文档tests/fixtures/check-report/bad-rehearsal-evidence/EXPECT.txt71 B
- 参考文档tests/fixtures/check-report/bad-rehearsal-evidence/report.md2.6 KB
- 参考文档tests/fixtures/check-report/bad-report-source/EXPECT.txt36 B
- 参考文档tests/fixtures/check-report/bad-report-source/report.md2.1 KB
- 参考文档tests/fixtures/check-report/bad-request-default/EXPECT.txt33 B
- 参考文档tests/fixtures/check-report/bad-request-default/report.md2.1 KB
- 参考文档tests/fixtures/check-report/bad-section-missing/EXPECT.txt56 B
- 参考文档tests/fixtures/check-report/bad-section-missing/report.md1.8 KB
- 参考文档tests/fixtures/check-report/bad-technical-detail-early/EXPECT.txt35 B
- 参考文档tests/fixtures/check-report/bad-technical-detail-early/report.md2.3 KB
- 参考文档tests/fixtures/check-report/bad-tests-count/EXPECT.txt28 B
- 参考文档tests/fixtures/check-report/bad-tests-count/report.md2.2 KB
- 参考文档tests/fixtures/check-report/bad-too-many-requests/EXPECT.txt29 B
- 参考文档tests/fixtures/check-report/bad-too-many-requests/report.md2.3 KB
- 参考文档tests/fixtures/check-report/good/report.md2.5 KB
- 参考文档tests/fixtures/check-report/pass-rehearsal-not-verified/EXPECT.txt50 B
- 参考文档tests/fixtures/check-report/pass-rehearsal-not-verified/report.md2.6 KB
- 参考文档tests/fixtures/check-request/bad-no-default/EXPECT.txt33 B
- 参考文档tests/fixtures/check-request/bad-no-default/message.md235 B
- 参考文档tests/fixtures/check-request/bad-no-request/EXPECT.txt16 B
- 参考文档tests/fixtures/check-request/bad-no-request/message.md93 B
- 参考文档tests/fixtures/check-request/bad-template-left/EXPECT.txt36 B
- 参考文档tests/fixtures/check-request/bad-template-left/message.md272 B
- 参考文档tests/fixtures/check-request/bad-two-requests/EXPECT.txt31 B
- 参考文档tests/fixtures/check-request/bad-two-requests/message.md370 B
- 参考文档tests/fixtures/check-request/good/message.md406 B
- 参考文档tests/fixtures/check-tags/bad-build-number-order/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-number-order/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-number-order/EXPECT.txt39 B
- 参考文档tests/fixtures/check-tags/bad-build-number-order/tags.txt41 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused-android/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused-android/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused-android/EXPECT.txt82 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused-android/tags.txt93 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused/EXPECT.txt35 B
- 参考文档tests/fixtures/check-tags/bad-build-number-reused/tags.txt40 B
- 参考文档tests/fixtures/check-tags/bad-build-time-order/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-time-order/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-build-time-order/EXPECT.txt72 B
- 参考文档tests/fixtures/check-tags/bad-build-time-order/tags.txt91 B
- 参考文档tests/fixtures/check-tags/bad-release-without-build/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-release-without-build/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-release-without-build/EXPECT.txt40 B
- 参考文档tests/fixtures/check-tags/bad-release-without-build/tags.txt38 B
- 参考文档tests/fixtures/check-tags/bad-tag-format/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-tag-format/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-tag-format/EXPECT.txt55 B
- 参考文档tests/fixtures/check-tags/bad-tag-format/tags.txt64 B
- 参考文档tests/fixtures/check-tags/bad-unknown-game/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-unknown-game/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/bad-unknown-game/EXPECT.txt33 B
- 参考文档tests/fixtures/check-tags/bad-unknown-game/tags.txt36 B
- 参考文档tests/fixtures/check-tags/good/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/good/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/good/tags.txt116 B
- 参考文档tests/fixtures/check-tags/pass-release-android-build/apps/flock-tilt/package.json30 B
- 参考文档tests/fixtures/check-tags/pass-release-android-build/apps/line-siege/package.json30 B
- 参考文档tests/fixtures/check-tags/pass-release-android-build/EXPECT.txt52 B
- 参考文档tests/fixtures/check-tags/pass-release-android-build/tags.txt186 B
03 SKILL.md 正文
Git commits and reporting
Every change reaches the owner twice: as a commit history they can search, and as a short plain-English message they actually read. This skill makes both exact: Conventional Commits with the right trailers, per-app tags, an evidence report built from the files in reports/, and one clear question when something needs a person. Three scripts check the messages, the tags and the reports before anything is committed or sent.
Rules that must hold
- Headers are Conventional Commits:
<type>(<scope>): <subject>, at most 72 characters, imperative, lowercase start, no trailing period. Scope is a folder underapps/orpackages/(line-siege,shell,game-kit,tooling) orrepo,deps,docs,ci,skills. The owner and later sessions search the history by scope, and thecommit-msghook rejects anything else. - One behaviour per commit, its tests and code together, with a body that says why and, for a
feator afixoutsidetooling,repo,deps,docs,ciandskills, names the spec lines it serves (Spec S9 and 8.3: ...,N3,D4). The history is the proof that each behaviour was built test-first. - Trailers sit in the last paragraph.
Gate-Change: <reason>exactly when a staged file matchesgatedPaths(gate configs, goldens, baselines, save fixtures,parity/waivers.jsonandparity/game-facts.json,.npmrc,.claude/settings.json): a gate config changes only after the owner agreed; a golden, baseline or fixture only on purpose, with the reason.Spec-Change: spec <section> <what changed>only when a test expectation changed because the spec changed, never for "the test was wrong"; the one directed swap of the build order, Shell step 8's with-shell swap, carries exactlySpec-Change: with-shell final composer (phase 0 placeholder replaced), which needs no spec id (DIRECTED_SWAP_TRAILERS). Keep anyCo-Authored-By:line the session asks for. Git reads trailers only there, and the owner lists gate changes by them. - Never bypass or rewrite: no
--no-verify, noLEFTHOOK=0, no amend or rebase of pushed commits. A failing hook means the commit is not ready. - Nothing leaves this Mac without the owner's word in this session: no push, no tag push, no upload, no App Store Connect or Play Console change, no "submit for review" until the owner says "submit". These cannot be undone.
- Tags and release commits come only from
npm run release:iosandnpm run release:android:chore(<game-id>): build <n>, then<game-id>/vX.Y.Z+<build>after each upload and<game-id>/vX.Y.Zwhen the owner says "ship". Both platforms share one build number (Android's versionCode), so no two release commits or tags of a game repeat it. Never move, delete or reuse a tag; build numbers only go up. - Every finished slice and release ends with the evidence report: outcome first in players' words, spec names (Home, S4), numbers copied from
reports/files with the file named, at most one request with its default, at most five things to look at, an honest "not verified" list, technical detail last. Intended changes the owner could miss get their own block: design references changed on purpose (frames and thereferenceChangesid), parity waivers changed (class and the Gate-Change commit) and texts changed in all four languages (the fa and ckb drafts go to the owner's review). The owner's personal checks, the fa and ckb review, the play-test and listening to the sound previews, are listed in every slice and release report under "Owner steps (not blocking)" and never waited for; a keyless rehearsal (REHEARSAL: not a release gate) is never cited as release evidence. The owner never reads code or logs; this message is the review. - Stop and ask in the listed situations (
references/stop-and-ask.md): one message, one request answerable in a word, the human-step ID, the default that applies meanwhile; then keep working on anything else. Release stops (signing, agreement, 401/403, INVALID; on Google Play also app not found, a draft app, API not enabled, policy declarations, a used version code) are never retried. - Never read, print, copy or commit the App Store Connect
.p8key, a JWT or a password. If a task seems to need one, ask.
Workflow
- Stage exactly one slice.
git statusandgit diff --cached --stat: one behaviour, its tests and code, and any docs it changes. Split unrelated changes into their own commits. Read references/commit-format.md before the first commit of a session. - Write the message into a file from templates/commit-message.txt, for example
reports/commit-message.txt(reports/is gitignored). Replace every__PLACEHOLDER__; delete the trailer lines that do not apply. examples/commit-messages.md shows good and bad messages. - Check it against the staged files:
node ${CLAUDE_SKILL_DIR}/scripts/check-commits.mjs . --message reports/commit-message.txt --staged. Fix everyFAILline and rerun untilRESULT: PASS, thengit commit -F reports/commit-message.txt. Thecommit-msghook runs the same rules with the same ids (packages/tooling/src/git/commit-message-rules.ts), so a message this script passes is never rejected there, and one the hook accepts never fails here later (only a history showsbuild-number-reused). - Check the session's history before reporting:
node ${CLAUDE_SKILL_DIR}/scripts/check-commits.mjs . --range <base>..HEAD(<base>=git rev-parse --short HEADnoted at the start of the session;--range HEADchecks the whole history). A bad unpushed commit may be reworded withgit commit --amend(last commit) before anything is pushed; a pushed one stays and the report says so. - Write the evidence report. Read references/owner-updates.md. Copy templates/evidence-slice.md (a slice) or templates/evidence-release.md (a TestFlight release; templates/evidence-release-play.md for Google Play internal testing) to
reports/evidence-<YYYY-MM-DD>-<slug>.md, fill it only from the files inreports/and the Jest summary (the Tests line's golden count comes fromnpx jest --ci --selectProjects golden, and unit = total minus golden, becausenpm run test:coverageprints one combined summary; a changed screen also gets the "Design match" line against its Toybox design screenshot, see the reference), and compare with examples/slice-evidence.md or examples/release-evidence.md. When the work changed a committed design reference, a parity waiver or a player-visible text, paste the matching blocks of templates/report-changes.md above "Not tested or not verified" (examples/reference-and-copy-changes.md shows all three). - Check the report:
node ${CLAUDE_SKILL_DIR}/scripts/check-report.mjs reports/evidence-<...>.md. Fix and rerun untilRESULT: PASS, then put the report in the final message (the red run and commands stay under "Details"). - When something needs the owner, read references/stop-and-ask.md, fill templates/owner-request.md (human step or spec question) or templates/release-stop.md (a release stopped), check it with
check-report.mjs <file> --kind request(examples/owner-requests.md has one of each), send it, and continue with work that does not depend on the answer. - After a release upload or a "ship", read references/tags-and-releases.md and run
node ${CLAUDE_SKILL_DIR}/scripts/check-tags.mjs .. Push tags only when the owner has said so in this session. - At the end of every session: the Stop hook runs
npm run -s check:fast; commit the finished slices (steps 1-4), write the report (steps 5-6). If the Stop hook still fails after its 8 continuations, report the failing gate and what was tried instead of working around it.
Definition of done
- [ ] Each new commit holds one behaviour with its tests; its body says why and names the spec lines of a
featorfix. - [ ]
Gate-Change:appears exactly on commits that touch a gated path (gate configs agreed with the owner, goldens and baselines changed on purpose);Spec-Change:only where the spec changed. - [ ] No hook was bypassed; nothing was pushed, tagged, uploaded or submitted without the owner's word in this session.
- [ ] The evidence report takes every number from a named
reports/file, lists what was not verified, names every intended design-reference change (with itsreferenceChangesid), waiver change (with its Gate-Change commit) and text change (four languages, fa and ckb drafts for the owner's review), lists the owner's own checks under "Owner steps (not blocking)" without waiting for them, cites no rehearsal as release evidence, and passescheck-report.mjs. - [ ] Every owner request carries one action, its step ID when there is one, and a default; tags (after a release) pass
check-tags.mjs. - [ ]
node ${CLAUDE_SKILL_DIR}/scripts/check-commits.mjs . --range <base>..HEADandnode ${CLAUDE_SKILL_DIR}/scripts/check-report.mjs reports/<report>.mdprintRESULT: PASS
Anti-patterns
fix: stufforUpdated files.The history becomes unsearchable; write what changes for the player or the code, with a scope.- One commit for "stars, packs and unlocks". Three behaviours, three commits; otherwise nobody can see that each was test-first.
Gate-Change: updateon a commit that also relaxed a lint rule. Gate changes need the owner's agreement first and a reason that says why.Spec-Change: the test was wrong. That is editing a test to pass; fix the code or ask the owner.- "All tests green, coverage great!" Numbers come from
reports/with the file named: "Tests: 214/214 pass (unit 192, golden 22), random seed 48213". - Five questions in one message. Ask the most blocking one with its default; the rest can wait for the next message.
- "Waiting for the native review before the release." The fa and ckb review, the play-test and listening to the sounds are the owner's own checks: list them under "Owner steps (not blocking)" and keep going.
- Citing
check-store-artifact --unsignedas the store gate. It is a keyless rehearsal; the release report cites only the signed archive's run. - Citing an owner-placeholder FAIL as evidence, or writing a release report without an upload. Until the owner supplies G3 and G5 the ship gates end with
owner-placeholderlines andOWNER STEPS PENDING: G3, G5by design: hand the pilot over with a slice report (rehearsal and those results under "Not tested or not verified", G3 and G5 under "Owner steps (not blocking)"); the release report follows the first upload. - Retrying
release:iosaftererrSecInternalComponentor a 401. It needs a person or a credential; retries can lock the account or burn build numbers. - Pushing "because the work is done". Pushing is outward-facing until the owner says otherwise.
- Tagging by hand, or reusing
line-siege/v1.0.0for a rebuilt binary. A new build gets a new build number and a new upload tag.
Files in this skill
| File | What it is | Read/run when |
|---|---|---|
| references/commit-format.md | Header, types, scopes, body, trailers, slices, good and bad headers | Workflow step 1, first commit of a session |
| references/owner-updates.md | The seven reporting rules, the evidence message shape, slice and release form, where each number comes from, honest limits, plain words | Workflow step 5 |
| references/stop-and-ask.md | When to stop, every human-step ID (O, G, GP, P, R, A), App Store and Google Play release stops, how to write the message | Workflow step 7, and whenever a step needs a person |
| references/tags-and-releases.md | Upload and release tags, version and build numbers shared by iOS and Android, release commits from release:ios and release:android, pushing |
Workflow step 8 |
| templates/commit-message.txt | Commit message with placeholders and hints (comment lines are dropped) | Workflow step 2 |
| templates/evidence-slice.md | Evidence report, slice form | Workflow step 5 |
| templates/evidence-release.md | Evidence report, release form (TestFlight) | Workflow step 5 |
| templates/evidence-release-play.md | Evidence report, release form for Google Play internal testing (Android E2E, design match on Android, the store-AAB gate, GP7 play-test) | Workflow step 5, after release:android |
| templates/report-changes.md | The three optional report blocks: design references changed on purpose, parity waivers changed, texts changed in all four languages | Workflow step 5, when the work changed a reference, a waiver or a text |
| templates/owner-request.md | One request: a human step or a spec question with options | Workflow step 7 |
| templates/release-stop.md | The message when a release step stops | Workflow step 7 |
| examples/commit-messages.md | Good messages and bad ones with the rule each breaks | Workflow step 2 |
| examples/slice-evidence.md | A complete slice report | Workflow step 5 |
| examples/release-evidence.md | A complete release report | Workflow step 5 for a release |
| examples/reference-and-copy-changes.md | A complete report with all three change blocks (the Line Siege no-music, score-line, Persian-digit, version-gap and march-text changes) | Workflow step 5, with the change blocks |
| examples/owner-requests.md | A human-step request, a spec question and a release stop | Workflow step 7 |
scripts/check-commits.mjs |
Checks a planned message (--message, with --staged or --files) or history (--range, --log): header, scope, mood, body, spec lines, trailers, gated paths, leftover placeholders; the same rules and ids as the repo's commit-msg hook, plus, in a history only, a build number two release commits of one game share (build-number-reused). --samples <list> proves both still agree on the shared sample list |
Workflow steps 3-4 and the definition of done |
scripts/check-report.mjs |
Checks an evidence report (--kind slice or release) or a request (--kind request), including the outcome line's limits (240 characters, 2 sentences, ends in . or !, each named with its number), the owner-steps block (G3 and G5 lines may name the gates they unblock), and that no report cites a keyless rehearsal or an owner-placeholder FAIL as evidence |
Workflow steps 6-7 and the definition of done |
scripts/check-tags.mjs |
Checks tag names, game ids, an upload tag behind every release tag, build-number order across versions and in tag-date order (the repo's tags or --list <file>) |
Workflow step 8 |
scripts/selftest.mjs |
Proves all three checkers pass good fixtures and catch each planted bug, and that check-commits.mjs gives every sample of the shared commit-message list (the one the hook's own test runs) exactly its rule ids |
After changing a checker, a template or an example |
scripts/check-lib.mjs |
Shared script helper, synced from the library (do not edit here) | Never by hand |
assets/shared.json |
Declares the shared files this skill copies in: check-lib.mjs and the shared commit-message sample list (into tests/fixtures/check-commits-samples/good/) |
When adding a shared file |
tests/fixtures/ |
Good and planted-bad inputs; the commit logs are real git log output from throwaway repos; check-commits-samples/good/ is the synced sample list (do not edit here) |
When adding a rule to a checker (add its sample to the shared list too) |
Related skills
quality-gates- whatcheck:fast,verifyand thecommit-msghook run, and which paths are gated.tdd-workflow- how each slice is built test-first before it is committed.pocket-arcade-product-spec- the spec IDs that commit bodies, reports and questions quote.ios-release-testflight-release:ios, which makes release commits and tags.golden-tests- when a golden or baseline may change (and so needsGate-Change:).
04 同仓库更多 Skills
unit-and-component-tests
Sets up Jest and writes Pocket Arcade test code - three projects, RNTL 14 async via renderWithShell, root SDK mocks, fakes, fast-check, coverage, Stryker. Use when a test needs the Shell wrapper, a mock or a fake, or Jest fails. Not for the red-green loop (tdd-workflow) or goldens (golden-tests).
typescript-and-lint-rules
Enforces Pocket Arcade's strict TypeScript 6 tsconfigs, ESLint 9 flat config, Prettier and size limits. Use when writing or splitting .ts/.tsx or fixing a tsc or lint error. Not for gate wiring (quality-gates), names (naming-conventions) or import zones (architecture-and-boundaries).
demo-skill
Builds a demo. Use when testing the pitfall checker.
demo-skill
Builds a demo. Use when testing the pitfall checker.
troubleshooting-playbook
Diagnoses and fixes Pocket Arcade failures with a catalogue of 300+ known ones (symptom, cause, fix). Use when something errors, crashes, hangs or renders wrong, or an error or log needs explaining. Not for gate setup (quality-gates) or running builds (ios-simulator-build, ios-release-testflight).
toybox-visual-parity
Proves a built Pocket Arcade screen matches its Toybox design screenshot (light/dark, en/fa) and drives the fixes: capture, element gates, sheets, sign-off. Use when any screen is built or changed, or for visual parity, design match, screenshot compare. Not for building screens (toybox-screens).