Agent skill · Backend & API

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/api/api-jvidalv-100cims/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Key Files
  2. Architecture
  3. Hybrid Stack
  4. Why This Hybrid?
  5. Directory Structure
  6. Shared Utilities
  7. Key Patterns
  8. Route Organization
  9. Creating Routes
  10. Protected Routes
  11. Database Queries
  12. Schema Validation
  13. Pagination Pattern
  14. Common Tasks
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going