Thank you for your interest in contributing to ThumbCode!
If you're an AI agent working on this codebase, read these documents in this order:
- CLAUDE.md - Complete agent playbook with brand guidelines and architecture
- AGENTS.md - Agent coordination protocol and workflow
- docs/memory-bank/techContext.md - Current technology stack
- docs/memory-bank/activeContext.md - Current work in progress
Before making changes:
- Read the agent playbook (CLAUDE.md)
- Use design tokens from
design-system/tokens.json - Apply organic styling (asymmetric border-radius, no gradients)
- Use brand colors (Coral/Teal/Gold)
- Write tests for new code
- Run
pnpm lintandpnpm typecheckbefore committing
- Node.js (LTS)
- pnpm 10.x (
corepack enable && corepack prepare pnpm@latest --activate) - For iOS: Xcode + CocoaPods
- For Android: Android Studio + SDK
- Fork the repository
- Clone your fork
- Install dependencies:
pnpm install - Start the Vite dev server:
pnpm dev(http://localhost:5173) - Create a branch:
git checkout -b feature/your-feature-name
# Start Vite dev server (web)
pnpm dev
# Build for production
pnpm build
# Sync to native projects
pnpm cap:sync
# Open native IDEs
pnpm cap:open:ios
pnpm cap:open:android
# Type checking
pnpm typecheck
# Linting and formatting
pnpm lint
pnpm lint:fix
pnpm format
# Testing
pnpm test
pnpm test:watch
pnpm test:coverage
# Code duplication check
pnpm lint:duplication
# E2E tests
pnpm test:e2e:web- TypeScript: All new code must be TypeScript
- Formatting: Use Biome (runs via
pnpm lintandpnpm format) - Components: Functional components with hooks
- Styling: Tailwind CSS utility classes
- Design Tokens: Always use tokens from
design-system/tokens.json
ThumbCode has a distinctive "Warm Technical" design language:
- Colors: Coral (#FF7059), Teal (#0D9488), Gold (#F5D563)
- Typography: Fraunces (display), Cabin (body), JetBrains Mono (code)
- Styling: Organic asymmetric shapes, NO gradients
- Shadows: Multi-layered with brand color tints
See docs/brand/BRAND-GUIDELINES.md for details.
Use Conventional Commits:
feat(agents): add multi-agent workspace view
fix(auth): resolve GitHub PKCE token refresh
docs(readme): update installation instructions
style(buttons): apply organic border-radius
refactor(stores): migrate to Zustand v5
test(git): add isomorphic-git integration tests
- Update documentation if needed
- Add tests for new features
- Ensure all tests pass (
pnpm test) - Ensure lint and typecheck pass (
pnpm lint && pnpm typecheck) - Fill out the PR template completely
- Request review from maintainers
# Unit tests (Vitest)
pnpm test
# Watch mode
pnpm test:watch
# Coverage (80% threshold for lines/functions/statements)
pnpm test:coverage
# E2E tests (Playwright)
pnpm test:e2e:web- Update relevant docs when changing functionality
- Add JSDoc comments to complex functions
- Update type definitions when changing interfaces
- Keep CLAUDE.md current when making architectural changes
By contributing, you agree that your contributions will be licensed under the project's existing license terms. ThumbCode is proprietary software — Copyright © 2026 jbcom, All Rights Reserved. See LICENSE for full terms, including the contribution license grant in Section 3.