fix: shorten auto-trigger guard to stay under 1024-char description limit

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-22 22:54:36 -07:00
parent 53eefc9a20
commit c213be3943
29 changed files with 29 additions and 57 deletions

View File

@@ -2,8 +2,7 @@
name: gstack name: gstack
version: 1.1.0 version: 1.1.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /gstack in their message. MANUAL TRIGGER ONLY: invoke only when user types /gstack.
Do not auto-trigger this skill from semantic similarity alone.
Fast headless browser for QA testing and site dogfooding. Navigate pages, interact with Fast headless browser for QA testing and site dogfooding. Navigate pages, interact with
elements, verify state, diff before/after, take annotated screenshots, test responsive elements, verify state, diff before/after, take annotated screenshots, test responsive
layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or

View File

@@ -2,8 +2,7 @@
name: autoplan name: autoplan
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /autoplan in their message. MANUAL TRIGGER ONLY: invoke only when user types /autoplan.
Do not auto-trigger this skill from semantic similarity alone.
Auto-review pipeline — reads the full CEO, design, and eng review skills from disk Auto-review pipeline — reads the full CEO, design, and eng review skills from disk
and runs them sequentially with auto-decisions using 6 decision principles. Surfaces and runs them sequentially with auto-decisions using 6 decision principles. Surfaces
taste decisions (close approaches, borderline scope, codex disagreements) at a final taste decisions (close approaches, borderline scope, codex disagreements) at a final

View File

@@ -2,8 +2,7 @@
name: benchmark name: benchmark
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /benchmark in their message. MANUAL TRIGGER ONLY: invoke only when user types /benchmark.
Do not auto-trigger this skill from semantic similarity alone.
Performance regression detection using the browse daemon. Establishes Performance regression detection using the browse daemon. Establishes
baselines for page load times, Core Web Vitals, and resource sizes. baselines for page load times, Core Web Vitals, and resource sizes.
Compares before/after on every PR. Tracks performance trends over time. Compares before/after on every PR. Tracks performance trends over time.

View File

@@ -2,8 +2,7 @@
name: browse name: browse
version: 1.1.0 version: 1.1.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /browse in their message. MANUAL TRIGGER ONLY: invoke only when user types /browse.
Do not auto-trigger this skill from semantic similarity alone.
Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact with Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact with
elements, verify page state, diff before/after actions, take annotated screenshots, check elements, verify page state, diff before/after actions, take annotated screenshots, check
responsive layouts, test forms and uploads, handle dialogs, and assert element states. responsive layouts, test forms and uploads, handle dialogs, and assert element states.

View File

@@ -2,8 +2,7 @@
name: canary name: canary
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /canary in their message. MANUAL TRIGGER ONLY: invoke only when user types /canary.
Do not auto-trigger this skill from semantic similarity alone.
Post-deploy canary monitoring. Watches the live app for console errors, Post-deploy canary monitoring. Watches the live app for console errors,
performance regressions, and page failures using the browse daemon. Takes performance regressions, and page failures using the browse daemon. Takes
periodic screenshots, compares against pre-deploy baselines, and alerts periodic screenshots, compares against pre-deploy baselines, and alerts

View File

@@ -2,8 +2,7 @@
name: careful name: careful
version: 0.1.0 version: 0.1.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /careful in their message. MANUAL TRIGGER ONLY: invoke only when user types /careful.
Do not auto-trigger this skill from semantic similarity alone.
Safety guardrails for destructive commands. Warns before rm -rf, DROP TABLE, Safety guardrails for destructive commands. Warns before rm -rf, DROP TABLE,
force-push, git reset --hard, kubectl delete, and similar destructive operations. force-push, git reset --hard, kubectl delete, and similar destructive operations.
User can override each warning. Use when touching prod, debugging live systems, User can override each warning. Use when touching prod, debugging live systems,

View File

@@ -2,8 +2,7 @@
name: codex name: codex
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /codex in their message. MANUAL TRIGGER ONLY: invoke only when user types /codex.
Do not auto-trigger this skill from semantic similarity alone.
OpenAI Codex CLI wrapper — three modes. Code review: independent diff review via OpenAI Codex CLI wrapper — three modes. Code review: independent diff review via
codex review with pass/fail gate. Challenge: adversarial mode that tries to break codex review with pass/fail gate. Challenge: adversarial mode that tries to break
your code. Consult: ask codex anything with session continuity for follow-ups. your code. Consult: ask codex anything with session continuity for follow-ups.

View File

@@ -2,8 +2,7 @@
name: cso name: cso
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /cso in their message. MANUAL TRIGGER ONLY: invoke only when user types /cso.
Do not auto-trigger this skill from semantic similarity alone.
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling,
attack surface analysis, auth flow verification, secret detection, dependency CVE attack surface analysis, auth flow verification, secret detection, dependency CVE
scanning, supply chain risk assessment, and data classification review. scanning, supply chain risk assessment, and data classification review.

View File

@@ -2,8 +2,7 @@
name: design-consultation name: design-consultation
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /design-consultation in their message. MANUAL TRIGGER ONLY: invoke only when user types /design-consultation.
Do not auto-trigger this skill from semantic similarity alone.
Design consultation: understands your product, researches the landscape, proposes a Design consultation: understands your product, researches the landscape, proposes a
complete design system (aesthetic, typography, color, layout, spacing, motion), and complete design system (aesthetic, typography, color, layout, spacing, motion), and
generates font+color preview pages. Creates DESIGN.md as your project's design source generates font+color preview pages. Creates DESIGN.md as your project's design source

View File

@@ -2,8 +2,7 @@
name: design-review name: design-review
version: 2.0.0 version: 2.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /design-review in their message. MANUAL TRIGGER ONLY: invoke only when user types /design-review.
Do not auto-trigger this skill from semantic similarity alone.
Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems, Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems,
AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issues AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issues
in source code, committing each fix atomically and re-verifying with before/after in source code, committing each fix atomically and re-verifying with before/after

View File

@@ -2,8 +2,7 @@
name: document-release name: document-release
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /document-release in their message. MANUAL TRIGGER ONLY: invoke only when user types /document-release.
Do not auto-trigger this skill from semantic similarity alone.
Post-ship documentation update. Reads all project docs, cross-references the Post-ship documentation update. Reads all project docs, cross-references the
diff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped, diff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped,
polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when

View File

@@ -2,8 +2,7 @@
name: freeze name: freeze
version: 0.1.0 version: 0.1.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /freeze in their message. MANUAL TRIGGER ONLY: invoke only when user types /freeze.
Do not auto-trigger this skill from semantic similarity alone.
Restrict file edits to a specific directory for the session. Blocks Edit and Restrict file edits to a specific directory for the session. Blocks Edit and
Write outside the allowed path. Use when debugging to prevent accidentally Write outside the allowed path. Use when debugging to prevent accidentally
"fixing" unrelated code, or when you want to scope changes to one module. "fixing" unrelated code, or when you want to scope changes to one module.

View File

@@ -2,8 +2,7 @@
name: gstack-upgrade name: gstack-upgrade
version: 1.1.0 version: 1.1.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /gstack-upgrade in their message. MANUAL TRIGGER ONLY: invoke only when user types /gstack-upgrade.
Do not auto-trigger this skill from semantic similarity alone.
Upgrade gstack to the latest version. Detects global vs vendored install, Upgrade gstack to the latest version. Detects global vs vendored install,
runs the upgrade, and shows what's new. Use when asked to "upgrade gstack", runs the upgrade, and shows what's new. Use when asked to "upgrade gstack",
"update gstack", or "get latest version". "update gstack", or "get latest version".

View File

@@ -2,8 +2,7 @@
name: guard name: guard
version: 0.1.0 version: 0.1.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /guard in their message. MANUAL TRIGGER ONLY: invoke only when user types /guard.
Do not auto-trigger this skill from semantic similarity alone.
Full safety mode: destructive command warnings + directory-scoped edits. Full safety mode: destructive command warnings + directory-scoped edits.
Combines /careful (warns before rm -rf, DROP TABLE, force-push, etc.) with Combines /careful (warns before rm -rf, DROP TABLE, force-push, etc.) with
/freeze (blocks edits outside a specified directory). Use for maximum safety /freeze (blocks edits outside a specified directory). Use for maximum safety

View File

@@ -2,8 +2,7 @@
name: investigate name: investigate
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /investigate in their message. MANUAL TRIGGER ONLY: invoke only when user types /investigate.
Do not auto-trigger this skill from semantic similarity alone.
Systematic debugging with root cause investigation. Four phases: investigate, Systematic debugging with root cause investigation. Four phases: investigate,
analyze, hypothesize, implement. Iron Law: no fixes without root cause. analyze, hypothesize, implement. Iron Law: no fixes without root cause.
Use when asked to "debug this", "fix this bug", "why is this broken", Use when asked to "debug this", "fix this bug", "why is this broken",

View File

@@ -2,8 +2,7 @@
name: land-and-deploy name: land-and-deploy
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /land-and-deploy in their message. MANUAL TRIGGER ONLY: invoke only when user types /land-and-deploy.
Do not auto-trigger this skill from semantic similarity alone.
Land and deploy workflow. Merges the PR, waits for CI and deploy, Land and deploy workflow. Merges the PR, waits for CI and deploy,
verifies production health via canary checks. Takes over after /ship verifies production health via canary checks. Takes over after /ship
creates the PR. Use when: "merge", "land", "deploy", "merge and verify", creates the PR. Use when: "merge", "land", "deploy", "merge and verify",

View File

@@ -2,8 +2,7 @@
name: office-hours name: office-hours
version: 2.0.0 version: 2.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /office-hours in their message. MANUAL TRIGGER ONLY: invoke only when user types /office-hours.
Do not auto-trigger this skill from semantic similarity alone.
YC Office Hours — two modes. Startup mode: six forcing questions that expose YC Office Hours — two modes. Startup mode: six forcing questions that expose
demand reality, status quo, desperate specificity, narrowest wedge, observation, demand reality, status quo, desperate specificity, narrowest wedge, observation,
and future-fit. Builder mode: design thinking brainstorming for side projects, and future-fit. Builder mode: design thinking brainstorming for side projects,

View File

@@ -2,8 +2,7 @@
name: plan-ceo-review name: plan-ceo-review
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /plan-ceo-review in their message. MANUAL TRIGGER ONLY: invoke only when user types /plan-ceo-review.
Do not auto-trigger this skill from semantic similarity alone.
CEO/founder-mode plan review. Rethink the problem, find the 10-star product, CEO/founder-mode plan review. Rethink the problem, find the 10-star product,
challenge premises, expand scope when it creates a better product. Four modes: challenge premises, expand scope when it creates a better product. Four modes:
SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pick SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pick

View File

@@ -2,8 +2,7 @@
name: plan-design-review name: plan-design-review
version: 2.0.0 version: 2.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /plan-design-review in their message. MANUAL TRIGGER ONLY: invoke only when user types /plan-design-review.
Do not auto-trigger this skill from semantic similarity alone.
Designer's eye plan review — interactive, like CEO and Eng review. Designer's eye plan review — interactive, like CEO and Eng review.
Rates each design dimension 0-10, explains what would make it a 10, 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 then fixes the plan to get there. Works in plan mode. For live site

View File

@@ -2,8 +2,7 @@
name: plan-eng-review name: plan-eng-review
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /plan-eng-review in their message. MANUAL TRIGGER ONLY: invoke only when user types /plan-eng-review.
Do not auto-trigger this skill from semantic similarity alone.
Eng manager-mode plan review. Lock in the execution plan — architecture, Eng manager-mode plan review. Lock in the execution plan — architecture,
data flow, diagrams, edge cases, test coverage, performance. Walks through data flow, diagrams, edge cases, test coverage, performance. Walks through
issues interactively with opinionated recommendations. Use when asked to issues interactively with opinionated recommendations. Use when asked to

View File

@@ -2,8 +2,7 @@
name: qa-only name: qa-only
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /qa-only in their message. MANUAL TRIGGER ONLY: invoke only when user types /qa-only.
Do not auto-trigger this skill from semantic similarity alone.
Report-only QA testing. Systematically tests a web application and produces a Report-only QA testing. Systematically tests a web application and produces a
structured report with health score, screenshots, and repro steps — but never structured report with health score, screenshots, and repro steps — but never
fixes anything. Use when asked to "just report bugs", "qa report only", or fixes anything. Use when asked to "just report bugs", "qa report only", or

View File

@@ -2,8 +2,7 @@
name: qa name: qa
version: 2.0.0 version: 2.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /qa in their message. MANUAL TRIGGER ONLY: invoke only when user types /qa.
Do not auto-trigger this skill from semantic similarity alone.
Systematically QA test a web application and fix bugs found. Runs QA testing, Systematically QA test a web application and fix bugs found. Runs QA testing,
then iteratively fixes bugs in source code, committing each fix atomically and then iteratively fixes bugs in source code, committing each fix atomically and
re-verifying. Use when asked to "qa", "QA", "test this site", "find bugs", re-verifying. Use when asked to "qa", "QA", "test this site", "find bugs",

View File

@@ -2,8 +2,7 @@
name: retro name: retro
version: 2.0.0 version: 2.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /retro in their message. MANUAL TRIGGER ONLY: invoke only when user types /retro.
Do not auto-trigger this skill from semantic similarity alone.
Weekly engineering retrospective. Analyzes commit history, work patterns, Weekly engineering retrospective. Analyzes commit history, work patterns,
and code quality metrics with persistent history and trend tracking. and code quality metrics with persistent history and trend tracking.
Team-aware: breaks down per-person contributions with praise and growth areas. Team-aware: breaks down per-person contributions with praise and growth areas.

View File

@@ -2,8 +2,7 @@
name: review name: review
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /review in their message. MANUAL TRIGGER ONLY: invoke only when user types /review.
Do not auto-trigger this skill from semantic similarity alone.
Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust
boundary violations, conditional side effects, and other structural issues. Use when 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". asked to "review this PR", "code review", "pre-landing review", or "check my diff".

View File

@@ -2972,7 +2972,7 @@ function processTemplate(tmplPath: string, host: Host = 'claude'): { outputPath:
// Adds explicit trigger criteria so Claude Code doesn't auto-fire skills // Adds explicit trigger criteria so Claude Code doesn't auto-fire skills
// based on semantic similarity. Preserves existing "Use when" and // based on semantic similarity. Preserves existing "Use when" and
// "Proactively suggest" text (both are tested in skill-validation.test.ts). // "Proactively suggest" text (both are tested in skill-validation.test.ts).
const triggerGuard = ` MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /${skillName} in their message.\n Do not auto-trigger this skill from semantic similarity alone.\n`; const triggerGuard = ` MANUAL TRIGGER ONLY: invoke only when user types /${skillName}.\n`;
const descMatch = content.match(/^(description:\s*\|?\s*\n)/m); const descMatch = content.match(/^(description:\s*\|?\s*\n)/m);
if (descMatch && descMatch.index !== undefined) { if (descMatch && descMatch.index !== undefined) {
const insertAt = descMatch.index + descMatch[0].length; const insertAt = descMatch.index + descMatch[0].length;

View File

@@ -2,8 +2,7 @@
name: setup-browser-cookies name: setup-browser-cookies
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /setup-browser-cookies in their message. MANUAL TRIGGER ONLY: invoke only when user types /setup-browser-cookies.
Do not auto-trigger this skill from semantic similarity alone.
Import cookies from your real Chromium browser into the headless browse session. Import cookies from your real Chromium browser into the headless browse session.
Opens an interactive picker UI where you select which cookie domains to import. Opens an interactive picker UI where you select which cookie domains to import.
Use before QA testing authenticated pages. Use when asked to "import cookies", Use before QA testing authenticated pages. Use when asked to "import cookies",

View File

@@ -2,8 +2,7 @@
name: setup-deploy name: setup-deploy
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /setup-deploy in their message. MANUAL TRIGGER ONLY: invoke only when user types /setup-deploy.
Do not auto-trigger this skill from semantic similarity alone.
Configure deployment settings for /land-and-deploy. Detects your deploy Configure deployment settings for /land-and-deploy. Detects your deploy
platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom),
production URL, health check endpoints, and deploy status commands. Writes production URL, health check endpoints, and deploy status commands. Writes

View File

@@ -2,8 +2,7 @@
name: ship name: ship
version: 1.0.0 version: 1.0.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /ship in their message. MANUAL TRIGGER ONLY: invoke only when user types /ship.
Do not auto-trigger this skill from semantic similarity alone.
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". 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".
Proactively suggest when the user says code is ready or asks about deploying. Proactively suggest when the user says code is ready or asks about deploying.
allowed-tools: allowed-tools:

View File

@@ -2,8 +2,7 @@
name: unfreeze name: unfreeze
version: 0.1.0 version: 0.1.0
description: | description: |
MANUAL TRIGGER ONLY: only run this skill when the user explicitly types /unfreeze in their message. MANUAL TRIGGER ONLY: invoke only when user types /unfreeze.
Do not auto-trigger this skill from semantic similarity alone.
Clear the freeze boundary set by /freeze, allowing edits to all directories Clear the freeze boundary set by /freeze, allowing edits to all directories
again. Use when you want to widen edit scope without ending the session. again. Use when you want to widen edit scope without ending the session.
Use when asked to "unfreeze", "unlock edits", "remove freeze", or Use when asked to "unfreeze", "unlock edits", "remove freeze", or