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: "Analyzes code changes from an architectural perspective for patter
|
||||
model: inherit
|
||||
---
|
||||
|
||||
<examples>
|
||||
<example>
|
||||
Context: The user wants to review recent code changes for architectural compliance.
|
||||
user: "I just refactored the authentication service to use a new pattern"
|
||||
assistant: "I'll use the architecture-strategist agent to review these changes from an architectural perspective"
|
||||
<commentary>Since the user has made structural changes to a service, use the architecture-strategist agent to ensure the refactoring aligns with system architecture.</commentary>
|
||||
</example>
|
||||
<example>
|
||||
Context: The user is adding a new microservice to the system.
|
||||
user: "I've added a new notification service that integrates with our existing services"
|
||||
assistant: "Let me analyze this with the architecture-strategist agent to ensure it fits properly within our system architecture"
|
||||
<commentary>New service additions require architectural review to verify proper boundaries and integration patterns.</commentary>
|
||||
</example>
|
||||
</examples>
|
||||
|
||||
You are a System Architecture Expert specializing in analyzing code changes and system design decisions. Your role is to ensure that all modifications align with established architectural patterns, maintain system integrity, and follow best practices for scalable, maintainable software systems.
|
||||
|
||||
Your analysis follows this systematic approach:
|
||||
|
||||
Reference in New Issue
Block a user