Phase 2: Generate and discover tests, validate against real library. Only invoke when explicitly requested by the user or by the yoink orchestrator.
中文简介正在准备中。当前显示原文说明。
Phase 3: Dependency decomposition. Only invoke when explicitly requested by the user or by the yoink orchestrator.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Do not invoke this skill unless explicitly requested. It is called by
/yoink:yoinkor run standalone by the user.
Prerequisite: /yoink:curate-tests must have been completed first.
Seed the decomposition queue with the target package:
uv run python ${CLAUDE_SKILL_DIR}/scripts/decomp.py enqueue <PACKAGE_NAME>
Then run the decomposition loop below until the queue is empty.
Begin loop. Repeat until the queue is empty.
uv run python ${CLAUDE_SKILL_DIR}/scripts/decomp.py dequeue
uv remove <PACKAGE_NAME>
Use the yoink:decomp-evaluator agent to evaluate whether the dequeued library should be kept or decomposed.
Pass input as JSON:
{
"library_name": "<DEQUEUED_LIBRARY>",
"package_name": "yoink_<PACKAGE_NAME>"
}
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 for the original package since there are no sub-package imports to rewrite yet.
Run the top-level generated tests:
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/run_tests.py --project-dir . 2>&1
Swap {sub_package} imports in yoink_{top_package}/ source code to point at yoink_{sub_package}:
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/rewrite_imports.py --package {sub_package} --target-dir yoink_{top_package}
mkdir -p yoink_{sub_package}
touch yoink_{sub_package}/__init__.py
Seed the state file with placeholder values:
"${CLAUDE_SKILL_DIR}/scripts/activate-inner-yoink-loop.sh" --max-iterations 10
Read .claude/decomp_context.md and fill in the PLACEHOLDER values in the JSON block inside .claude/inner-yoink-loop.local.md:
| Field | Where to get the value |
|---|---|
| top_package | {top_package} |
| sub_package | {sub_package} |
| category | from decomp_context.md |
| strategy | from decomp_context.md |
| functions_to_replace | JSON array of strings from decomp_context.md |
| reference_material | from decomp_context.md, default: .yoink/reference/{sub_package}/ |
| acceptable_sub_dependencies | JSON array of strings from decomp_context.md |
Use the yoink:decomp-implementer agent to implement the sub-package.
DONE then proceed to step 5.MAX_ITERATIONS_REACHED then stop the loop and report back to the user that the maximum number of iterations has been reached.DONE then spin up a new yoink:decomp-implementer agent to continue the task.Using new_imports from the implementer's output, enqueue external libraries that yoink_<PACKAGE>/ now depends on:
uv run python ${CLAUDE_SKILL_DIR}/scripts/decomp.py enqueue <lib1> <lib2> ...
Only enqueue what yoink_<PACKAGE>/ actually imports, not the full dependency tree of the original library. Use uv run python ${CLAUDE_SKILL_DIR}/scripts/decomp.py deps <library> to see pip dependencies as reference.
Loop back to step 1.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Phase 2: Generate and discover tests, validate against real library. Only invoke when explicitly requested by the user or by the yoink orchestrator.
中文简介正在准备中。当前显示原文说明。
This skill should be used when the user asks about "plugin settings", "store plugin configuration", "user-configurable plugin", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings", or wants to make plugin behavior configurable. Documents the .claude/plugin-name.local.md pattern for storing plugin-specific configuration with YAML frontmatter and markdown content.
中文简介正在准备中。当前显示原文说明。
This skill should be used when the user asks to "create a plugin", "scaffold a plugin", "understand plugin structure", "organize plugin components", "set up plugin.json", "use ${CLAUDE_PLUGIN_ROOT}", "add commands/agents/skills/hooks", "configure auto-discovery", or needs guidance on plugin directory layout, manifest configuration, component organization, file naming conventions, or Claude Code plugin architecture best practices.
中文简介正在准备中。当前显示原文说明。
Scaffold project: clone repo, install real library. Only invoke when explicitly requested by the user or by the yoink orchestrator.
中文简介正在准备中。当前显示原文说明。
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
中文简介正在准备中。当前显示原文说明。
Curate tests then decompose dependencies
中文简介正在准备中。当前显示原文说明。