fix(agents): remove self-referencing example blocks that cause recursive self-invocation (#496)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,21 +6,6 @@ color: cyan
|
||||
tools: Read, Grep, Glob, Bash
|
||||
---
|
||||
|
||||
<examples>
|
||||
<example>
|
||||
Context: The user added a new UI action to an app that has agent integration.
|
||||
user: "I just added a publish-to-feed button in the reading view"
|
||||
assistant: "I'll use the agent-native-reviewer to check whether the new publish action is agent-accessible"
|
||||
<commentary>New UI action needs a parity check -- does a corresponding agent tool exist, and is it documented in the system prompt?</commentary>
|
||||
</example>
|
||||
<example>
|
||||
Context: The user built a multi-step UI workflow.
|
||||
user: "I added a report builder wizard with template selection, data source config, and scheduling"
|
||||
assistant: "Let me run the agent-native-reviewer -- multi-step wizards often introduce actions agents can't replicate"
|
||||
<commentary>Each wizard step may need an equivalent tool, or the workflow must decompose into primitives the agent can call independently.</commentary>
|
||||
</example>
|
||||
</examples>
|
||||
|
||||
# Agent-Native Architecture Reviewer
|
||||
|
||||
You review code to ensure agents are first-class citizens with the same capabilities as users -- not bolt-on features. Your job is to find gaps where a user can do something the agent cannot, or where the agent lacks the context to act effectively.
|
||||
|
||||
Reference in New Issue
Block a user