# RateRight Snake Case to CamelCase Conversion Plan

## Identified Patterns to Convert:

### 1. Function Parameters (p_* prefix)
- `p_job_id` → `pJobId`
- `p_limit` → `pLimit` 
- `p_min_score` → `pMinScore`
- `p_abn` → `pAbn`

### 2. Variable Names
- `match_id` → `matchId`
- `company_id` → `companyId`
- `job_id` → `jobId`
- `worker_id` → `workerId`
- `profile_id` → `profileId`
- `sender_id` → `senderId`
- `experience_years` → `experienceYears`
- `rate_type` → `rateType`

### 3. Object Property Access
- `.profile_id` → `.profileId`
- `.worker_id` → `.workerId`
- `.company_id` → `.companyId`
- `.job_id` → `.jobId`
- `.sender_id` → `.senderId`
- `.rate_type` → `.rateType`
- `.experience_years` → `.experienceYears`

## Files to Modify:
1. `/src/app/api/match/find-matches/route.ts` - Function parameters
2. `/src/app/api/payments/create/route.ts` - Variable names
3. `/src/app/api/payments/verify/route.ts` - Object properties
4. `/src/app/api/ai/parse-profile-voice/route.ts` - Variable names
5. `/src/lib/abn-cache.ts` - Function parameters
6. Various component files - Object property access

## Critical Rules:
- DO NOT change database column names (they stay snake_case)
- DO NOT change SQL queries or Supabase field references
- Only change JavaScript/TypeScript identifiers
- Keep RPC function names as they are (database functions)