Skip to content
Back to skills

Templates

ASecurity

Generate a complete REST API endpoint from a one-line description.

  • 8 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added August 31, 2026
ai-agentstypescriptapidatabase

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add valorisa/Claude-Skills --skill templates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Templates?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Templates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/valorisa-templates/badge)](https://www.skillsdirectory.com/skills/valorisa-templates)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# API Scaffolder

Generate a complete REST API endpoint from a one-line description.

## Trigger

Use when the user says "create endpoint for X", "new API route", `/scaffold-api`, or describes a CRUD operation.

## Process

1. Ask: "What resource? What operations (GET/POST/PUT/DELETE)? What framework?"
2. If the user already specified everything, skip questions
3. Generate the route handler with:
   - Input validation
   - Error handling
   - Response format
   - TypeScript types (if applicable)
4. Show the code and ask: "Want me to add tests or adjust anything?"
5. If yes, generate test file alongside

## Constraints

- Match the project's existing patterns (check existing routes first)
- Don't add auth middleware unless asked
- Don't create database migrations — only the route layer
- Use the project's existing error format

## Output

One file per endpoint in the project's routes directory, following existing conventions.

Files in this skill

  • multi-step-skill.md941 B
  • simple-skill.md733 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.