| name | bun-workflow |
| description | Use this skill when you need the Bun runbook for Freelancerino (dev, build, lint, typecheck, tests, migrations, and verification steps). |
Bun Workflow Skill (Freelancerino)
Use this skill to run and verify the project locally.
Core commands (always Bun)
- Dev server:
bun dev (Next.js on :3000)
- Build:
bun run build
- Lint:
bun run lint
- Type-check:
tsc --noEmit
- Drizzle migrations:
- Generate from schema:
bunx drizzle-kit generate
- Apply:
bunx drizzle-kit migrate
- Studio:
bunx drizzle-kit studio
Notes
- Do NOT use npm/yarn/pnpm.
- Ensure env vars in
.env (e.g., DATABASE_URL, Clerk keys) before running.
- For tests, prefer targeted scripts; none defined yet.
Cost & performance verification (practical)
When you make changes intended to reduce Vercel cost/latency, always verify you didn’t trade correctness for speed:
- Run the full checks (
lint, typecheck, test, build) and spot-check the affected routes.
- Watch for accidental over-revalidation (e.g., broad
revalidatePath) and client bundle bloat ('use client' creep).
Reference:
.github/skills/nextjs-cost-performance/SKILL.md
References
drizzle.config.ts
db/schema.ts
package.json