Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Monkeytype AI Coding Instructions

Make the responses extremely concise. Sacrifice grammar for the sake of concision.

## Architecture
**Monorepo**: pnpm + Turborepo with frontend (Vite + SolidJS), backend (Express + MongoDB + Redis), and shared packages.

## Commands
All commands support `-fe`, `-be`, `-pkg` suffixes for targeted execution:
```bash
pnpm run lint-fe # Frontend linting
pnpm run test-be # Backend + integration tests
pnpm run build-pkg # Packages only
pnpm run dev # All workspaces with hot reload
```

## SolidJS Migration
Frontend is partially migrated - new components use SolidJS (`.tsx`), legacy code remains vanilla JS.

## Debug Tips
- Type/lint errors: Run `pnpm run lint` (OXLint is source of truth, not tsc)

## Key Files
- `turbo.json`: Task deps and caching
- `frontend/src/ts/config-metadata.ts`: Config validation rules
- `packages/contracts/src/index.ts`: API contract structure
- `packages/funbox/src/list.ts`: All funbox definitions
- `backend/src/api/routes/index.ts`: ts-rest setup
Loading