create-rest-api

Create REST API endpoints with contract design, validation, and test scaffolding.

2|1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/mpadmaraj/sample-agentic --skill create-rest-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-rest-api
Source: https://github.com/mpadmaraj/sample-agentic/tree/main/.claude/skills/create-rest-api
Command: npx skills add https://github.com/mpadmaraj/sample-agentic --skill create-rest-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill helps teams create REST API endpoints that adhere to architectural rules, validation patterns, and testing standards, reducing boilerplate and mistakes.

Core Features & Use Cases

  • API contract design and validation scaffolding
  • Service-layer orchestration with persistence access
  • Test skeleton generation and documentation updates

Quick Start

Design a new endpoint contract and scaffold the corresponding controller, service, and DAO following the agents.md rules.

Frequently Asked Questions about create-rest-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a REST API endpoint with validation and service logic?

To scaffold a REST API endpoint, this skill automates contract design, input validation, service-layer orchestration, and persistence access while generating unit test scaffolding to ensure adherence to coding standards.

What is the best way to enforce API design patterns when adding new endpoints?

Enforcing API design patterns requires applying architectural, coding, and security rules defined in your agents.md file, which this skill uses to automate contract design, validation, and test generation for new endpoints.

Can I use this to extend an existing REST API with new contracts?

Yes, you can use this to extend an existing REST API by scaffolding new endpoint contracts, adding service-layer orchestration with persistence access, and generating corresponding test skeletons and documentation updates.

Do I need to manually write unit tests when generating a REST API service layer?

No, you do not need to manually write unit tests because this skill enforces test generation requirements by automatically creating unit test scaffolding alongside the service-layer logic and persistence access.

Why does my REST API validation need a dedicated service layer?

A dedicated service layer is needed to orchestrate persistence access and handle validation logic separately, ensuring your REST API endpoint adheres to architectural rules and maintains clean separation of concerns.

Does this REST API scaffolding work without external dependencies?

Yes, this REST API scaffolding operates without external dependencies, using internal scripts and references to enforce architectural rules, validation patterns, and testing standards for your endpoints.