/** * Skill Conflict Detector Module * Detects contradictory instructions and overlapping topics across installed skills. * * 3 detection strategies (no LLM required): * 1. Keyword Contradiction — imperative statements that oppose each other * 2. Topic Overlap — skills covering identical topics (token waste) * 3. Rule Extraction — Do/Don't lists with conflicting directives */ export interface Conflict { /** critical = opposing instructions, warning = potential ambiguity */ severity: 'critical' | 'warning'; /** Skill A name */ skillA: string; /** Skill B name */ skillB: string; /** Conflict category */ category: string; /** Human-readable description */ description: string; /** The conflicting line from skill A */ lineA: string; /** The conflicting line from skill B */ lineB: string; } export interface Overlap { /** Skills sharing the topic */ skills: string[]; /** Topic description */ topic: string; /** Estimated duplicate tokens */ tokenWaste: number; } export interface ConflictResult { /** Direct contradictions found */ conflicts: Conflict[]; /** Topic overlaps found */ overlaps: Overlap[]; /** Summary counts */ summary: { total: number; critical: number; warnings: number; overlapCount: number; estimatedTokenWaste: number; }; } /** * Detect conflicts and overlaps across a set of installed skills. * * @param skillPaths — array of absolute paths to skill directories * (each should contain a SKILL.md) */ export declare function detectConflicts(skillPaths: string[]): Promise; //# sourceMappingURL=conflict-detector.d.ts.map