Bỏ qua điều hướng
PROMPTLIB × P2SThư viện prompt + skill
Về thư viện Prompt
Minh họa công nghệ cho Đặc tả API integration an toàn
PROMPTPrompt2Skill

Đặc tả API integration an toàn

Chuyển mục tiêu tích hợp thành auth scope, endpoints, retry và dữ liệu tối thiểu cần trao đổi. Output: Integration contract + security/test matrix.

Prompt gốc

Hãy viết integration contract cho [INTEGRATION] phục vụ flow [USER FLOW].
Endpoints cần dùng: [METHOD + PATH].
Auth hiện có: [OAUTH/API KEY/SESSION].
Payload tối thiểu: [FIELDS].
Rate limit/timeout: [CONSTRAINT].
Data sensitivity: [PUBLIC / INTERNAL / PERSONAL].

Xuất bảng: endpoint, request tối thiểu, response fields, error mapping, retry/idempotency, permission check và test cases. Không log secret, không gửi field ngoài scope và không thiết kế endpoint chưa cần cho flow.
Lưu