api-implement

Implement FastAPI endpoints with Pydantic models and pytest tests.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/aroido/vibesmith --skill api-implement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-implement
Source: https://github.com/aroido/vibesmith/tree/main/.claude/skills/api-implement
Command: npx skills add https://github.com/aroido/vibesmith --skill api-implement

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of implementing APIs required by frontend applications, ensuring consistency and efficiency in backend development.

Core Features & Use Cases

  • API Endpoint Implementation: Guides through the creation of new API endpoints based on frontend requests.
  • Issue Tracking Integration: Connects API implementation directly to GitHub issues for traceability.
  • Use Case: When a frontend team requests a new data endpoint, this Skill helps define the API spec, create the necessary Pydantic models, implement the FastAPI route, and write corresponding tests.

Quick Start

Use the api-implement skill to create a new GET endpoint for the '/users' resource, referencing issue number 123.

Frequently Asked Questions about api-implement

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

FAQPage Schema
How do I implement a FastAPI endpoint from a frontend request?

To implement a FastAPI endpoint from a frontend request, you define the API endpoint, request parameters, and response formats, then generate the corresponding Pydantic models and FastAPI routes. This process also integrates with GitHub issues for tracking.

How do I generate Pydantic models for API request parameters and response formats?

Generating Pydantic models for request parameters and response formats is handled automatically when you implement the API endpoints. The Skill defines these structures to ensure consistency between the frontend request and the backend FastAPI route implementation.

Can I link API endpoint implementation directly to a GitHub issue?

Yes, you can link API endpoint implementation directly to a GitHub issue for traceability. The Skill connects the creation of new FastAPI routes and Pydantic models to specific issue numbers, ensuring backend development remains tracked and documented.

Does this approach include writing unit tests for FastAPI routes?

Yes, this approach includes writing unit tests for FastAPI routes using pytest. Alongside defining the API spec and generating Pydantic models, the Skill automatically generates corresponding pytest tests to validate the newly implemented endpoints.

What is the best way to structure backend development when a frontend team requests new data endpoints?

The best way to structure backend development for new data endpoints is to define the API spec, create Pydantic models, implement FastAPI routes, and write pytest tests. This ensures consistency and efficiency while tracking progress through GitHub issues.

Do I need an existing GitHub issue to define a new API endpoint?

While you can define endpoints independently, having an existing GitHub issue is core to this workflow. Connecting API implementation to an issue provides necessary traceability and documentation for the requested frontend data endpoints.