# Development Guide Maintainer reference for the RapidKit npm CLI (Node/TypeScript bridge to Python Core). **End users:** [../README.md](../README.md) · [README.md](./README.md) · [OPEN_SOURCE_USER_SCENARIOS.md](./OPEN_SOURCE_USER_SCENARIOS.md) ## Prerequisites - Node.js `>= 20` - npm — see [PACKAGE_MANAGER_POLICY.md](./PACKAGE_MANAGER_POLICY.md) ```bash npm ci npm run build ``` ## Quality checks ```bash npm run validate npm run validate:contracts npm run test:drift ``` Focused suites: [ci-workflows.md](./ci-workflows.md) · [SETUP.md](./SETUP.md) ## Configuration User defaults: [config-file-guide.md](./config-file-guide.md) (`$HOME/.rapidkitrc.json`, `rapidkit.config.*`). Priority: CLI flags > environment variables > config file > defaults. ### Test mode (local Core) ```bash export RAPIDKIT_DEV_PATH=/path/to/local/rapidkit-core npx rapidkit my-workspace --test-mode ``` ## CLI workflows ```bash # Direct project creation npx rapidkit create project fastapi.standard my-api --output . npx rapidkit create project nextjs my-web --yes # Workspace mode npx rapidkit create workspace my-workspace --yes --profile polyglot cd my-workspace npx rapidkit bootstrap --profile polyglot npx rapidkit create project ``` Full syntax: [commands-reference.md](./commands-reference.md) ## Testing ```bash npm test npm run test:e2e npm run test:scenarios:full npm run test:runtime-matrix:full ``` ## Manual smoke ```bash npm run build node dist/index.js --help node dist/index.js create project fastapi.standard test-fastapi --output . --yes --skip-install ``` ## Debugging ```bash npx rapidkit my-workspace --debug ``` ## Environment variables See [SETUP.md](./SETUP.md#environment-variables) for bridge, scenario, and cache variables. ## See also - [Documentation index](./README.md) - [contracts/README.md](./contracts/README.md) - [OPTIMIZATION_GUIDE.md](./OPTIMIZATION_GUIDE.md) - [UTILITIES.md](./UTILITIES.md)