Skip to content

fix(setup): register root gstack slash alias#1577

Open
jbetala7 wants to merge 1 commit into
garrytan:mainfrom
jbetala7:oss/fix-1543-gstack-root-alias
Open

fix(setup): register root gstack slash alias#1577
jbetala7 wants to merge 1 commit into
garrytan:mainfrom
jbetala7:oss/fix-1543-gstack-root-alias

Conversation

@jbetala7
Copy link
Copy Markdown
Contributor

Fixes #1543.

Summary

  • add a thin _gstack-command Claude wrapper that points at the root SKILL.md, preserving name: gstack for slash-command discovery while leaving ~/.claude/skills/gstack as the runtime repo path
  • keep the alias stable when gstack-relink runs after setup or after skill_prefix changes
  • add regression coverage for setup wiring and relink behavior

Validation

  • bun test test/relink.test.ts
  • bun test test/setup-windows-fallback.test.ts
  • bun test test/gen-skill-docs.test.ts -t "setup script validation"
  • bun test test/gen-skill-docs.test.ts currently still fails in unrelated generated-host freshness checks: missing/stale Codex and external host artifacts such as .agents/skills/gstack-document-generate/SKILL.md, plus stale Kiro/OpenCode/Slate/Cursor/OpenClaw/Hermes/GBrain dry-run outputs. The new setup validation test in that suite passes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/gstack slash command doesn't autocomplete in Claude Code (directory-vs-wrapper collision)

1 participant