Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.12 KB

File metadata and controls

60 lines (42 loc) · 1.12 KB

Contributing to v0-cli

Thanks for helping improve v0-cli.

Cligentic copy-paste registry pattern

v0-cli is built on cligentic foundation blocks. Those blocks are pulled into src/cli/ from the registry with:

bunx shadcn@latest add <block>

The registry is the upstream source for those files. If a foundation primitive is broken or missing, fix it in Railly/cligentic first, then re-pull the updated block here. Do not hand-edit those files in this repository.

Upstream first

  • src/cli/foundation/
  • src/cli/agent/
  • src/cli/safety/
  • src/cli/platform/

Safe to edit locally

  • src/commands/
  • src/lib/
  • src/types/
  • skill/
  • Documentation and tests

Development

Requirements: Bun.

bun install
bun run dev --help

To use the local binary as v0:

bun link

Validation

Before opening a pull request:

bun run typecheck
bun test
bun run lint

Keep PRs focused. If a change touches a cligentic block, explain the upstream fix and the re-pull instead of modifying the block inline.