Agent skill · Backend & API

backend-endpoint

Create REST/GraphQL API endpoint with validation, error handling, and tests. Auto-invoke when user says "add endpoint", "create API", "new route", or "add route".

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill backend-endpoint-dkyazzentwatwa-supernavigator-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Version: 1.0.0
Allowed tools: ReadWriteEditGrepGlobBash
Path: skills/api/backend-endpoint-dkyazzentwatwa-supernavigator-2/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

# Backend API Endpoint Generator Generate production-ready REST or GraphQL endpoints with request validation, error handling, and comprehensive tests. ## When to Invoke Auto-invoke when user mentions: - "Add endpoint" - "Create API" - "New route" - "Add route" - "Create API endpoint for [resource]" ## What This Does 1. Generates route handler with proper HTTP methods 2. Adds request validation (body, params, query) 3. Implements error handling 4. Creates test file with request/response tests 5. Follows REST/GraphQL conventions 6. Includes authentication middleware (if needed) ## Execution Steps ### Step 1: Gather Endpoint Requirements **Ask user for endpoint details**: ``` Endpoint path: [e.g., /api/users/:id] HTTP method: [GET, POST, PUT, PATCH, DELETE] Resource name: [e.g., User, Post, Product] Framework: - express (default) - fastify - nestjs - graphql Authentication required: [yes/no] Request validation needed: [yes/no] ``` **Validate endpoint path**: - Use predefined function: `functions/route_validator.py` - Ensure RESTful conventions - Check path parameters syntax - No trailing slashes ### Step 1.5: Verify Understanding (ToM Checkpoint) [EXECUTE] **IMPORTANT**: This step MUS

What's inside
Steps it walks through
  1. When to Invoke
  2. What This Does
  3. Execution Steps
  4. Step 1: Gather Endpoint Requirements
  5. Step 1.5: Verify Understanding (ToM Checkpoint) [EXECUTE]
  6. Step 1.8: Declare Belief State (Optional - ToM Anchor)
  7. Step 2: Generate Route Handler
  8. Step 3: Generate Validation Schema
  9. Step 4: Generate Error Handling Middleware
  10. Step 5: Generate Test File
  11. Step 6: Generate API Documentation Comment
  12. Step 7: Show Endpoint Summary
  13. Predefined Functions
  14. 1. routevalidator.py
Ships with 1 file
  • metadata.json
Commands it runs
python3 functions/endpoint_generator.py \
python3 functions/validation_generator.py \
python3 functions/error_handler_generator.py \
python3 functions/test_generator.py \
python3 functions/route_validator.py --path "/api/users/:id" --method "GET"
More from claude-skill-registry
All skills →
About this skill
What does the backend-endpoint skill do?

Create REST/GraphQL API endpoint with validation, error handling, and tests. Auto-invoke when user says "add endpoint", "create API", "new route", or "add route".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill backend-endpoint-dkyazzentwatwa-supernavigator-2 --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