# Knowledge Structuring Consistency Checking

> Tactic for verifying ontology consistency — detect contradictions, cycles, orphans, and type violations.

- Skill: `yogsoth-ai/knowledge-structuring-consistency-checking` (Agent Skill)
- Install (CLI): `npx skillmds@latest add yogsoth-ai/knowledge-structuring-consistency-checking`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yogsoth-ai/knowledge-structuring-consistency-checking/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: yogsoth-ai (https://skillmd.com/u/yogsoth-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/yogsoth-ai/knowledge-structuring-consistency-checking

---


# Consistency Checking

Verify the ontology is internally consistent. No contradictions, no cycles in hierarchies, no orphaned concepts, no type violations.

## Available SOPs

- wiki-lint-fix — run structural validation
- wiki-graph-query — explore suspicious neighborhoods
- gap-detection — find structural holes
- merge-candidates — identify near-duplicates

## Guiding Principles

- **Contradictions are urgent.** Two edges that contradict each other (A supports B, A contradicts B) must be resolved immediately.
- **Orphans are warnings.** A concept with no edges is suspicious but not necessarily wrong — it may just need connection.
- **Type violations are errors.** An edge type that doesn't make semantic sense (e.g., "question" component_of "source") indicates a classification mistake.
- **Fix root causes.** Don't just remove the symptom — understand why the inconsistency arose.

## Minimum Yield

<HARD-GATE>
≥1 inconsistency identified and resolved per invocation.
If vault_lint returns zero issues and graph inspection finds no problems, report clean state.
</HARD-GATE>

<!-- BEGIN available-tables (generated) -->

## Available SOPs

Optional, no fixed order; the final leaf is always a sop.

| SOP | When to use |
| --- | --- |
| gap-detection | SOP for finding structural gaps in the ontology — missing concepts, thin branches, disconnected clusters. |
| merge-candidates | SOP for identifying near-duplicate concepts that should be merged. |

<!-- END available-tables (generated) -->

