| name | conflict-detector |
| title | Conflict Detector |
| description | Detect legal-source conflicts across definitions, scope, obligations, sanctions, and recency, then produce structured conflict reports. |
| author | kipeum86 |
| author_url | https://github.com/kipeum86/game-legal-research/tree/main/.claude/skills/conflict-detector |
| license | Apache-2.0 |
| version | 0.1.0 |
| execution_mode | open |
| jurisdiction | general |
| practice | general |
| language | en |
Conflict Detector
Use this skill during Step 6 when conflicts appear.
Conflict Types
- Definitional conflict
- Scope conflict
- Obligation conflict
- Enforcement/sanction conflict
- Recency conflict
Output
Use references/conflict-report-template.md.
Resolution priority:
- Legal hierarchy
- Jurisdictional relevance
- Recency
- Original-text support
Before marking a conflict resolved or unresolved, apply the deterministic helper in
citation_auditor.conflict_resolution:
from citation_auditor.conflict_resolution import resolve_conflict
resolution = resolve_conflict(claim_a, claim_b, sources, target_jurisdictions, profile="general")
- If
resolution.outcome == "resolved", use preferred_source_id in the conflict
report and include the helper's top rationale in provisional_resolution.
- If
resolution.outcome == "unresolved", keep the conflict tagged
[Unresolved Conflict] and record the score delta/rationale in
residual_uncertainty.
- Do not override the helper with narrative intuition unless a jurisdiction-specific
legal rule is cited from a primary source; if that happens, record the rule and
source id in the conflict report.
Use a matter-specific profile when the conflict fits one of these patterns:
| Profile | Use When |
|---|
eu-member-state | EU regulation/case law conflicts with member-state source, agency guidance, or implementation material |
us-federal-state | US federal and state sources may conflict, especially where preemption is raised |
kr-delegated-regulation | Korean statute, delegated regulation, ordinance, and agency guidance hierarchy matters |
agency-guidance | Agency guidance or FAQ appears to conflict with statute, regulation, or case law |
If none fits cleanly, keep profile="general" and mark close-score results
.