ankyr-hierarchy

Guides folder placement, nesting, and restructuring decisions for any directory tree.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/GuyErreich/AI_Agents --skill ankyr-hierarchy-guyerreich
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ankyr-hierarchy
Source: https://github.com/GuyErreich/AI_Agents/tree/main/plugins/ankyr/skills/ankyr-hierarchy
Command: npx skills add https://github.com/GuyErreich/AI_Agents --skill ankyr-hierarchy-guyerreich

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deciding where a folder belongs, when to nest it, and how to fix a drifted directory tree is a recurring source of inconsistency in codebases, docs, and asset libraries. This Skill provides domain-agnostic taxonomy rules so every path reads as a narrowing sentence and items land where newcomers expect them. ## Core Features & Use Cases - Placement tests: Apply the nesting test and retrieval test to decide whether an item nests under a parent or stays a sibling. - Taxonomy principles: Enforce one axis per level, generic-high/specific-low ordering, and a maximum meaningful depth of 3-4 levels. - Restructure playbook: Detect drift signals (repeated sibling prefixes, sideways cross-references) and apply six operations (nest, hoist, split, merge, rename, flatten) with a safe-migration checklist. - Use Case: When adding a new module to a growing src/ tree, run the decision procedure to pick the correct parent, refuse mixed-axis siblings, and leave a pointer where retrieval conflicts occur. ## Quick Start Ask the agent to decide where a new folder should live in the project tree using the ankyr-hierarchy nesting and retrieval tests.

Frequently Asked Questions about ankyr-hierarchy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely migrate files during a restructure?▼

Inventory every inbound reference, move files and rewrite references in one change, update all indexes and manifests, verify nothing resolves to old paths, and leave no empty stub folders. Prefer the cheapest move to undo.