decompose

Solid

Phase 3: Dependency decomposition. Only invoke when explicitly requested by the user or by the yoink orchestrator.

AI & Automation 31 stars 0 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
50
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Decompose > **Do not invoke this skill unless explicitly requested.** It is called by `/yoink:yoink` or run standalone by the user. **Prerequisite:** `/yoink:curate-tests` must have been completed first. Seed the decomposition queue with the target package: ```bash uv run python ${CLAUDE_SKILL_DIR}/scripts/decomp.py enqueue <PACKAGE_NAME> ``` Then run the decomposition loop below until the queue is empty. --- ## Decomposition Loop **Begin loop.** Repeat until the queue is empty. ### 1. Dequeue ```bash uv run python ${CLAUDE_SKILL_DIR}/scripts/decomp.py dequeue ``` - If **queue is empty** then **decomposition complete, remove the real library and stop**. ```bash uv remove <PACKAGE_NAME> ``` ### 2. Evaluate Use the **yoink:decomp-evaluator** agent to evaluate whether the dequeued library should be kept or decomposed. Pass input as JSON: ```json { "library_name": "<DEQUEUED_LIBRARY>", "package_name": "yoink_<PACKAGE_NAME>" } ``` - If **Keep** then **go back to step 1**. - If **Decompose** then **continue to step 3** with the evaluation output. ### 3. Prepare the sub-package for the implementer agent Complete these steps IN ORDER before entering the loop. > **Exception:** When the dequeued item is `{original_package}` (the first item in the queue), skip steps 3a–3c and go straight to 3d. Baseline verification (3a) was already completed by `/yoink:curate-tests`, scaffolding (3c) was already done by `/yoink:setup`, and import rewriting (3b) is a no-op...

Details

Author
theogbrand
Repository
theogbrand/yoink
Created
1 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Related Skills