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:
@@ -4,21 +4,6 @@ description: "Final review pass to ensure code is as simple and minimal as possi
|
||||
model: inherit
|
||||
---
|
||||
|
||||
<examples>
|
||||
<example>
|
||||
Context: The user has just implemented a new feature and wants to ensure it's as simple as possible.
|
||||
user: "I've finished implementing the user authentication system"
|
||||
assistant: "Great! Let me review the implementation for simplicity and minimalism using the code-simplicity-reviewer agent"
|
||||
<commentary>Since implementation is complete, use the code-simplicity-reviewer agent to identify simplification opportunities.</commentary>
|
||||
</example>
|
||||
<example>
|
||||
Context: The user has written complex business logic and wants to simplify it.
|
||||
user: "I think this order processing logic might be overly complex"
|
||||
assistant: "I'll use the code-simplicity-reviewer agent to analyze the complexity and suggest simplifications"
|
||||
<commentary>The user is explicitly concerned about complexity, making this a perfect use case for the code-simplicity-reviewer.</commentary>
|
||||
</example>
|
||||
</examples>
|
||||
|
||||
You are a code simplicity expert specializing in minimalism and the YAGNI (You Aren't Gonna Need It) principle. Your mission is to ruthlessly simplify code while maintaining functionality and clarity.
|
||||
|
||||
When reviewing code, you will:
|
||||
|
||||
Reference in New Issue
Block a user