Getting started

Node.js 22.16 or later · pnpm 11.3.0

npm create comwit@latest my-app -- --pm pnpm
cd my-app
pnpm run dev

Browse the base template on the main branch. Use its README and environment example as setup references.

Included setup

Next.js App Router, @comwit/state, UI components installed as source, Oxlint rules and page-level Storybook are included.

Main commands

CommandPurpose
pnpm run devDevelopment server
pnpm run validateType checking and lint
pnpm run buildProduction build; default output is dist/brrrd
pnpm storybookPage previews with mocked APIs
pnpm validate:storybookStorybook types, lint and API mock boundary checks
pnpm agents:testSkill references and agent-related regression tests

Development flow

Read AGENTS.md and the guide for the layer you are editing. Update Storybook with screen changes and run pnpm run validate.

To use the included Comwit connections or adapt them to another environment, see Default integrations.