decomposelisted
Install: claude install-skill theogbrand/yoink
# 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