Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Validation: Validate requests/responses against schema
Workflow
Requirements → OpenAPI Spec → Review → Generate → Implement → Test
↑ ↓
←←←←←←←←←←←←← Iterate as needed ←←←←←←←←←←←←←←←←←←←←←←
OpenAPI 3.1 Structure
Basic Template
openapi:3.1.0info:title:OrderManagementAPIdescription:|
API for managing customer orders in the e-commerce platform.
## Features-Createandmanageorders-Trackorderstatus-Processpaymentsversion:1.0.0contact:name:APITeamemail:api-support@example.comlicense:name:MITurl:https://opensource.org/licenses/MITservers:-url:https://api.example.com/v1description:Production-url:https://api.staging.example.com/v1description:Staging-url:http://localhost:5000/v1description:Developmenttags:-
components:schemas:# EnumsOrderStatus:type:stringenum:-draft-submitted-paid-shipped-delivered-cancelleddescription:Currentstatusoftheorder# Value ObjectsMoney:type:objectrequired:-amount-currencyproperties:amount:type:numberformat:decimalminimum:0example:99.99currency:type:stringpattern:'^[A-Z]{3}$'example:USD# EntitiesOrder:type:object
Design Best Practices
Naming Conventions
# Use camelCase for propertiescustomerId:string# ✓ Goodcustomer_id:string# ✗ Avoid# Use plural for collections/orders# ✓ Good/order# ✗ Avoid# Use nouns for resources/orders# ✓ Good/getOrders# ✗ Avoid# Use kebab-case for multi-word paths/line-items# ✓ Good/lineItems# ✗ Avoid
HTTP Methods
Method
Purpose
Idempotent
Safe
GET
Retrieve resource(s)
Yes
Yes
POST
Create resource
No
No
PUT
Replace resource
Yes
No
PATCH
Partial update
No*
No
DELETE
Remove resource
Yes
No
Status Codes
Code
Use For
200
Successful GET, PUT, PATCH
201
Successful POST (resource created)
204
Successful DELETE (no content)
400
Malformed request syntax
401
Authentication required
403
Authenticated but not authorized
404
Resource not found
409
Conflict (state transition, duplicate)
422
Validation error
500
Server error
Versioning Strategies
# URL Path (recommended for breaking changes)servers:-url:https://api.example.com/v1# Header-basedparameters:-name:API-Versionin:headerschema:type:stringenum: ['2024-01-01', '2024-06-01']
Validation
JSON Schema Validation
# Use constraintsquantity:type:integerminimum:1maximum:1000email:type:stringformat:emailmaxLength:255productCode:type:stringpattern:'^[A-Z]{3}-\d{6}$'# Use enums for known valuesstatus:type:stringenum: [draft, submitted, paid]
# Use nullable for optional fields (OpenAPI 3.1)middleName:type: ['string', 'null']
Workflow
When designing OpenAPI contracts:
Understand requirements: What operations are needed?
Design resources: Identify entities and relationships