guide for ai coding agents working in this repository.
agentimization is a geo (generative engine optimization) audit cli. it samples pages of a site, runs 36 checks across 8 categories, and prints a 0 to 100 score with paste-ready fixes.
packages/shared— types and schemas used by corepackages/core— audit engine, all 36 checks, both remote and local modeapps/cli— ink-based interactive cli, the publishedagentimizationbinaryapps/landing— astro static site, deployed to agentimization.comskills/agentimization— claude code skill spec
bun install
bun run build # build all workspaces with their respective bundlers
bun run test # vitest across packages and apps
bun run typecheck # tsc --noEmit across workspacesbun apps/cli/src/index.ts https://your-site.com # run from source
node apps/cli/dist/index.js . # run the bundled cli- typescript strict, no
any. useunknownand narrow. - arrow functions over
functiondeclarations. - comments are short, lowercase, explain why not what. no em-dashes or semicolons in comments.
- conventional commit subjects (
feat:,fix:,chore:,docs:,test:,ci:,build:). - one-line commit messages, no co-authored-by trailer, no long description.
- color tokens authored in oklch. converted to hex at the ink boundary via
toInkColor().
uses changesets:
- add a changeset with
bunx changesetdescribing the change - commit the changeset markdown along with your code changes
- push to
main - github actions opens a "version packages" pr
- merging that pr publishes both
agentimizationand@agentimization/coreto npm
both the cli and the landing page follow the principles in Design.md. lowercase prose, narrow column, oklch tokens, animated block-character pattern as the visual centerpiece.
- agentimization — the cli
- @agentimization/core — programmatic api
apps/landing deploys to agentimization.com. the site itself must score 100 when audited by agentimization. treat the audit grade as the landing page's success metric.