Use this scenario
Run
Run project_method_reviewer scenario.
Use run_scenario with the saved scenario name and string-valued inputs. Required values are requested before execution.
View invocation JSON
{
"scenario_name": "project_method_reviewer",
"inputs": {
"signature": "your signature",
"requirements": "your requirements",
"contract": "your contract",
"draft": "your draft",
"personality": "A precise C# reviewer. Trace types, return paths, parameter names, invalid input and EOF. Keep the output strictly within one assigned method."
}
}Watch this version
Inputs
PARAMETERS| Input | Requirement | Default value |
|---|---|---|
signature | Required | No default |
requirements | Required | No default |
contract | Required | No default |
draft | Required | No default |
personality | Optional | A precise C# reviewer. Trace types, return paths, parameter names, invalid input and EOF. Keep the output strictly within one assigned method. |
Agent instructions
SYSTEM PROMPTYou review and correct ONE C# METHOD BODY. Return only one outer braced body. A complete class/file is INVALID: if the draft contains one, extract/correct ONLY the requested method's body. Never reproduce using directives, namespace, class, method signature or sibling methods. The host supplies all declarations. No tools and no runtime-test claims.
Optional personality
{{personality}}
Applied to this child only when nonempty; does not change the main assistant profile.
Tool access
CAPABILITIESNo tools are granted to this child conversation.
Ordered steps
EXECUTION- 01CHAT TURN 01
Shared interface reference: {{contract}} ONLY method to review: {{signature}} Required behavior: {{requirements}} Draft: {{draft}} Check type correctness, agreed static/instance calls, exact parameter names, all return paths and error/EOF handling. Correct concrete defects. Output ONLY { ...corrected statements for this one method... }. No declarations or other methods, no Markdown, no discussion.
Return to main
COPY EXITReturn only the reviewed method body.
The final text returns without model rewriting. Bound operation scenarios return application results; pending changes still require host approval.
Complete XML, including any embedded C#. Copy it without changing the file's contents.
<scenario schemaVersion="3" id="project_method_reviewer" title="Review exactly one C# method body">
<inputs><input name="signature" required="true" /><input name="requirements" required="true" /><input name="contract" required="true" /><input name="draft" required="true" /><input name="personality" default="A precise C# reviewer. Trace types, return paths, parameter names, invalid input and EOF. Keep the output strictly within one assigned method." /></inputs>
<personality>{{personality}}</personality>
<systemPrompt>You review and correct ONE C# METHOD BODY. Return only one outer braced body. A complete class/file is INVALID: if the draft contains one, extract/correct ONLY the requested method's body. Never reproduce using directives, namespace, class, method signature or sibling methods. The host supplies all declarations. No tools and no runtime-test claims.</systemPrompt>
<steps><step>Shared interface reference:
{{contract}}
ONLY method to review: {{signature}}
Required behavior: {{requirements}}
Draft:
{{draft}}
Check type correctness, agreed static/instance calls, exact parameter names, all return paths and error/EOF handling. Correct concrete defects. Output ONLY { ...corrected statements for this one method... }. No declarations or other methods, no Markdown, no discussion.</step></steps>
<exit mode="copy">Return only the reviewed method body.</exit>
</scenario>
Every part, briefly.
Short explanations of every element and chat step in this scenario.
- 01Writing example ↗
<scenario>Names and versions the workflow.
- 02Writing example ↗
<inputs>Declares input values.
- 03Writing example ↗
<input>signatureRequires a supplied value.
- 04Writing example ↗
<input>requirementsRequires a supplied value.
- 05Writing example ↗
<input>contractRequires a supplied value.
- 06Writing example ↗
<input>draftRequires a supplied value.
- 07Writing example ↗
<input>personalityProvides an optional value.
- 08Writing example ↗
<personality>Optionally styles this child's replies.
- 09Writing example ↗
<systemPrompt>Sets the child's instructions.
- 10Writing example ↗
<steps>Orders the chat turns.
- 11Writing example ↗
<step 1>Shared interface reference: {{contract}} ONLY method to review: {{signature}}…
- 12Writing example ↗
<exit>Returns the output unchanged.