Commit Graph

8 Commits

Author SHA1 Message Date
Garry Tan
e9fbb664f8 refactor: reorganize codebase — move browse CLI to browse/ directory
Restructure project layout: src/ → browse/src/, test/ → browse/test/. Add snapshot testing. Update docs, package.json, and skills integration. Add setup script and TODO tracking.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-11 19:28:50 -07:00
Garry Tan
16a2fb1abe docs: worktree + submodule support, project vs user-level paths
SKILL.md now checks project-level (.claude/skills/) first, then
user-level (~/.claude/skills/). Auto-detects uninitialized submodules
and runs git submodule update --init. README explains worktree behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 16:01:08 -07:00
Garry Tan
cbb82390c7 docs: built for Claude Code (works with any shell-capable agent)
Lead messaging with Claude Code. Add note that Codex, Cursor, etc.
can also use it since it's just a CLI binary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:58:23 -07:00
Garry Tan
effb88ab66 fix: version 0.1.0 (not 2.0.0)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:57:13 -07:00
Garry Tan
0b68c0a798 fix: remove Conductor dependency from SKILL.md
Use plain text ask + wait instead of mcp__conductor__AskUserQuestion.
Makes the skill portable — works with any Claude Code setup, no MCP needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:56:03 -07:00
Garry Tan
857436f40b feat: auto-setup on first use via AskUserQuestion
SKILL.md now instructs Claude to check if the binary exists before
any browse command. If missing, asks user permission to run setup
(bun install + build). One-time ~10s setup, then never again.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:55:32 -07:00
Garry Tan
510bc4782a chore: rename skill from browse to gstack-browse
Update all paths from ~/.claude/skills/browse/ to
~/.claude/skills/gstack-browse/ in SKILL.md and cli.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:25:09 -07:00
Garry Tan
ed758169c0 docs: Claude Code skill definition (SKILL.md)
Teaches Claude Code how to use the browse tool: command reference,
speed rules, decision table, multi-step workflow examples, and
architecture overview.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:23:45 -07:00