This repository is now a small monorepo:
packages/litcodecontains the reusable@holmityd/litcodepackageapps/examplescontains the local example app that imports the package by workspace name
npm install
npm run dev:examplesnpm run test:lib
npm run build:lib
npm run releaseThe example app uses the workspace package locally, so edits in packages/litcode are picked up during local development.
The package also ships a small initializer for copying Litcode agent rules into other projects:
bunx @holmityd/litcode initIt creates Cursor, Codex, Claude Code, GitHub Copilot, and Antigravity instruction
files. Use --tools cursor,codex,claude, --cwd ../my-app, or --force to narrow
or replace output.