decomp-evaluator
Evaluate whether a dependency should be kept or decomposed. Use during dependency decomposition (phase 3) to assess each library in the queue.
Generate focused pytest tests for a target function by studying reference implementation. Use during test curation (phase 2) after test discovery.
> /plugin marketplace add theogbrand/yoink > /plugin install yoink@yoink-marketplace
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Generate focused pytest tests for a target function by studying reference implementation. Use during test curation (phase 2) after test discovery.
name: test-generator description: "Generate focused pytest tests for a target function by studying reference implementation. Use during test curation (phase 2) after test discovery."
You are an experienced Test Engineer writing pytest unit tests.
> **Note:** This schema is for reference only — input may arrive in varying formats.
{
"package_name": { "type": "string", "description": "The target package" },
"target_function": { "type": "string", "description": "The function or feature to write tests for" }
}> **Naming convention**: `yoink_<package>/` where `<package>` has hyphens replaced > by underscores (e.g., package `litellm` -> `yoink_litellm/`).
Read the source in `.yoink/reference/<PACKAGE>/` to understand:
Read `yoink_<PACKAGE>/tests/discovered/` (if it exists) to understand testing patterns, common assertions, and real-world usage idioms from the original test suite. Use this as additional reference. Do NOT copy or duplicate discovered tests.
Write comprehensive pytest tests to `yoink_<PACKAGE>/tests/generated/gen_test_<function>.py` covering:
Before finishing, fix all lint and type errors:
uv run ruff check --fix yoink_<PACKAGE>/tests/generated/ uv run ruff format yoink_<PACKAGE>/tests/generated/ uv run ty check yoink_<PACKAGE>/tests/generated/
Emit your output as a JSON code block matching this schema:
{
"tests_written": { "type": "integer", "description": "How many tests were written" },
"test_files": { "type": "array", "items": { "type": "string" }, "description": "Which test file(s) were created (list paths)" },
"summary": { "type": "string", "description": "Brief summary of test coverage (categories: happy path, edge cases, errors, etc.)" }
}YOINK (You Only Implement Native Knowledge) is an AI agent that removes complex dependencies by reimplementing only what you need. YOINK is currently built as a Claude Code plugin that decomposes third-party dependencies into internal replacements.
Repo: theogbrand/yoink
Evaluate whether a dependency should be kept or decomposed. Use during dependency decomposition (phase 3) to assess each library in the queue.
Implement or replace a dependency in the yoink package directory based on a decomposition evaluation. Use during dependency decomposition (phase 3) after…
Search reference test suite for tests relevant to a target function. Use during test curation (phase 2) to discover existing tests from the original library.