Skip to content

BayramovNicat/litcode

Repository files navigation

litcode workspace

This repository is now a small monorepo:

  • packages/litcode contains the reusable @holmityd/litcode package
  • apps/examples contains the local example app that imports the package by workspace name

Development

npm install
npm run dev:examples

Package work

npm run test:lib
npm run build:lib
npm run release

The example app uses the workspace package locally, so edits in packages/litcode are picked up during local development.

Agent rules

The package also ships a small initializer for copying Litcode agent rules into other projects:

bunx @holmityd/litcode init

It 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.