A disabled_skills verify entry keeps /build-check off, and gstack stops claiming verify prompts (#4593) (#4719)

A `disabled_skills: verify` entry now turns off `/build-check`, and
gstack's router and skill description no longer claim prompts that say
"verify my change".

Why: this finishes the #4593 rename, so Claude Code's built-in `/verify`
gets those prompts and an old opt-out keeps working.

What you do: nothing.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-22 20:40:54 +00:00
1 parent 9d758432eb
commit c2da82e49c
17 files changed
+117 -27

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ import * as fs from 'node:fs';
import * as os from 'node:os';
import * as path from 'node:path';
import { spawnSync } from 'node:child_process';
import { unregisteredSkills } from '../scripts/discover-skills';
import { RENAMED_SKILLS, unregisteredSkills } from '../scripts/discover-skills';
import { bunIsolationArgs } from './bun-isolation';
import { runBashSync } from './script-invocation';
import { readConfigKey } from './state-root';
@@ -236,7 +236,7 @@ function skillDirs(root: string, triggersByName = new Map<string, string[]>()):
/** The skills a target's payload carries: the host render (made for this checkout as the install root) or the checkout's committed Claude render. */
export function sourceSkills(target: Target, checkout: string, scratch: string, env: Env = process.env): SkillEntry[] {
const disabled = (readConfigKey('disabled_skills', env) ?? '').replace(/["']/g, '').split(/[\s,]+/)
.map(n => n.replace(/^\//, '')).filter(n => n && n !== 'gstack' && n !== 'gstack-upgrade').map(n => n.replace(/^gstack-/, ''));
.map(n => n.replace(/^\//, '')).filter(n => n && n !== 'gstack' && n !== 'gstack-upgrade').map(n => n.replace(/^gstack-/, '')).map(n => RENAMED_SKILLS[n] ?? n);
const off = [...unregisteredSkills(), ...disabled];
const registered = (s: SkillEntry) => !off.includes(s.name.replace(/^gstack-/, ''));
if (target.render === 'claude') return skillDirs(checkout).filter(s => s.name !== 'gstack' && registered(s));