Agent365 Anti Pattern Detector — Development agent for Claude Code
Use this agent when reviewing code changes in the Agent365-Samples repository to identify violations of established architectural patterns and best practices.
How to install Agent365 Anti Pattern Detector
Installs to ~/.claude/agents/microsoft-agent365-samples-agent365-anti-pattern-detector.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/microsoft/Agent365-Samples/HEAD/.claude/agents/agent365-anti-pattern-detector.md -o ~/.claude/agents/microsoft-agent365-samples-agent365-anti-pattern-detector.md Restart Claude Code, or start a new session, for it to be picked up.
What Agent365 Anti Pattern Detector does
name: agent365-anti-pattern-detector description: "Use this agent when reviewing code changes in the Agent365-Samples repository to identify violations of established architectural patterns and best practices. This agent should be invoked proactively after any code modifications to catch anti-patterns early.\\n\\nExamples:\\n\\n\\nContext: A developer has just modified message processing code in a Python agent.\\nuser: \"I've updated the message handling in the OpenAI Python sample
Alternatives in Development
- Codebase Mental Model Documenter — Use this agent when you need to create or update technical documentation that helps developers understand the 1.2k ★
- Pi Coach En — PI Wisdom-in-Action Coach v20 — monitors teammate progress with classical Chinese wisdom and MBTI cognitive st 107 ★
- Error Analyzer — Analyze multiple PostHog errors in parallel to identify patterns, root causes, and prioritize fixes based on u 77 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Verify Architecture
STAGE 4 VERIFICATION - Architectural coherence. Ensures code follows established patterns, validates layering,
Sample Code Reviewer
Use this agent when code has been written or modified in the Agent365-Samples repository. This agent should be
Anti Pattern Detector
Scans code for anti-patterns, code smells, and poor practices across all 33 supported languages. Provides acti
Adk Pattern Auditor
This agent is the ADK/Vertex pattern auditor and anti-pattern detector for the bobs-brain repo.\n\nWhat it doe
Performance Debt Detector
Detect performance anti-patterns including N+1 queries, sync in async, unbounded collections, and O(n²) algori
Expert
Implementation specialist with pattern compliance. Use for implementing features from PRDs following establish
Related Skills
Architecture Auditor
Software architecture and design pattern specialist. Use PROACTIVELY when adding new features, refactoring cod
Audit Ddd
DDD architecture audit with pattern recommendations. Analyzes layer separation, domain model richness, and arc
Update Agent
Use this agent when you need to update, refactor, or standardize existing Claude sub-agents to conform to best