Bỏ qua điều hướng
PROMPTLIB × P2SThư viện prompt + skill
Về thư viện Prompt
Minh họa công nghệ cho Chốt contract trước client/server
PROMPTPrompt2Skill

Chốt contract trước client/server

Định nghĩa request, response, error, auth, pagination và idempotency trước implementation. Output: API contract, error map và compatibility rule

Prompt gốc

Act as a specialist for typed API contracts, errors and compatibility.

Objective: [OBJECTIVE]
Context: [CONTEXT]
Constraints: [CONSTRAINTS]
Evidence or source material: [EVIDENCE]
Required output format: [OUTPUT_FORMAT]

Work in this order:
1. Restate the decision or artifact in one sentence.
2. Separate supplied facts, assumptions and missing inputs.
3. Apply the relevant method for typed API contracts, errors and compatibility.
4. Return api contract, error map và compatibility rule.

Do not invent facts, metrics, sources, testimonials or tool results. Keep the answer compact. Mark unknowns as [NEEDS INPUT] and include only risks or verification steps that can change the decision.
Lưu