From a0147987a58bb5b64645311d1ea63faad00999b5 Mon Sep 17 00:00:00 2001 From: Jarren San Jose Date: Fri, 18 Sep 2026 15:44:39 -0700 Subject: [PATCH] chore: replace root CLAUDE.md with AGENTS.md Claude Code now reads AGENTS.md directly, so the root AGENTS.md symlink that pointed at CLAUDE.md was the wrong way round. Renames CLAUDE.md to AGENTS.md as a regular file and drops the symlink. Content unchanged. Also updates the changesets skill's list of exempt root docs to name AGENTS.md instead of CLAUDE.md. --- .claude/skills/changesets/SKILL.md | 2 +- .../skills/changesets/references/policy.md | 2 +- AGENTS.md | 64 ++++++++++++++++++- CLAUDE.md | 63 ------------------ 4 files changed, 65 insertions(+), 66 deletions(-) mode change 120000 => 100644 AGENTS.md delete mode 100644 CLAUDE.md diff --git a/.claude/skills/changesets/SKILL.md b/.claude/skills/changesets/SKILL.md index 53aee6ad3..cf4a79f2e 100644 --- a/.claude/skills/changesets/SKILL.md +++ b/.claude/skills/changesets/SKILL.md @@ -44,7 +44,7 @@ A path is **exempt** when it matches any of: - `docs/**` - `scripts/**` - `.claude/**` -- Root dotfiles or docs at repo root: `.gitignore`, `CLAUDE.md`, +- Root dotfiles or docs at repo root: `.gitignore`, `AGENTS.md`, `CONTRIBUTING.md`, `README.md` - Test-only files inside packages: `packages/**/*.test.ts`, `packages/**/__tests__/**` diff --git a/.claude/skills/changesets/references/policy.md b/.claude/skills/changesets/references/policy.md index 00a9e2c33..3ab248a60 100644 --- a/.claude/skills/changesets/references/policy.md +++ b/.claude/skills/changesets/references/policy.md @@ -16,7 +16,7 @@ tracked workspace package changed. - `docs/**` - `scripts/**` - `.claude/**` -- Root dotfiles and docs at repo root: `.gitignore`, `CLAUDE.md`, +- Root dotfiles and docs at repo root: `.gitignore`, `AGENTS.md`, `CONTRIBUTING.md`, `README.md` - Test-only changes matching `packages/**/*.test.ts` or `packages/**/__tests__/**` diff --git a/AGENTS.md b/AGENTS.md deleted file mode 120000 index 681311eb9..000000000 --- a/AGENTS.md +++ /dev/null @@ -1 +0,0 @@ -CLAUDE.md \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 000000000..5a38ae8ca --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,63 @@ +--- +description: Use Bun instead of Node.js, npm, pnpm, or vite. +globs: "*.ts, *.tsx, *.html, *.css, *.js, *.jsx, package.json" +alwaysApply: false +--- + +## Project Structure + +This is a Bun workspace monorepo: + +- `packages/cli-core/` — CLI source code, commands, and tests +- `packages/cli/` — npm wrapper package with platform binary shim (not run directly during development; do not add command logic here) +- `scripts/releaser/` — release publishing script that generates platform packages and publishes to npm + +See [docs/releasing.md](docs/releasing.md) for the full release flow, channels, and safeguards. +See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, pre-release install methods, and PR guidelines. + +## Bun + +Default to using Bun instead of Node.js. + +- Use `bun ` instead of `node ` or `ts-node ` +- Use `bun build ` instead of `webpack` or `esbuild` +- Use `bun install` instead of `npm install` or `yarn install` or `pnpm install` +- Use `bun run