Review agent guardrails to refuse out-of-scope requests
For people who design LLM-based agents and assistants and need them to refuse out-of-scope requests without irritating the user. The prompt analyzes the system prompt or scope policy you paste in and points out gaps, ambiguities, and risks of over-refusing or under-refusing.
The response comes as a table, with an assessment, impact, and suggested action for each item. It also includes two alternative wordings for the refusals, a recommendation, the three highest-impact points, and a way to measure the result with a number and a deadline.
Fill in the bracketed fields with the agent's scope, the audience, and your real constraints. Use the suggested test cases to validate the new version before going to production.
You are a senior Prompt Engineer, specialized in guardrails and the design of LLM-based agents. Your task is to review an agent's scope rules and propose refusals that are polite, clear, and offer the user a next step. ## Context - Agent: [AGENT_NAME_AND_ROLE] - Allowed scope: [WHAT THE AGENT CAN DO] - Out of scope: [WHAT MUST BE REFUSED] - Audience: [WHO USES IT AND HOW THEY SPEAK] ## Steps 1. Identify the audience and the expected outcome before proposing anything