hierarchy-unifier

Consolidates fragmented task hierarchy code into a unified API with migration and testing workflows.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ribatshepo/cc-auto-orchestrate --skill hierarchy-unifier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hierarchy-unifier
Source: https://github.com/ribatshepo/cc-auto-orchestrate/tree/main/claude-code/skills/hierarchy-unifier
Command: npx skills add https://github.com/ribatshepo/cc-auto-orchestrate --skill hierarchy-unifier

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Consolidates scattered hierarchy-related code for parent-child task relationships into a single, cohesive interface, enabling simpler orchestration, refactoring, and maintainability.

Core Features & Use Cases

  • Code discovery: locate all hierarchy-related functions across the codebase.
  • Pattern analysis: identify inconsistencies and duplication to inform a unified design.
  • Interface design & consolidation: create a single API for hierarchy operations (get_parent, set_parent, get_children, get_descendants, validate_parent, reparent).
  • Migration & tooling: plan and execute caller updates with traceable changes and automated checks.
  • Use cases include refactoring legacy systems, speeding up hierarchy management, and enabling crash-safe migrations.

Quick Start

Unify scattered task hierarchies into one API.

Frequently Asked Questions about hierarchy-unifier

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

FAQPage Schema
How do I consolidate scattered parent-child task hierarchy logic into a single API?

You can consolidate scattered hierarchy operations by analyzing your codebase for inconsistencies and duplication, then creating a unified interface. It provides a core operation set including get_parent, set_parent, get_children, get_descendants, validate_parent, and reparent for centralized management.

What is the best way to refactor legacy code with fragmented hierarchy operations?

Refactoring legacy code with fragmented hierarchy operations involves discovering all hierarchy-related functions, identifying pattern inconsistencies, and consolidating them into a single cohesive interface. This enables simpler orchestration, traceable changes, and improved maintainability.

How do I migrate callers when consolidating task hierarchy APIs?

Migrate callers during task hierarchy API consolidation by using a provided migration plan and tooling to discover, analyze, and test all callers. This ensures traceable changes and automated checks for crash-safe migrations across the codebase.

Can I use this hierarchy consolidation approach for codebases with scattered validators and scripts?

Yes, this approach applies to codebases with fragmented hierarchy operations scattered across scripts, validators, and callers. It enables end-to-end consolidation, migration, and testing workflows by unifying all parent-child task logic into one interface.

What operations are included in a unified task hierarchy API?

A unified task hierarchy API includes core operations such as get_parent, set_parent, get_children, get_descendants, validate_parent, and reparent. These operations replace scattered functions to provide consistent parent-child task relationship management.