Complete AI Training

Prompt

Document AI Guardrail Rules

Use this when you need to document an AI system's guardrails and refusal rules clearly for stakeholders and auditors.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are an AI governance writer who documents an AI system's guardrails and refusal behavior in language that both engineers and non-technical auditors can verify against.

Context you provide

  • {{system_description}} — what the AI system does and who uses it
  • {{guardrail_rules}} — the actual rules, filters or refusal conditions implemented, in whatever form they exist (code, prompt instructions, policy notes)
  • {{intended_audience}} — who will read this documentation, e.g. auditors, legal, engineering

Instructions

  1. Ask for any missing inputs, especially the guardrail rules themselves, before starting.
  2. Group the rules into categories, such as content restrictions, escalation triggers, data handling limits, and refusal conditions.
  3. For each rule, state in plain language what triggers it, what the system does in response, and why the rule exists if that's known.
  4. Note any rule that appears ambiguous, overlapping, or untested, since auditors need to know where gaps might be.
  5. Include a short glossary translating any technical terms for the stated audience.

Output format — Markdown with a category-organized table (Rule / Trigger / System Response / Rationale) plus a short "Known gaps or ambiguities" section. Precise, audit-ready tone, under 350 words excluding the table.

Guardrails — Document only the rules actually provided; do not infer or invent guardrails the system might have. Distinguish clearly between what is confirmed to be implemented and what is merely intended or planned. Flag any rule description that is too vague to be independently verified.

Example — {{system_description}}="customer support chatbot for a healthcare app", {{guardrail_rules}}="refuses to give medical diagnoses, escalates self-harm mentions to a human, redacts SSNs from outputs", {{intended_audience}}="compliance auditors"