Analyzes existing agents, skills, prompts, and instructions to identify overlaps, redundancies, and conflicts...
Detects redundancy, overlap, and potential conflicts between AI coding assistant customization files.
This skill works across multiple AI coding assistant providers:
| Provider | Base Folder |
|---|---|
| GitHub Copilot | .github/ |
| Claude Code | .claude/ |
| Codex | .codex/ |
| OpenCode | .config/opencode/ |
Throughout this document, <provider>/ represents your chosen provider's base folder.
Scan these locations (replace <provider>/ with actual folder):
<provider>/agents/*.md - All agent definitions (including .subagent.agent.md)<provider>/skills/*/SKILL.md - All skill definitions<provider>/prompts/*.prompt.md - All prompt templates<provider>/instructions/*.instructions.md - All instruction filesFor each item, extract:
When analyzing a proposed new item, compare:
Direct Overlap Indicators:
Partial Overlap Indicators:
No Overlap Indicators:
Look for these conflict types:
Behavioral Conflicts:
Scope Conflicts:
applyTo patterns in instructionsNaming Conflicts:
80% purpose overlap
When overlap is detected, consider:
Combine into single, more comprehensive item.
Add new functionality to existing item.
Clarify boundaries between items.
Have one item delegate to another.
Replace older item with improved version.
## Overlap Analysis: [Proposed Item Name]
### Summary
**Proposed Type:** [Agent|Skill|Prompt|Instruction]
**Proposed Purpose:** [Brief description]
**Overlap Level:** None | Low | Medium | High | Critical
**Recommendation:** Proceed | Modify | Merge | Reconsider
### Comparison Matrix
| Existing Item | Type | Overlap | Shared Concerns |
|---------------|------|---------|-----------------|
| [name] | [type] | [level] | [what overlaps] |
### Detailed Findings
#### High/Critical Overlap Items
[For each significant overlap:]
**[Existing Item Name]**
- Type: [type]
- Purpose: [their purpose]
- Overlap Areas: [specific shared concerns]
- Key Distinction: [how proposed differs]
- Resolution: [recommended action]
#### Potential Conflicts
[List any behavioral or scope conflicts]
#### Complementary Items
[Items that could work well alongside proposed]
### Recommendations
1. [Primary recommendation with rationale]
2. [Secondary options if applicable]
### Questions to Resolve
- [Clarifying questions that would help decision]
Proposed: database-helper agent for SQL query assistance
Findings:
dx12-terrain-engine-dev - No overlap (different domain)agent-builder - No overlap (different domain)Result: ✅ Proceed - no conflicts detected
Proposed: code-reviewer agent for code review
Findings:
dx12-terrain-engine-dev mentions code qualityResult: ⚠️ Warning - clarify scope boundaries
code-reviewer for general review, dx12-terrain-engine-dev for DX12-specific review only