api-lifecycle

Design, build, test, and govern Laravel REST APIs from OpenAPI 3.1.

20|5|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/nasrulhazim/agent-skills --skill api-lifecycle-nasrulhazim
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: api-lifecycle
Source: https://github.com/nasrulhazim/agent-skills/tree/main/skills/api-lifecycle
Command: npx skills add https://github.com/nasrulhazim/agent-skills --skill api-lifecycle-nasrulhazim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Complete API lifecycle management for Laravel applications — from OpenAPI design through governance and security hardening.

Core Features & Use Cases

A seven-phase methodology for designing, building, testing, deploying, documenting, governing, and securing production-ready REST APIs in Laravel — anchored on OpenAPI 3.1 as the single source of truth.

Quick Start

Design your first API with an interview-driven OpenAPI spec and I'll scaffold the Laravel API skeleton.

Frequently Asked Questions about api-lifecycle

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

FAQPage Schema
How do I manage the complete REST API lifecycle in Laravel using OpenAPI?▼

You can scaffold Laravel REST APIs by using OpenAPI 3.1 as the single source of truth to generate controllers, requests, resources, migrations, and models automatically through an interview-driven design process.

Can I use Sanctum or Passport for authentication when building Laravel APIs with OpenAPI?▼

Sanctum and Passport are supported for authentication when building Laravel APIs with OpenAPI, ensuring security patterns are applied throughout the API lifecycle alongside generated documentation and governance checks.

How do I generate Pest contract tests from an OpenAPI spec in Laravel?▼

Generating Pest contract tests from an OpenAPI spec involves using the specification to define API behavior, producing per-resource tests that validate endpoints and ensure endpoints adhere to the defined contract.

What is the best way to document and govern Laravel REST APIs using OpenAPI?▼

Documenting and governing Laravel REST APIs is best handled by anchoring on OpenAPI 3.1, integrating documentation tools like Scribe or Scramble, and applying governance checks to maintain production-ready standards.

Do I need Scribe or Scramble to generate API documentation with this OpenAPI lifecycle approach?▼

Scribe or Scramble are targeted for documentation tooling within this OpenAPI lifecycle approach, translating the OpenAPI 3.1 spec into readable API docs while enforcing governance and security patterns.