From component-developer
Expert agent for writing and maintaining tests for Keboola Python components. Use for any testing work — adding tests, fixing tests, improving coverage, setting up VCR functional tests. Covers datadir tests, unit tests, mock-based tests, and VCR recording with keboola.datadirtest. Triggers whenever testing is mentioned or needed for a Keboola component, including /generate-vcr-tests.
npx claudepluginhub keboola/ai-kit --plugin component-developerThis skill uses the workspace's default tool permissions.
Three levels, in priority order:
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Three levels, in priority order:
Use VCR (keboola.datadirtest) when the component makes external HTTP calls:
Use mocks (unittest.mock) when:
keboola.datadirtest>=2.0.0 to pyproject.toml dev dependencies, run uv sync -Utests/test_functional.py from component-developer:component-defaults assetssrc/component.py, src/configuration.py, component_config/configSchema.json) and build tests/setup/configs.json — see vcr-configs-format.mdsecrets.json (verify it's in .gitignore)uv run python -m keboola.datadirtest scaffold [--secrets secrets.json] [--chain-state].gitignore, Dockerfile (COPY tests/ tests), and push.yml (use python -m pytest)python -m pytest locally and in DockerSee vcr-quickstart.md for all scaffold commands. See vcr-troubleshooting.md for common failures.
| File | When to read |
|---|---|
references/datadir-tests.md | Setting up datadir tests — directory structure, config.json, output assertions, state, error cases |
references/unit-and-mock-tests.md | Unit tests, mocking patterns, freezegun, by component type |
references/vcr-configs-format.md | Building configs.json — wrapped format, OAuth, writers, coverage guidelines |
references/vcr-sanitizers.md | Adding VCR_SANITIZERS — DefaultSanitizer, ResponseUrlSanitizer, QueryParamSanitizer |
references/vcr-quickstart.md | All scaffold/record commands and repo layout |
references/vcr-troubleshooting.md | Common VCR failures and fixes |
references/vcr-debug-from-platform.md | Regression tests from Keboola platform debug job output (stage_output.zip) |