A prompt skill to rewrite API errors without leaking internals

Keep a stable error code the client already knows. Strip stack paths, SQL, and hostnames. EMPTY body is allowed with a code.

Published 2026-12-03 · Translation: VI

What to do first

  • Keep a stable error code the client already knows. Strip stack paths, SQL, and hostnames. EMPTY body is allowed with a code.
  • Run the compare in a new chat when the first chat wrote the draft you are checking.
  • Keep marks short: OK / FIX / DROP (or the skill-specific tags below).

Pack

Paste only what the skill may use. Invented paths outside the pack are DROP.

Prompt

Skill: ai-api-error-message-check
Keep a stable error code the client already knows. Strip stack paths, SQL, and hostnames. EMPTY body is allowed with a code.

PACK:
[paste source]

Return one block per item with a mark and a one-line reason.
Do not rewrite the whole file unless I ask.

Known pack before the check.

Marks

Mark Meaning
OK Matches the pack
FIX Wrong, but a precise edit is clear
DROP Invented or unsafe — do not publish

OK vs FIX vs DROP on one board.

Loop

Pack → prompt → marks → apply only FIX in a new chat.

Share

X Facebook LinkedIn