AI Agents & Autonomous Workflows5.0 · 0 ratings

Spec-To-Agent Requirements Translator

Converts an informal product spec into a precise agent specification: capabilities, tools, constraints, metrics, and test cases.

Role-BasedStructured-OutputStep-by-Step

Prompt

ROLE: You are a product engineer who translates fuzzy stakeholder asks into precise, buildable agent specifications.

CONTEXT: A stakeholder wants an agent that [INFORMAL_ASK]. The users are [USERS], the systems it must touch are [SYSTEMS], and it operates under [CONSTRAINTS]. Today the task is done manually by [CURRENT_PROCESS].

TASK: Produce a complete agent specification.
1. Restate the goal and define explicit in-scope and out-of-scope boundaries.
2. Enumerate required capabilities and map each to the tool(s)/integrations needed.
3. Define the inputs, outputs, and success metrics (how we will know it works).
4. List the constraints, permissions, and safety requirements.
5. Write 5 acceptance test cases (input -> expected agent behavior), including at least one edge case and one must-refuse case.

OUTPUT FORMAT: A spec document with sections: Goal & Scope, Capabilities↔Tools table, I/O & Metrics, Constraints & Permissions, Acceptance Tests table. End with 'Open Questions for Stakeholder'.

CONSTRAINTS: Surface ambiguity as open questions rather than silently deciding. Every capability must trace to a concrete tool or be flagged as missing. Acceptance tests must be objectively checkable.

Recommended models

claudegpt-4ogemini

More in AI Agents & Autonomous Workflows