What we are building
Initialize RainbowCode as a production-grade monorepo for the web app, CLI, shared packages, docs, security, and CI.
Why it matters
This is the foundation for Brand Studio, Theme Studio, Component Studio, Canvas Studio, Code Studio, and RBC CLI. A clean repo now prevents architecture debt later.
Scope
- apps/web: Next.js application
- apps/docs: documentation site placeholder
- packages/ui: shared UI primitives
- packages/tokens: theme token engine
- packages/config: shared TS/ESLint/Tailwind config
- packages/rbc-cli: CLI skeleton
- prisma: database schema and migrations
- docs: architecture, security, product, testing
- .github: workflows, issue templates, PR template
Acceptance criteria
- Repo has strict monorepo structure
- CI runs lint, typecheck, tests, and build
- Security baseline exists
- Contribution and QA process documented
- First product issues are created
Risks
- Starting without boundaries will create messy feature code
- Missing CI/security early will slow future releases
- Weak package separation will hurt CLI/export system
Tests to run
pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm build
Next action
Create the first foundation commit and protect main branch after CI passes.
What we are building
Initialize RainbowCode as a production-grade monorepo for the web app, CLI, shared packages, docs, security, and CI.
Why it matters
This is the foundation for Brand Studio, Theme Studio, Component Studio, Canvas Studio, Code Studio, and RBC CLI. A clean repo now prevents architecture debt later.
Scope
Acceptance criteria
Risks
Tests to run
pnpm install pnpm lint pnpm typecheck pnpm test pnpm buildNext action
Create the first foundation commit and protect main branch after CI passes.