Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
21.2 KB
Raw Blame

Changelog

[1.91.276.0] - 2026-10-27

Tier 2+ skills load the shared preamble once per session instead of once per invocation. Every tier 2+ SKILL.md carried the same ~23 KB of preamble (AskUserQuestion format, voice, writing style, completeness, completion protocol and more), so each skill invocation re-read text the conversation already held. That text now renders once per host into sections/preamble.md beside each tier 2+ SKILL.md. The SKILL.md keeps a short "Shared preamble (load first)" pointer naming the file and its id (a hash of the shared text before host rewrites), and asks for the Read unless the skill's own earlier Read of that file, headed by that id, is still in context, so other text that merely carries the id cannot stand in for the shared rules. Measured with Anthropic token counting: review's SKILL.md drops from 21,884 to 16,103 tokens, ship from 22,688 to 16,907, office-hours from 27,100 to 23,085 and design-review from 39,040 to 33,261. The shared file is 5,953 tokens, so a skill's first invocation in a session costs about 170 tokens more than before (about 1,900 for office-hours, about 3,800 for plan-eng-review) and every later invocation of that skill saves about 5,800 (4,000 for office-hours, 2,200 for plan-eng-review). The skip is tied to the skill's own copy of the file, so the first invocation of each different skill pays the Read again. A /autoplan run's four review-skill loads carry 17,941 fewer SKILL.md tokens (191,871 → 173,930), and /autoplan and the inline /office-hours loader skip each loaded skill's "Shared preamble (load first)" section, because the parent already holds the shared preamble.

Changed

  • scripts/resolvers/preamble-hoist.ts (new) renders {{PREAMBLE}} for tier 2+ skills: a section moves to the shared file only when this skill's render of it is byte-identical to the shared render, so no skill's instructions change. Sections that name the skill (the start command, Question Tuning, Repo Ownership, Search Before Building, Telemetry), text without its own heading, and skill-specific variants stay inline; a variant that keeps the shared subsection headings carries only its differing ### subsections. Tier 1 skills keep their short preamble inline. Across all 41 hoisted skills, the SKILL.md with its shared file applied holds exactly the paragraphs the pre-hoist SKILL.md held.
  • scripts/gen-skill-docs.ts emits sections/preamble.md per tier 2+ skill and host as a new preamble artifact kind, with the same host rewrites, install-root rewrite and runtime preludes as SKILL.md. setup already installs every skill's sections/, and gstack-built overlay and per-install renders carry the file the same way.
  • setup --status: a bare sections/<file> pointer counts as carved only when the skill installs a section other than the shared preamble.md, so the new file does not turn on checks for skills that inline their sections on that host.
  • gstack-doctor --check: the patch row finds the Codex render's model patch in the review skill's sections/preamble.md too, where the hoist moves it; without this the required row failed on every hoisted Codex install.
  • Loaded-skill skip lists (/autoplan's section skip list and the {{INVOKE_SKILL}} loader's defaults in scripts/resolvers/composition.ts) skip Shared preamble (load first), so a loaded plan-review or /office-hours skill no longer Reads its own shared file and re-imports the sections the parent already handles. Completeness Principle — Boil the Ocean and Completion Status Protocol leave both lists, because no loaded skill carries them inline any more, only in the shared file. Each list is 40 characters shorter, so 30 size pins go down (plan-eng-review's by 26, after main's +14 pointer growth).
  • PR paid planner (scripts/lib/paid-select.ts): a generated <skill>/sections/preamble.md takes its skill's SKILL.md.tmpl identity, as that skill's SKILL.md already does, so a skill whose only paid coverage is periodic defers it instead of failing screen-summary with "requires full validation".

Tests

  • test/helpers/docsync-fixture.ts: fixtureDocs copies the generated sections/preamble.md into the document-release and ship fixtures when the skill has one, because the hoisted SKILL.md names it as a required asset and a spawned docs audit blocks without it (hunk taken from #3472). #3472's companion test in test/ship-document-release-dispatch.test.ts removes ship's generated sections/preamble.md from its copied tree before checking that a skill without one gets none, because under the hoist every generated tier 2+ skill has one.
  • test/helpers/skill-startup.ts (new): readSkillStartup (SKILL.md with the shared file spliced in at its pointer, the reading order a skill sees) and readSkillEffective (each preamble section once, with this skill's variant applied). Tests that assert preamble rules are in context, E2E fixture extractors, workflow-judge bundles and install checks read these instead of SKILL.md alone; judge bundles keep their pre-hoist content.
  • test/helpers/carve-guards.ts: parity caps for ship, review, autoplan, spec, land-and-deploy, design-consultation, plan-devex-review, plan-ceo-review, office-hours and plan-eng-review raised to their measured unions (owner-approved, Garry 2026-10-25: "do it"), each with its reason. The union now includes the shared file; plan-ceo-review's cap (1.1006) also covers the 106-byte COMPLETENESS IS COVERAGE bullet from the completeness rewording below. office-hours and plan-eng-review count their own copies of shared sections twice until a follow-up dedupes them.
  • test/fixtures/skill-md-size-allowlist.json: 63 pins lowered and 26 deleted (now within the 100,000-character limit). None raised. The deferral note (owner Garry, revisit 2026-11-15) is retired here and in test/skill-md-size-guard.test.ts.
  • test/section-manifest-consistency.test.ts: the generated-orphan check exempts the shared sections/preamble.md only when the skill's SKILL.md carries the "Shared preamble (load first)" pointer, because that file renders from scripts/resolvers/preamble-hoist.ts rather than a section template; it still must carry the AUTO-GENERATED header, and the generation freshness check covers its content. test/paid-pr-profile.test.ts covers the planner change.
  • test/preamble-hoist.test.ts (new): tier 1 output is unchanged, and a tier 2+ SKILL.md with its sections/preamble.md applied holds exactly the pre-hoist preamble; the pointer opens the preamble, precedes the start command and names the shared file's id. test/gen-skill-docs-checks.test.ts checks that each host renders one shared preamble, beside every pointer and under the id the pointer names. test/host-conformance.test.ts checks that setup --status still finds a broken bare sections/ pointer when a carved Claude skill's installed sections/ is a directory symlink. A second test/preamble-hoist.test.ts case checks, on every host, tier and render option, that the pointer allows the skip only when the skill's own Read of the file is in context, never on the id alone.
  • Ship goldens regenerated. 27 paid-test touchfile keys gain test/helpers/skill-startup.ts, which is also a global touchfile pinned in scripts/harness-version.json (recorded non-behavioral) because test/helpers/skill-fixture.ts builds its fixtures through it, and every key that names scripts/resolvers/preamble.ts also names scripts/resolvers/preamble-hoist.ts, so a hoist change selects the same paid cases. The existing TS2769 test-typecheck baseline entry for test/gen-skill-docs-checks.test.ts is re-keyed for the new preamble artifact kind, its count unchanged.
  • test/skill-llm-eval.test.ts: the voice directive tone judge reads review's Voice section through readSkillEffective (SKILL.md plus its shared preamble), because the section now lives in review/sections/preamble.md. The text it judges is byte-identical to main's; rubric and thresholds are unchanged.
  • test/helpers/touchfiles-data.ts: ETHOS.md is registered on the 41 paid cases whose touchfiles cover plan-ceo-review or office-hours, the two skills that tell the agent to read it, so an ETHOS.md change selects those cases instead of restoring the full gate. The unknown-dependency examples in test/paid-pr-profile.test.ts, test/paid-free-boundary.test.ts and test/pr-dependencies.test.ts now use SECURITY.md and LICENSE, and the first checks that ETHOS.md maps to its reader cases.

Gate integrity

  • Raised: the ten parity caps above, by owner decision. No other threshold, budget, timeout, trial count, case kind or assertion weakened. The size floor, the growth ceiling and the total-corpus budget in test/skill-size-budget.test.ts now measure SKILL.md plus its shared file, which is what a skill loads at startup (corpus 3,114,885 → 2,590,484 bytes, ×0.832). test/auq-format-always-loaded.test.ts's carve-safety guard counts a skill as carved only when sections/ holds a file other than the shared preamble.md, the rule setup --status uses; the skills that leaves out keep the same AskUserQuestion checks in its per-skill loop.
  • Lowered: the hoist shrank every tier 2+ SKILL.md by about 22 KB, so the 20 hoisted maxSkeletonBytes caps in test/helpers/carve-guards.ts drop to the new skeleton plus each one's pre-hoist headroom (ship 81,600 → 59,771), and 42 eagerPerInvocation ceilings in test/fixtures/context-budget.json ratchet down to the recaptured figures, and after main's v1.91.255.0 merge the new captain skill's ceiling goes from 12,011 to 6,551 (hoisted) and five loaded-skill ceilings drop by 2 to 22. No ceiling went up; the four the recapture would have raised keep their old values.
  • Raised after main's v1.91.260.0 merge (#3433 GSTA-92 phase 2 and #3481 review convergence on top of the hoist): each value is the hoisted figure plus the measured growth those PRs added, with no template trim (owner-approved under the parity-caps rule, GSTA-92 Garry "Do it" and GSTA-96 Garry "do it"). Parity caps: ship 1.7172 (322,312 / 187,706), review 1.3136 (142,550 / 108,523), design-review 1.3758 (145,613 / 105,842). Skeleton caps lowered to the hoisted size: ship 82,700 → 60,913 (measured 60,848), design-review 137,767 → 115,947. eagerPerInvocation ceilings: ship 15,601 → 15,899, review 15,352 → 15,417, design-review 30,143 → 30,295, cso 4,660 → 4,902, gstack 5,326 → 5,346, capy/skill/gstack 3,498 → 3,899, alwaysOnTotal 7,458 → 7,546, and the new hoisted ubicloud row at 3,594. All stay below main's pre-hoist values. The size allowlist keeps the hoisted pins plus the 30 raises #3433 and #3481 made.
  • After main's v1.91.265.0 merge (#3430 /design-motion, #3493 ETHOS principles): context-budget.json keeps main's new design-motion row at main's value (10,409), raises eval-plan by the growth #3493 measured (3,996 → 4,442 tokens; ceiling 4,396 → 4,842, main's own 9,811), and lowers gstack back to main's 5,326 (measured 4,863) and alwaysOnTotal to 7,542 (measured 7,542).
  • After main's v1.91.270.0 merge (#3494, #3496, #3487): ship's parity cap goes from main's 1.7400 to 1.7432 (327,203 / 187,706), the hoist's raise plus #3487's with no trim. context-budget.json is recaptured whole with bun test/helpers/capture-context-budget.ts, which replaces the hand-kept rows in the bullet above. Every row that rises matches main's own recapture at v1.91.270.0 (alwaysOnTotal 7,769, eval-plan 4,887, gstack 5,350), and design-motion drops to 4,724 now that it loads the shared file.
  • After main's v1.91.273.0 merge (#3509, #3500, #3501): every cap the hoist touches is re-measured on the merged tree. Parity caps: ship 1.7500 → 1.7524 (328,918 / 187,706) and plan-eng-review 1.2400 → 1.3532 (168,601 / 124,597), main's raises plus the hoist's with no trim. Skeleton caps for skills main carved or raised drop to the hoisted skeleton plus main's headroom: investigate 52,000 → 30,210, context-restore 46,300 → 24,514, design-motion 39,900 → 18,112. Every other cap holds at its measurement. The size allowlist keeps the same 63 pins re-measured (11 plan-eng-review pins rise by #3500's 2,896 characters), and context-budget.json is recaptured: the non-hoisted rows that rise (benchmark 8,043, capy/skill/gstack 4,120) equal main's own recapture, and the hoisted context-restore (6,287) and investigate (7,795) sit below it.
  • After main's v1.91.274.0 merge (#3507): design-review's parity cap goes from main's 1.3681 to 1.3739 (145,410 / 105,842, the union with the shared file), and its skeleton cap drops from 137,735 to the hoisted 115,947 with main's zero headroom kept. design-html's skeleton cap drops from 56,200 to 34,410 (hoisted 34,044 plus main's 366 bytes of headroom), and its context-budget.json row from 8,926 to 8,896. Every other cap and pin holds at its measurement.

The Completeness Principle now asks for complete coverage with minimal code. Every tier-2+ skill's preamble said "the complete thing is the goal", and ETHOS.md told models to "always prefer A" because "the 70-line delta costs seconds". Models read that as permission to write more code, which is the "50-line job arriving as 400" complaint (GSTA-93). Coverage of the requirement is still non-negotiable; code beyond it is no longer a virtue.

Changed

  • scripts/resolvers/preamble/generate-completeness-section.ts: the default section reads "Complete coverage, minimal code": recommend full coverage of the requirement (tests, edge cases, error paths) and no code beyond it, prefer the smaller diff at equal coverage, and add no checks for impossible states. Unrelated work stays separate scope. The Completeness: X/10 scoring rule and the GPT-5.6 Sol variant are unchanged. The section is 3 characters shorter, so every regenerated skill shrinks and 89 size pins go down.
  • ETHOS.md: "Completeness is cheap ... always prefer A" becomes "Complete coverage, minimal code": completeness is measured in coverage, not lines; at equal coverage choose the smaller diff; no speculative abstractions, impossible-state checks or unneeded refactors. A new anti-pattern names the impossible-state fallback. Section 1's opener now says "When covering the whole requirement costs minutes more than the shortcut, cover it. Every time. Complete means complete coverage, not more code.", and "How They Work Together" says Boil the Ocean means "cover the whole requirement with the least code" instead of "do the complete thing".
  • plan-ceo-review/SKILL.md.tmpl: the Philosophy bullet "COMPLETENESS IS CHEAP: AI makes 70 LOC seconds. Prefer complete ~150 LOC over 90% ~80 LOC. Boil the ocean." becomes "COMPLETENESS IS COVERAGE": cover the whole requirement (tests, edge cases, error paths) rather than a 90% shortcut, add no code beyond the accepted scope (so SCOPE EXPANSION and SELECTIVE EXPANSION still build what the user accepted), and choose the smaller diff at equal coverage. plan-ceo-review is under the 100,000-character limit on every host and has no size pin, so it grows about 100 characters without a pin change.
  • First-run intro: the one-time Boil the Ocean intro in bin/gstack-skill-start says "complete coverage, minimal code" instead of "do the complete thing when AI makes marginal cost near-zero". The agents digest's Boil the Ocean bullet (scripts/gen-agents-digest.ts, regenerated agents-digest/gstack-AGENTS.md) says the same: "complete coverage, minimal code: cover the whole requirement (tests, edge cases, error paths) and write no code beyond it".
  • review/specialists/simplification.md quotes the new house rule instead of "If A is 70 lines more, choose A", and CLAUDE.md restates it in place of "Completeness is cheap ... the complete thing is the goal".

Tests

  • test/model-overlays.test.ts asserts the new default wording ("Complete coverage, minimal code.", "prefer the smaller diff") and checks, one sentence per rule, that the section still states full coverage of the requirement with no code beyond it, the smaller diff only at equal coverage, no checks for impossible states, and that unrelated work is separate scope that never excuses a gap.
  • test/ceo-workflow-clarity.test.ts checks that the plan-ceo-review Philosophy bullet still asks for the whole requirement over a 90% shortcut, no code beyond the accepted scope and the smaller diff at equal coverage, and that "COMPLETENESS IS CHEAP" and "~150 LOC" stay gone.
  • test/gen-skill-docs.test.ts checks that the house rule review/specialists/simplification.md quotes is still stated in ETHOS.md. test/gstack-skill-start.test.ts checks that the first-run intro says complete coverage, minimal code and never "do the complete thing".
  • test/fixtures/skill-md-size-allowlist.json: 89 pins lowered by 3 characters each. None raised; the plan-ceo-review rewording touches no pinned skill.

Gate integrity

  • No threshold, budget, timeout, trial count, case kind or assertion weakened. The section heading "Completeness Principle — Boil the Ocean" is unchanged.

[1.91.275.0] - 2026-10-27

Changed

  • Policy key versions are stamped, not hand-moved (lib/ship-policy.ts, .gstack/ship-policy.json): DOCS_CAPS_KEY_VERSION is 1.91.270.0, the release that shipped docs.caps (#3487 was written naming 1.91.258.0, which main stamped for another PR; a slot call never permits an edit beyond the four stamp files, so the constant could not move at the slot). gstack's own policy now lists lib/ship-policy.ts under stamp_paths with the _KEY_VERSION = '{version}' template in stamp_patterns: a new key's constant is written as a tentative future version clear of main's pace (the next minor) and gstack-restamp's stamp_paths stage moves it to the allocated version at the slot stamp, reading the base branch's policy, so the stage is live for the PRs after this one; the tree receipt's stamp-only check still accepts that move only when the tentative value equals the base version at the slot, so a PR that adds a key cannot clear the train until #3512 lands. test/gstack-ship-policy.test.ts adds the check the incident lacked: a released key's version must be a CHANGELOG heading whose entry names the key, so a tentative value no stamp moved fails (keys from before review_scope are exempt).

[1.91.274.0] - 2026-10-27

/design-html and /design-review now run the design lint, and its copy tier reports every content and ship-floor tell at its line (hallmark phase 2, GSTA-92; Garry 2026-10-26 "Do it", option a). The two design skills still called gstack-design-craft, which counted tells without positions and kept accepted exceptions in finalized.json. The lint already carried the same ids, so the skills now call it, the copy tier has its own patterns with line numbers, and a page answers a tell with a waiver comment beside it instead of a side record.

Changed

  • /design-html Step 4 runs gstack-design-lint <page> --render after the Slop Gate and reads its exit code: 2 fixes every blocks line, 1 fixes or waives each ask line, 0 lists polish as notes. A missing LINT_SUMMARY, a render line or render=skipped is said plainly and the static lines stand.
  • Waivers live in the page. A real customer named Nexus or a supplied 50% figure gets <!-- gstack-lint-disable <rule-id>: <reason about this page, 24+ chars> -->, written only for what the user supplied or confirmed. This supersedes #3422's persisted craft exceptions: --accepted and finalized.json's craft_exceptions are gone, and the hand-off lists every waiver.
  • Copy-tier tiers: placeholder-name, placeholder-brand, lorem, round-number and needs-proof move from blocks to ask, so the waiver above can answer them. /design-review still files a waived needs-proof or lorem, which a live page cannot carry.
  • /design-review's craft audit runs the lint on each saved page: blocks and ask lines are category 9 findings at their line, waived lines are listed with their reason, empty-mount-node sends the audit to the saved DOM. A saved live page has lost its linked CSS, so the audit files only its copy-tier (craft) lines there and judges the CSS rules by eye.
  • lib/design-lint/rules/copy.ts holds the copy tier's own patterns (moved from lib/design-craft.ts), reporting each tell at its line with what matched. It reads visible text, script bodies and inline handlers (single-quoted included) and the parsed tags, so a hydration payload, commented-out markup or a <title> string inside a script no longer counts.

Added

  • empty-mount-node (ask, page only): a body with no text, a <noscript> notice aside, that loads a script is a client-rendered shell; the lint says it read none of its content instead of passing it.

Removed

  • bin/gstack-design-craft, lib/design-craft.ts and test/design-craft.test.ts. Their checks are in the lint's copy tier and its tests; the archetype handoff tests moved to test/design-craft-resolvers.test.ts.

Tests

  • test/design-lint.test.ts: the copy tier at its lines with the catalog's fixes, the clean page with inlined Pretext, the skip link and aria-current, visible-text reading, the four checker limits #3433 documented, and the shell check (noscript, image-only page, component scope). test/design-lint-recorded.test.ts reads the recorded page's buzzwords at lines 32 and 37.
  • The design-html-slop-gate paid case looks for a gstack-design-lint call, and its touchfiles select on lib/design-lint/** and bin/gstack-design-lint.