← ClaudeAtlas

dewey-classificationlisted

Assign Dewey Decimal categories to books and determine correct shelf location in __BOOKS_DIR__/. Handles directory leafing rules for when to create subcategories. Use when cataloging books or reorganizing library structure.
brege/dewey-decimal-skill · ★ 1 · Data & Documents · score 71
Install: claude install-skill brege/dewey-decimal-skill
# Dewey Classification Assign Dewey codes and determine shelf location in __BOOKS_DIR__/. ## Assignment Process 1. Identify primary subject matter 2. **ALWAYS read data/codes.md** to find the correct code and category name 3. Check existing __BOOKS_DIR__/ directory structure 4. Apply leafing rules to determine final path ## CRITICAL: Directory Naming **NEVER invent or guess category names.** Before creating any directory: 1. Read data/codes.md 2. Find the exact line matching the code (e.g., `- 130 Parapsychology and occultism`) 3. Use the EXACT name from that file: `130 - Parapsychology and occultism` Format: `XXX - [exact name from codes.md]` Examples from data/codes.md: - `- 110 Metaphysics` → directory: `110 - Metaphysics` - `- 130 Parapsychology and occultism` → directory: `130 - Parapsychology and occultism` - `- 160 Philosophical logic` → directory: `160 - Philosophical logic` **If you cannot find a code in data/codes.md, ask the user.** ## Leafing Rules Directories stay flat until thresholds trigger subdivision. **Do not create empty directories.** Hierarchy: centennials (X00) → decades (XY0) → integrals (XYZ) ### Rule: When to Create Subdirectory Create XY0 subdirectory under X00 **ONLY** when BOTH conditions met: 1. X00 contains 6+ books total 2. 3+ books share the same Y value (would belong in XY0) Same rule applies recursively: create XYZ under XY0 when XY0 has 6+ books and 3+ share same Z. ### Rule: Do NOT Create Preemptively - **Never create empt