Skip to content

/verify hides Claude Code's built-in verify skill, and the name alone triggers its run-before-every-commit line #4593

Closed

Description

@alvistar

What happened

gstack installs its build-and-check skill as ~/.claude/skills/verify (name: verify). Claude Code ships a built-in skill with the same name, and a user skill with a given name hides the bundled one. So with gstack installed, /verify is never Claude Code's built-in again, and nothing says so.

The built-in is a different tool. Its description in Claude Code 2.1.296:

"Verify that a code change actually does what it's supposed to by exercising it end-to-end and observing behavior — drive the affected flow, not just tests or typecheck. Run before committing nontrivial changes; bootstraps this repo's project verify skill if none exists yet. …"

A second effect comes from the same name. Since Claude Code 2.1.286 (2026-09-30, CHANGELOG: "when your project or user skills include one named verify, Claude is now told to run it right before committing"), the Bash tool description gets Always run /verify right before the commit command (never for docs or tests). In 2.1.296 the check matches on the name only (verify: e.some(n => n.name === "verify")), so gstack's skill gets that line on every commit.

#4508 made that pre-commit call cheap (the quick pass, plus verify_before_commit). It says the skill keeps its name "as asked", and it does not fix the hidden built-in:

Seen here: an agent committing code ran gstack's /verify because of the commit line. It got VERIFY skipped: the repo's check commands are not trusted yet, after it had already run the repo's own check command on the same tree. The user did not know /verify was gstack's, and did not know a built-in existed.

Steps to reproduce

  1. Install gstack on Claude Code ≥ 2.1.286 (here: gstack 1.102.0.0, Claude Code 2.1.296).
  2. Start a session. The skill list shows verify: … (gstack) and no built-in verify. The Bash tool description has Always run /verify right before the commit command.
  3. Make a code change and ask the agent to commit: it invokes gstack's /verify first.
  4. mv ~/.claude/skills/verify out of the way and start a new session: the commit line now points at the built-in verify, which is listed again.

Proposal

Install the skill under a name that does not collide with a Claude Code built-in, for example gstack-verify (only this one skill, not the whole --prefix mode), keeping verify as an opt-in alias for users who want gstack's loop on every commit. Setup could also warn when a gstack skill name shadows a Claude Code bundled skill (today: verify).

Local workaround in use: after each upgrade, remove the gstack-owned skills/verify and write skills/gstack-verify/SKILL.md as a copy with name: gstack-verify (the same rewrite _install_alias_skill_md does for aliases). It has to be re-run after every ./setup, which re-creates skills/verify.

Readiness report

Run after the local workaround above.

gstack doctor 1.102.0.0
ok              install root    ~/.claude/skills/gstack: claude global current (1.102.0.0)
ok              rescue refs     none in ~/.claude/skills/gstack
ok              state root      ~/.gstack durable=yes (selected by default)
warn            bun             1.3.11 at ~/.local/share/mise/shims/bun is below the tested 1.4.2
                                fix: bun upgrade (https://github.com/garrytan/gstack/blob/main/docs/troubleshooting.md#bun-too-old)
ok              hooks           19 hook(s) parse
not configured  codex           codex_reviews disabled; outside reviews in /review, /ship, /autoplan and /codex skip Codex
not configured  artifacts sync  off; cross-machine artifacts sync is unavailable
ok              browse bundle   browse/dist built
ok              binaries        find-browse, design, pdf, gstack-global-discover launch (4 of 4)
ok              cso             native helper 1.102.0.0 (a529769efd98)
ok              claude code     2.1.296 (Claude Code) at ~/.local/bin/claude
ok              session journal largest of 1: 3.4 MiB
ok              guard log       no guard decisions logged
ok              CLAUDE.md       no gstack section lists skills
11 ok, 1 warn, 2 not configured, 0 fail

Environment

  • Host and version: Claude Code 2.1.296 (the commit line is absent in 2.1.280, present in 2.1.296)
  • OS: macOS (Darwin 25.6.0, arm64)

Activity

  1. added
    enhancement
    S3
    on Nov 21, 2026
  2. capy-ai commented on Nov 21, 2026

    @capy-ai
    Contributor

    Thanks for tracing this through Claude Code's changelog and the Bash tool line.

    Keeping the skill's name verify was a deliberate choice in #4508, so renaming it is a product decision rather than a bug fix. I'm leaving this open as an enhancement so the trade-off (hiding the built-in versus keeping /verify working as people already use it) gets a proper look. Your local workaround is a reasonable stopgap until then.

  3. capy-ai commented on Nov 22, 2026

    @capy-ai
    Contributor

    Picking this up. It's in a bug-fix batch that a maintainer agent is working on now (our tracking thread GSTA-796). The agent will reproduce it on current main and settle the fix there. We'll comment here with a link when the change lands.

  4. capy-ai commented on Nov 22, 2026

    @capy-ai
    Contributor

    A correction to my earlier comment: this one isn't a bug fix in that batch. Whether to rename /verify, or change how it sits next to Claude Code's built-in verify, is a naming decision, and we're taking it to the maintainer. We'll comment here with the decision and what follows from it.

  5. capy-ai commented on Nov 22, 2026

    @capy-ai
    Contributor

    Decided: gstack's /verify skill is being renamed to /build-check so it no longer hides Claude Code's built-in /verify or triggers the run-before-every-commit instruction. Upgrading will remove gstack's own old verify / gstack-verify entries and leave a verify skill of your own alone; the verify_before_commit setting is retired. Work is in #4714. Thanks for the clear report and repro.

  6. capy-ai commented on Nov 22, 2026

    @capy-ai
    Contributor

    The fix is ready for review in #4714. Once it ships in a release:

    • /verify opens Claude Code's built-in verify skill again, and Claude Code stops running gstack's skill before each commit.
    • gstack's skill is now /build-check. Upgrading removes gstack's old verify entry but leaves alone any verify skill you wrote yourself.
    • If your gstack config has disabled_skills: verify, change it to build-check. A follow-up PR will map the old name automatically.

    This issue closes automatically when #4714 merges.

  7. capy-ai commented on Nov 22, 2026

    @capy-ai
    Contributor

    #4714 has merged. /verify opens Claude Code's built-in skill again once you upgrade gstack, and gstack's skill is now /build-check. If your gstack config has disabled_skills: verify, change it to build-check. A follow-up PR will map the old name automatically. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S3enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions