git clone https://github.com/antlio/agentimization
cd agentimization
bun installbun run build # build all workspaces
bun run typecheck # type-check everything
bun run test # run vitest across the workspacesTo run the CLI from source without building first:
bun apps/cli/src/index.ts https://your-site.comThe repo uses Changesets to manage versions and changelogs.
When you make a user-visible change, add a changeset before opening a PR:
bunx changesetThe CLI walks you through:
- Which packages changed
- The bump type (patch / minor / major)
- A short summary that lands in the changelog
This writes a markdown file under .changeset/. Commit it with your code.
When the PR merges to main, GitHub Actions opens (or updates) a single "Version Packages" PR that consolidates all pending changesets. Merging that PR triggers:
- Version bumps across
@agentimization/coreandagentimization(linked together) CHANGELOG.mdupdates per package- Publish to npm
- Git tag for the new version
Follow the rules in CLAUDE.md. Highlights:
- TypeScript strict mode, no
any - Arrow functions over
functiondeclarations - Comments are short, lowercase, explain why not what
- No em-dashes or semicolons in inline comments
- Conventional commit subjects (
feat:,fix:,chore:,docs:,test:,ci:,build:)