Api Designer (agent)

    by Laravel Company

    1

    Api Designer (agent): REST and GraphQL API design with OpenAPI specs, versioning, and pagination patterns

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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 /projects response or require a ?include=owner query 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

    1. Review the OpenAPI YAML for attribute naming alignment.
    2. Confirm if the owner object should be nested in the Project schema.
    3. 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

    1. Submit your resource requirements, entity relationships, or a rough feature description.
    2. The agent identifies missing inputs and lists architectural assumptions for your review.
    3. It plans the endpoint hierarchy and data flow based on the Laravel Company task definition.
    4. It generates the API design, including headers, payloads, and error handling.
    5. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Read Files
    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of production-grade REST and GraphQL specifications, ensuring every endpoint follows Laravel Company’s strict standards for pagination, versioning, and error handling. It solves the problem of inconsistent API documentation and architectural drift common in fast-paced development.

    The skill is optimized for LLMs that support complex workflows, such as GPT-4o or Claude 3.5 Sonnet, and is compatible with any AI agent platform that allows custom system instructions or skill integration.

    While it follows Laravel's naming conventions and resource patterns, the resulting OpenAPI and GraphQL specifications are language-agnostic and can be used to scaffold APIs in any modern backend framework.

    Upon purchase, you receive the full workflow configuration and systematic instructions required to deploy this skill within your preferred AI agent environment, along with a guide on inputting resource requirements.

    No, this agent focuses exclusively on the design and specification phase; it generates high-quality OpenAPI YAML/JSON and GraphQL schemas but does not write the underlying PHP code or database migrations.

    Updates are released periodically to align with the latest Laravel ecosystem trends and OpenAPI standard shifts; customers receive notification of these version updates through their marketplace dashboard.

    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.