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
feat: add trigger phrases to skill descriptions for better model matching (v0.6.4.1) (#169)
Garry Tanbc86a665b75f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 49d9183df..f71c9870e 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,11 @@# Changelog+## [0.6.4.1] - 2026-03-18++### Added++- **Skills now discoverable via natural language.** All 12 skills that were missing explicit trigger phrases now have them — say "deploy this" and Claude finds `/ship`, say "check my diff" and it finds `/review`. Following Anthropic's best practice: "the description field is not a summary — it's when to trigger."+## [0.6.4.0] - 2026-03-17### Addeddiff --git a/CLAUDE.md b/CLAUDE.mdindex 0979c95ef..44247ce52 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -141,6 +141,8 @@ CHANGELOG.md is **for users**, not contributors. Write it like product release n- Lead with what the user can now **do** that they couldn't before. Sell the feature.- Use plain language, not implementation details. "You can now..." not "Refactored the..."+- **Never mention TODOS.md, internal tracking, eval infrastructure, or contributor-facing+ details.** These are invisible to users and meaningless to them.- Put contributor/internal changes in a separate "For contributors" section at the bottom.- Every entry should make someone think "oh nice, I want to try that."- No jargon: say "every question now tells you which project and branch you're in" notdiff --git a/TODOS.md b/TODOS.mdindex 5f771de76..4c8433aec 100644--- a/TODOS.md+++ b/TODOS.md@@ -482,6 +482,37 @@ Shipped as `/design-consultation` on garrytan/design branch. Renamed from `/setu**Priority:** P3**Depends on:** Boil the Lake shipped (v0.6.1)+## Safety & Observability++### On-demand hook skills (/careful, /freeze, /guard)++**What:** Three new skills that use Claude Code's session-scoped PreToolUse hooks to add safety guardrails on demand.++**Why:** Anthropic's internal skill best practices recommend on-demand hooks for safety. Claude Code already handles destructive command permissions, but these add an explicit opt-in layer for high-risk sessions (touching prod, debugging live systems).++**Skills:**+- `/careful` — PreToolUse hook on Bash tool. Warns (not blocks) before destructive commands: `rm -rf`, `DROP TABLE`, `git push --force`, `git reset --hard`, `kubectl delete`, `docker system prune`. Uses `permissionDecision: "ask"` so user can override.+- `/freeze` — PreToolUse hook on Edit/Write tools. Restricts file edits to a user-specified directory. Great for debugging without accidentally "fixing" unrelated code.+- `/guard` — meta-skill composing `/careful` + `/freeze` into one command.++**Implementation notes:** Use `${CLAUDE_SKILL_DIR}` (not `${SKILL_DIR}`) for script paths in hook commands. Pure bash JSON parsing (no jq dependency). Freeze dir storage: `${CLAUDE_PLUGIN_DATA}/freeze-dir.txt` with `~/.gstack/freeze-dir.txt` fallback. Ensure trailing `/` on freeze dir paths to prevent `/src` matching `/src-old`.++**Effort:** M (human) / S (CC)+**Priority:** P3+**Depends on:** None++### Skill usage telemetry++**What:** Track which skills get invoked, how often, from which repo.++**Why:** Enables finding undertriggering skills and measuring adoption. Anthropic uses a PreToolUse hook for this; simpler approach is appending JSONL from the preamble.++**Context:** Add to `generatePreamble()` in `scripts/gen-skill-docs.ts`. Append to `~/.gstack/analytics/skill-usage.jsonl` with skill name, timestamp, and repo name. `mkdir -p` ensures the directory exists.++**Effort:** S (human) / S (CC)+**Priority:** P3+**Depends on:** None+## Completed### Phase 1: Foundations (v0.2.0)diff --git a/VERSION b/VERSIONindex 31d34d203..f43621550 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-0.6.4.0+0.6.4.1diff --git a/browse/SKILL.md b/browse/SKILL.mdindex 50198d5fa..7d13f0a71 100644--- a/browse/SKILL.md+++ b/browse/SKILL.md@@ -6,7 +6,8 @@ description: |elements, verify page state, diff before/after actions, take annotated screenshots, checkresponsive layouts, test forms and uploads, handle dialogs, and assert element states.~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a- user flow, or file a bug with evidence.+ user flow, or file a bug with evidence. Use when asked to "open in browser", "test the+ site", "take a screenshot", or "dogfood this".allowed-tools:- Bash- Readdiff --git a/browse/SKILL.md.tmpl b/browse/SKILL.md.tmplindex 0c42ffcb4..7030eac2b 100644--- a/browse/SKILL.md.tmpl+++ b/browse/SKILL.md.tmpl@@ -6,7 +6,8 @@ description: |elements, verify page state, diff before/after actions, take annotated screenshots, checkresponsive layouts, test forms and uploads, handle dialogs, and assert element states.~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a- user flow, or file a bug with evidence.+ user flow, or file a bug with evidence. Use when asked to "open in browser", "test the+ site", "take a screenshot", or "dogfood this".allowed-tools:- Bash- Readdiff --git a/design-consultation/SKILL.md b/design-consultation/SKILL.mdindex 8fd9cb4b2..277c762a1 100644--- a/design-consultation/SKILL.md+++ b/design-consultation/SKILL.md@@ -6,6 +6,7 @@ description: |complete design system (aesthetic, typography, color, layout, spacing, motion), andgenerates font+color preview pages. Creates DESIGN.md as your project's design sourceof truth. For existing sites, use /plan-design-review to infer the system instead.+ Use when asked to "design system", "brand guidelines", or "create DESIGN.md".allowed-tools:- Bash- Readdiff --git a/design-consultation/SKILL.md.tmpl b/design-consultation/SKILL.md.tmplindex 141a91901..ecb500788 100644--- a/design-consultation/SKILL.md.tmpl+++ b/design-consultation/SKILL.md.tmpl@@ -6,6 +6,7 @@ description: |complete design system (aesthetic, typography, color, layout, spacing, motion), andgenerates font+color preview pages. Creates DESIGN.md as your project's design sourceof truth. For existing sites, use /plan-design-review to infer the system instead.+ Use when asked to "design system", "brand guidelines", or "create DESIGN.md".allowed-tools:- Bash- Readdiff --git a/design-review/SKILL.md b/design-review/SKILL.mdindex b06e0827e..3726098b7 100644--- a/design-review/SKILL.md+++ b/design-review/SKILL.md@@ -6,6 +6,7 @@ description: |AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issuesin source code, committing each fix atomically and re-verifying with before/afterscreenshots. For plan-mode design review (before implementation), use /plan-design-review.+ Use when asked to "audit the design", "visual QA", "check if it looks good", or "design polish".allowed-tools:- Bash- Readdiff --git a/design-review/SKILL.md.tmpl b/design-review/SKILL.md.tmplindex eb8dd6b81..f60a9c412 100644--- a/design-review/SKILL.md.tmpl+++ b/design-review/SKILL.md.tmpl@@ -6,6 +6,7 @@ description: |AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issuesin source code, committing each fix atomically and re-verifying with before/afterscreenshots. For plan-mode design review (before implementation), use /plan-design-review.+ Use when asked to "audit the design", "visual QA", "check if it looks good", or "design polish".allowed-tools:- Bash- Readdiff --git a/document-release/SKILL.md b/document-release/SKILL.mdindex bc8ff4ca3..dacf3d135 100644--- a/document-release/SKILL.md+++ b/document-release/SKILL.md@@ -4,7 +4,8 @@ version: 1.0.0description: |Post-ship documentation update. Reads all project docs, cross-references thediff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped,- polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION.+ polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when+ asked to "update the docs", "sync documentation", or "post-ship docs".allowed-tools:- Bash- Readdiff --git a/document-release/SKILL.md.tmpl b/document-release/SKILL.md.tmplindex e38c243ce..2cd8d1172 100644--- a/document-release/SKILL.md.tmpl+++ b/document-release/SKILL.md.tmpl@@ -4,7 +4,8 @@ version: 1.0.0description: |Post-ship documentation update. Reads all project docs, cross-references thediff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped,- polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION.+ polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when+ asked to "update the docs", "sync documentation", or "post-ship docs".allowed-tools:- Bash- Readdiff --git a/gstack-upgrade/SKILL.md b/gstack-upgrade/SKILL.mdindex 50b67dfcc..6dcc1f7c2 100644--- a/gstack-upgrade/SKILL.md+++ b/gstack-upgrade/SKILL.md@@ -3,7 +3,8 @@ name: gstack-upgradeversion: 1.1.0description: |Upgrade gstack to the latest version. Detects global vs vendored install,- runs the upgrade, and shows what's new.+ runs the upgrade, and shows what's new. Use when asked to "upgrade gstack",+ "update gstack", or "get latest version".allowed-tools:- Bash- Readdiff --git a/gstack-upgrade/SKILL.md.tmpl b/gstack-upgrade/SKILL.md.tmplindex 0acf16c20..1d49cd1b6 100644--- a/gstack-upgrade/SKILL.md.tmpl+++ b/gstack-upgrade/SKILL.md.tmpl@@ -3,7 +3,8 @@ name: gstack-upgradeversion: 1.1.0description: |Upgrade gstack to the latest version. Detects global vs vendored install,- runs the upgrade, and shows what's new.+ runs the upgrade, and shows what's new. Use when asked to "upgrade gstack",+ "update gstack", or "get latest version".allowed-tools:- Bash- Readdiff --git a/plan-ceo-review/SKILL.md b/plan-ceo-review/SKILL.mdindex ce799fe17..f40a01315 100644--- a/plan-ceo-review/SKILL.md+++ b/plan-ceo-review/SKILL.md@@ -6,6 +6,8 @@ description: |challenge premises, expand scope when it creates a better product. Four modes:SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pickexpansions), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials).+ Use when asked to "think bigger", "expand scope", "strategy review", "rethink this",+ or "is this ambitious enough".allowed-tools:- Read- Grepdiff --git a/plan-ceo-review/SKILL.md.tmpl b/plan-ceo-review/SKILL.md.tmplindex 1a8b06586..273b4a863 100644--- a/plan-ceo-review/SKILL.md.tmpl+++ b/plan-ceo-review/SKILL.md.tmpl@@ -6,6 +6,8 @@ description: |challenge premises, expand scope when it creates a better product. Four modes:SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pickexpansions), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials).+ Use when asked to "think bigger", "expand scope", "strategy review", "rethink this",+ or "is this ambitious enough".allowed-tools:- Read- Grepdiff --git a/plan-design-review/SKILL.md b/plan-design-review/SKILL.mdindex 507952c42..e8d49df31 100644--- a/plan-design-review/SKILL.md+++ b/plan-design-review/SKILL.md@@ -5,7 +5,8 @@ description: |Designer's eye plan review — interactive, like CEO and Eng review.Rates each design dimension 0-10, explains what would make it a 10,then fixes the plan to get there. Works in plan mode. For live site- visual audits, use /design-review.+ visual audits, use /design-review. Use when asked to "review the design plan"+ or "design critique".allowed-tools:- Read- Editdiff --git a/plan-design-review/SKILL.md.tmpl b/plan-design-review/SKILL.md.tmplindex f8f5221a2..e8f9c418a 100644--- a/plan-design-review/SKILL.md.tmpl+++ b/plan-design-review/SKILL.md.tmpl@@ -5,7 +5,8 @@ description: |Designer's eye plan review — interactive, like CEO and Eng review.Rates each design dimension 0-10, explains what would make it a 10,then fixes the plan to get there. Works in plan mode. For live site- visual audits, use /design-review.+ visual audits, use /design-review. Use when asked to "review the design plan"+ or "design critique".allowed-tools:- Read- Editdiff --git a/plan-eng-review/SKILL.md b/plan-eng-review/SKILL.mdindex 48fe72305..b780ad690 100644--- a/plan-eng-review/SKILL.md+++ b/plan-eng-review/SKILL.md@@ -4,7 +4,8 @@ version: 1.0.0description: |Eng manager-mode plan review. Lock in the execution plan — architecture,data flow, diagrams, edge cases, test coverage, performance. Walks through- issues interactively with opinionated recommendations.+ issues interactively with opinionated recommendations. Use when asked to+ "review the architecture", "engineering review", or "lock in the plan".allowed-tools:- Read- Writediff --git a/plan-eng-review/SKILL.md.tmpl b/plan-eng-review/SKILL.md.tmplindex 91f247190..2b232a807 100644--- a/plan-eng-review/SKILL.md.tmpl+++ b/plan-eng-review/SKILL.md.tmpl@@ -4,7 +4,8 @@ version: 1.0.0description: |Eng manager-mode plan review. Lock in the execution plan — architecture,data flow, diagrams, edge cases, test coverage, performance. Walks through- issues interactively with opinionated recommendations.+ issues interactively with opinionated recommendations. Use when asked to+ "review the architecture", "engineering review", or "lock in the plan".allowed-tools:- Read- Writediff --git a/retro/SKILL.md b/retro/SKILL.mdindex 71eab988f..c849dd8bc 100644--- a/retro/SKILL.md+++ b/retro/SKILL.md@@ -5,6 +5,7 @@ description: |Weekly engineering retrospective. Analyzes commit history, work patterns,and code quality metrics with persistent history and trend tracking.Team-aware: breaks down per-person contributions with praise and growth areas.+ Use when asked to "weekly retro", "what did we ship", or "engineering retrospective".allowed-tools:- Bash- Readdiff --git a/retro/SKILL.md.tmpl b/retro/SKILL.md.tmplindex bfbc2003b..92d5c40bf 100644--- a/retro/SKILL.md.tmpl+++ b/retro/SKILL.md.tmpl@@ -5,6 +5,7 @@ description: |Weekly engineering retrospective. Analyzes commit history, work patterns,and code quality metrics with persistent history and trend tracking.Team-aware: breaks down per-person contributions with praise and growth areas.+ Use when asked to "weekly retro", "what did we ship", or "engineering retrospective".allowed-tools:- Bash- Readdiff --git a/review/SKILL.md b/review/SKILL.mdindex 3a14a9d3a..bfd29a7fd 100644--- a/review/SKILL.md+++ b/review/SKILL.md@@ -3,7 +3,8 @@ name: reviewversion: 1.0.0description: |Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust- boundary violations, conditional side effects, and other structural issues.+ boundary violations, conditional side effects, and other structural issues. Use when+ asked to "review this PR", "code review", "pre-landing review", or "check my diff".allowed-tools:- Bash- Readdiff --git a/review/SKILL.md.tmpl b/review/SKILL.md.tmplindex c1d3fae64..325a522ed 100644--- a/review/SKILL.md.tmpl+++ b/review/SKILL.md.tmpl@@ -3,7 +3,8 @@ name: reviewversion: 1.0.0description: |Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust- boundary violations, conditional side effects, and other structural issues.+ boundary violations, conditional side effects, and other structural issues. Use when+ asked to "review this PR", "code review", "pre-landing review", or "check my diff".allowed-tools:- Bash- Readdiff --git a/setup-browser-cookies/SKILL.md b/setup-browser-cookies/SKILL.mdindex da64dec4f..cf37fc82c 100644--- a/setup-browser-cookies/SKILL.md+++ b/setup-browser-cookies/SKILL.md@@ -4,7 +4,8 @@ version: 1.0.0description: |Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into theheadless browse session. Opens an interactive picker UI where you select which- cookie domains to import. Use before QA testing authenticated pages.+ cookie domains to import. Use before QA testing authenticated pages. Use when asked+ to "import cookies", "login to the site", or "authenticate the browser".allowed-tools:- Bash- Readdiff --git a/setup-browser-cookies/SKILL.md.tmpl b/setup-browser-cookies/SKILL.md.tmplindex dcab37450..4496d11c5 100644--- a/setup-browser-cookies/SKILL.md.tmpl+++ b/setup-browser-cookies/SKILL.md.tmpl@@ -4,7 +4,8 @@ version: 1.0.0description: |Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into theheadless browse session. Opens an interactive picker UI where you select which- cookie domains to import. Use before QA testing authenticated pages.+ cookie domains to import. Use before QA testing authenticated pages. Use when asked+ to "import cookies", "login to the site", or "authenticate the browser".allowed-tools:- Bash- Readdiff --git a/ship/SKILL.md b/ship/SKILL.mdindex 875845dcd..c59455d06 100644--- a/ship/SKILL.md+++ b/ship/SKILL.md@@ -2,7 +2,7 @@name: shipversion: 1.0.0description: |- Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR.+ Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR. Use when asked to "ship", "deploy", "push to main", "create a PR", or "merge and push".allowed-tools:- Bash- Readdiff --git a/ship/SKILL.md.tmpl b/ship/SKILL.md.tmplindex bb077daca..245660b67 100644--- a/ship/SKILL.md.tmpl+++ b/ship/SKILL.md.tmpl@@ -2,7 +2,7 @@name: shipversion: 1.0.0description: |- Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR.+ Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR. Use when asked to "ship", "deploy", "push to main", "create a PR", or "merge and push".allowed-tools:- Bash- Read