api
Use when working on the backend API (packages/api). Covers Elysia routes, Drizzle ORM, TypeBox schemas, JWT authentication, S3 uploads, Google Sheets logging, and the Next.js hybrid setup.
npx skills add majiayu000/claude-skill-registry --skill api-jvidalv-100cims --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# API Development Guide You are working on the **100cims API** (`packages/api`), a Next.js + Elysia hybrid backend. ## Key Files | File | Purpose | | ---- | ------- | | `src/api/routes/index.ts` | Elysia app composition, error handling | | `src/app/api/[[...slugs]]/route.ts` | Next.js catch-all for Elysia | | `src/db/schema.ts` | Drizzle schema (source of truth) | | `src/db/index.ts` | Database client | | `src/api/routes/@shared/jwt.ts` | JWT middleware | | `src/api/routes/@shared/s3.ts` | S3 upload utilities | | `src/api/lib/sheets.ts` | Google Sheets logging | | `drizzle.config.ts` | Database connection config | ## Architecture ### Hybrid Stack - **Next.js 15** (App Router) for web pages and runtime - **Elysia 1.4** for API routes (mounted at `/api/*`) - **Drizzle ORM** with PostgreSQL - **TypeBox** for schema validation ### Why This Hybrid? Elysia provides excellent TypeScript inference, OpenAPI generation, and performance while Next.js handles the server runtime and potential web pages. ### Directory Structure - `/src/api/`: All Elysia API code - `/routes/`: Route handlers (public, protected, @shared) - `/schemas/`: TypeBox validation schemas - `/lib/`: Utilities (sheets, dates
- Key Files
- Architecture
- Hybrid Stack
- Why This Hybrid?
- Directory Structure
- Shared Utilities
- Key Patterns
- Route Organization
- Creating Routes
- Protected Routes
- Database Queries
- Schema Validation
- Pagination Pattern
- Common Tasks
What does the api skill do?
Use when working on the backend API (packages/api). Covers Elysia routes, Drizzle ORM, TypeBox schemas, JWT authentication, S3 uploads, Google Sheets logging, and the Next.js hybrid setup.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill api-jvidalv-100cims --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
