paasta-api-endpoint

Generate PaaSTA API endpoints with view functions, routes, Swagger documentation, and unit tests.

1.7k|251|Updated Oct 26, 2015
One-click install
npx skills add https://github.com/Yelp/paasta --skill paasta-api-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paasta-api-endpoint
Source: https://github.com/Yelp/paasta/tree/main/.claude/skills/paasta-api-endpoint
Command: npx skills add https://github.com/Yelp/paasta --skill paasta-api-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of new API endpoints for the PaaSTA platform, ensuring consistency and reducing boilerplate code.

Core Features & Use Cases

  • Automated Endpoint Generation: Creates view functions, registers routes, and updates API documentation (Swagger/OpenAPI).
  • Test Generation: Automatically generates unit tests following PaaSTA conventions.
  • Use Case: When adding a new feature to PaaSTA that requires a new API endpoint, this skill will handle the scaffolding of the code, documentation, and tests, allowing developers to focus on the core logic.

Quick Start

Use the paasta-api-endpoint skill to add a new GET endpoint for retrieving service status.

Frequently Asked Questions about paasta-api-endpoint

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

FAQPage Schema
How do I generate a new PaaSTA API endpoint with Swagger documentation?

The skill automates endpoint generation by creating view functions, registering routes, and updating Swagger/OpenAPI documentation. It interactively gathers requirements to ensure consistency with established PaaSTA API patterns, reducing manual boilerplate code creation.

Can I automatically generate unit tests for PaaSTA API endpoints?

Yes, the skill automatically generates unit tests following established PaaSTA conventions when creating new API endpoints. Test generation occurs alongside view function creation and route registration, ensuring the new endpoint is immediately testable without writing test boilerplate manually.

What's the best way to scaffold PaaSTA API view functions and routes?

Using automated endpoint generation is the best way to scaffold PaaSTA API view functions and routes. It interactively gathers requirements and generates code that adheres to established PaaSTA API patterns, ensuring consistency and maintainability across the platform.

Does the PaaSTA API endpoint generator work without external dependencies?

The PaaSTA API endpoint generator operates without external dependencies. It handles the creation of view functions, route registration, Swagger/OpenAPI documentation, and unit tests internally, relying only on established PaaSTA API patterns and conventions to ensure consistency.

Why should I use automated endpoint generation instead of manually writing PaaSTA API code?

Automated endpoint generation ensures consistency and reduces boilerplate code compared to manual creation. By generating view functions, routes, Swagger documentation, and unit tests simultaneously, it allows developers to focus on core feature logic while maintaining adherence to established PaaSTA conventions.