api-development
WHEN to auto-invoke: Creating API routes, building endpoints, adding route.ts files, implementing REST/GraphQL APIs, adding authentication to APIs, rate…
Skill by gr8monk3ys
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gr8monk3ys-api-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/api-development
What's inside
- Skill name
api-development- Description
- WHEN to auto-invoke: Creating API routes, building endpoints, adding route.ts files, implementing REST/GraphQL APIs, adding authentication to APIs, rate limiting, API validation with Zod, handling HTTP methods (GET/POST/PUT/DELETE). WHEN NOT to invoke: Pure frontend work, styling, React components without API calls, documentation-only tasks, database migrations without API changes.
- License
- GPL-3.0
- Instructions
- 72 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# API Development Skill
You are an expert in building production-ready REST APIs with Next.js App Router.
## Capabilities
### Route Creation
- App Router API routes (`app/api/*/route.ts`)
- Proper HTTP method handlers (GET, POST, PUT, PATCH, DELETE)
- Request/response typing with TypeScript
- Edge Runtime compatibility when needed
### Validation & Error Handling
- Zod schema validation for all inputs
- Structured error responses with proper HTTP status codes
- Input sanitization and type coercion
- Comprehensive error messages for debugging
### Authentication & Authorization
- JWT and session-based auth patterns
- Middleware-based protection
- Role-based access control (RBAC)
- API key authentication for external services
### Rate Limiting
- Upstash Redis rate limiting
- Sliding window and fixed window strategies
- IP-based and user-based limiting
- Graceful degradation
### Testing
- API route unit tests with Jest/Vitest
- Integration tests with supertest patterns
- Mock strategies for external services
- Test coverage for edge cases
## Best Practices
1. **Validate Early**: Use Zod at route entry points
2. **Type Everything**: Never use `any` types
3. **Handle Errors Consistently**: Use structured error format
4. **Document Inline**: JSDoc comments for complex logic
5. **Consider Edge Runtime**: Avoid Node.js-specific APIs when possible
## Response Format
Discriminated on `success`, so a caller narrows the union without inspecting
the payload. This is the shape `/api-new` and `/action-new` generate and the one
`CLAUDE.md` and `.claude/rules/PROJECT-RULES.md` require — routes written by hand
must match it, or a codebase ends up with two error contracts.
```typescript
// Success
{ data: T, success: true, meta?: { pagination, etc } }
// Error
{ error: string, details?: unknown, success: false }
```
## Integration Points
- Supabase for database operations
- NextAuth.js for authentication
- Upstash for rate limiting and caching
- Zod for validation schemasFrom gr8monk3ys/skills, GPL-3.0.
More from gr8monk3ys/skills
- 0.565score
database-operations
gr8monk3ys
WHEN to auto-invoke: Database schema design, creating migrations, writing SQL queries, query optimization, Supabase operations, Prisma/Drizzle schema changes…
SkillAFreshness: AClaude Code +9 - 0.565score
frontend-development
gr8monk3ys
WHEN to auto-invoke: Creating UI components, building React/Vue/Svelte components, Next.js pages, styling with Tailwind/CSS, state management setup, form…
SkillAFreshness: AClaude Code +9 - 0.565score
background-automation
gr8monk3ys
WHEN to auto-invoke: Setting up recurring or self-paced tasks, watching CI or deploys, babysitting pull requests, configuring monitors, running long jobs in…
SkillAFreshness: AClaude Code +9 - 0.561score
ask-lorenzo
gr8monk3ys
Ask which command or skill in this plugin fits your situation.
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
gr8monk3ys
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9 - 0.539score
prototype
gr8monk3ys
Build a throwaway prototype to answer a design question.
SkillAFreshness: AClaude Code +9 - 0.539score
code-review
gr8monk3ys
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillAFreshness: AClaude Code +9 - 0.539score
grilling
gr8monk3ys
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: AClaude Code +9 - 0.539score
tdd
gr8monk3ys
Test-driven development.
SkillAFreshness: AClaude Code +9 - 0.539score
domain-modeling
gr8monk3ys
Build and sharpen a project's domain model.
SkillAFreshness: AClaude Code +9 - 0.538score
writing-for-agents
gr8monk3ys
Writing documents for agents.
SkillAFreshness: AClaude Code +9 - 0.536score
to-spec
gr8monk3ys
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 20, 2026 (2 months ago)
- Last release
- Oct 13, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/gr8monk3ys/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gr8monk3ys
- 0.565score
frontend-development
gr8monk3ys
WHEN to auto-invoke: Creating UI components, building React/Vue/Svelte components, Next.js pages, styling with Tailwind/CSS, state management setup, form…
SkillAFreshness: AClaude Code +9 - 0.565score
background-automation
gr8monk3ys
WHEN to auto-invoke: Setting up recurring or self-paced tasks, watching CI or deploys, babysitting pull requests, configuring monitors, running long jobs in…
SkillAFreshness: AClaude Code +9 - 0.565score
database-operations
gr8monk3ys
WHEN to auto-invoke: Database schema design, creating migrations, writing SQL queries, query optimization, Supabase operations, Prisma/Drizzle schema changes…
SkillAFreshness: AClaude Code +9 - 0.561score
ask-lorenzo
gr8monk3ys
Ask which command or skill in this plugin fits your situation.
SkillAFreshness: AClaude Code +9 - 0.544score
diagnosing-bugs
gr8monk3ys
Diagnosis loop for hard bugs and performance regressions.
SkillAFreshness: AClaude Code +9 - 0.539score
code-review
gr8monk3ys
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillAFreshness: AClaude Code +9
Cite this page
api-development skill. Agent Mart. https://agentmart.dev/skills/gr8monk3ys-api-development (last updated 2026-10-24)