taskpool-dependency-analysis

Official

Fix taskpool hangs by untangling dependencies

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It diagnoses and helps resolve static ArkTS taskpool dependency bugs where dependent tasks never execute due to incorrect dependency graphs, missing notifications, illegal addDependency/removeDependency usage, or broken cancel propagation.

Core Features & Use Cases

  • Dependency graph reconstruction & cycle detection: Builds a directed dependency graph from addDependency/removeDependency and highlights circular edges (e.g., 10200026).
  • Hang root-cause tracing: Traces the prerequisite finish → notifyDependencies → dependency counters → pending activation path to find why a dependent never wakes.
  • Error-code-driven remediation: Identifies illegal task-type edge rules and missing/nonexistent dependency operations (e.g., 10200027, 10200070, 10200113), and recommends structural fixes.
  • Cancel propagation validation: Verifies that cancellation correctly propagates through dependent chains.

Quick Start

Use the taskpool-dependency-analysis skill to analyze my static ArkTS taskpool code and explain the exact dependency-chain failure and the concrete code changes needed to fix it.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: taskpool-dependency-analysis
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#taskpool-dependency-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.