# Document Hierarchy

> Document Hierarchy

- Skill: `lubochka/document-hierarchy-3` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lubochka/document-hierarchy-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lubochka/document-hierarchy-3/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: lubochka (https://skillmd.com/u/lubochka)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/lubochka/document-hierarchy-3

---

# Document Hierarchy

## Purpose
Avoid competing sources of truth.

## When to Use
Use when adding, moving, or adapting docs.

## Inputs
README, rules files, architecture docs, generated docs, indexes.

## Steps
1. Identify canonical docs.
2. Identify derived or generated docs.
3. Link instead of duplicating where possible.
4. Update indexes when hierarchy changes.

## Gates
The repository has one clear entry path and no accidental duplicate authority.

## Evidence
Updated indexes, links, and hierarchy notes.

## Anti-Patterns
Creating a second "main" guide with conflicting rules.

## Related
`documentation-sync`, `authority-chain`


