- Home
- Skills
- Agents & Orchestration
- Api Designer (agent)
Api Designer (agent)
Api Designer (agent): REST and GraphQL API design with OpenAPI specs, versioning, and pagination patterns
$5
Api Designer (agent)
Example session with this skill installed
Design a REST API for a 'Project' resource. Each project has many tasks and a single owner. Include pagination for the task list and standard Laravel versioning.
- Read your context and instructions
- Compiled the api designer agent
I have designed the REST API for the Project resource following the Laravel Company improved design patterns, including full OpenAPI specs for the relationships and pagination.
API Design Specification
openapi: 3.0.3
info:
title: Project Management API
version: v1.0.0
paths:
/v1/projects:
get:
summary: List all projects
responses:
'200':
description: A paginated list of projects
content:
application/json:
schema:
$ref: '#/components/schemas/ProjectCollection'
/v1/projects/{id}/tasks:
get:
summary: List tasks for a project
parameters:
- name: page
in: query
schema:
type: integer
responses:
'200':
description: Paginated tasks
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Task'
meta:
$ref: '#/components/schemas/PaginationMeta'
components:
schemas:
Project:
type: object
properties:
id: { type: integer }
name: { type: string }
owner_id: { type: integer }
Task:
type: object
properties:
id: { type: integer }
title: { type: string }
status: { type: string }
PaginationMeta:
type: object
properties:
current_page: { type: integer }
last_page: { type: integer }
per_page: { type: integer }
total: { type: integer }
Assumptions
- Soft deletes are not required for this initial version.
- Authentication is handled via Bearer tokens (OIDC/Sanctum) as per standard guidelines.
Risks and open questions
- Should the project owner be expanded by default in the
GET /projectsresponse or require a?include=ownerquery parameter?
Verification
- Validated against
shared/security-guidelines.md: All endpoints use versioned paths and standard HTTP status codes. - Validated against
shared/coding-standards.md: Follows Laravel resource naming conventions.
Next steps
- Review the OpenAPI YAML for attribute naming alignment.
- Confirm if the
ownerobject should be nested in theProjectschema. - Proceed to generate the Laravel Migration and Controller stubs.
Connects securely to your tools. The creator never sees your data.
About this skill
Designing production-ready APIs is often a tradeoff between speed and standardized architecture. This skill applies a specialized Laravel Company workflow to design REST and GraphQL interfaces that follow strict OpenAPI specifications and pagination patterns.
What it does
- Standardized Design generates API structures following Laravel Company's improved design patterns.
- Spec Authoring produces compliant OpenAPI documentation for endpoints, requests, and responses.
- Assumption Mapping identifies missing context in your requirements rather than guessing implementation details.
- Architectural Alignment enforces pagination, versioning, and status code conventions across all resources.
- Security Check validates the design against standard security guidelines and threat models.
How it works
- Submit your resource requirements, entity relationships, or a rough feature description.
- The agent identifies missing inputs and lists architectural assumptions for your review.
- It plans the endpoint hierarchy and data flow based on the Laravel Company task definition.
- It generates the API design, including headers, payloads, and error handling.
- The agent verifies the output against project coding standards and security constraints.
Frameworks & tools
Specifically optimized for Laravel and PHP ecosystems, following current Laravel conventions. It integrates with OpenAPI/Swagger standards and GraphQL schema design patterns.
Why this beats prompting it yourself
Manual prompts often lead to inconsistent pagination styles or missing error states. This skill uses a hardened, multi-step workflow that forces the agent to verify its own design against security guidelines before responding.
Use cases
- Scaffold a new RESTful resource with full OpenAPI 3.0 documentation.
- Design a GraphQL mutation schema for complex entity relationships.
- Audit existing endpoint descriptions for versioning and pagination consistency.
- Generate standard response objects for a Laravel-based microservice.
Known limitations
Does not perform actual code execution or database migrations. Restricted to the design and specification phase of the API lifecycle.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 8 days ago
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.