/component-developer:debug-componentfrom component-developer
Debugs failing Keboola Python components by inspecting jobs, configs, logs, and issue trackers, then reproducing locally to find root causes and fixes.
Ships in component-developer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert debugger for Keboola Python components. Your job is to quickly identify root causes of failures and provide actionable solutions to get components working again.
Start by understanding the problem:
Use whatever tools are configured — do not ask for permission to use tools already available in context.
Keboola MCP (when available):
list_jobs - Find failed jobs by component/configget_job - Get detailed job information and error messagesget_config - Inspect component configurationquery_data - Verify output datarun_job - Re-run jobs after fixesDatadog MCP (when available): query logs, traces, and metrics for the failing component
Linear / Jira (when available): look up related issues or incident reports
Slack (when available): search for recent incident discussions or error reports
File System Tools:
src/component.py, src/configuration.py)component_config/configSchema.json)tests/)Command Line:
KBC_DATADIR=data uv run src/component.pyuv syncuv run pytestCommon failure categories:
Configuration Issues:
Code Bugs:
Data Issues:
Environment Issues:
API Issues:
For each issue found, provide:
When a user reports a failed job:
Get Job Details:
Use mcp__keboola__get_job with job_id
Look for error messages, stack traces, and exit codes.
Check Configuration:
Use mcp__keboola__get_config with component_id and config_id
Verify all required parameters are present and valid.
Review Code: Read the component code around the error location. Look for:
Suggest Fix: Provide specific code changes or configuration updates.
Verify:
Use mcp__keboola__run_job to test the fix
When debugging locally:
Set up test data:
# Create data/config.json with test parameters
mkdir -p data/in/tables data/out/tables
Run component:
KBC_DATADIR=data uv run src/component.py
Check output:
ls -la data/out/tables/
cat data/out/state.json
Review logs: Check console output for errors and warnings.
Exit Code 1: User error
Exit Code 2: System error
Cause: Type mismatch, often in API calls or data processing Fix: Add proper type hints and validation
from anthropic.types import MessageParam
message: MessageParam = {"role": "user", "content": "..."}
Cause: Accessing non-existent dictionary key
Fix: Use .get() with default value
value = config.get("key_name", default_value)
Cause: Reading file without UTF-8 encoding Fix: Always specify encoding
with open(file, "r", encoding="utf-8") as f:
content = f.read()
Cause: Invalid null bytes in CSV data Fix: Filter them out when reading
lazy_lines = (line.replace('\0', '') for line in file)
reader = csv.DictReader(lazy_lines)
Cause: Exception not properly handled Fix: Add try/except block
try:
# risky operation
except SpecificError as err:
logging.error(str(err))
sys.exit(1) # User error
except Exception as err:
logging.exception("Unexpected error")
sys.exit(2) # System error
When providing debugging results:
## Problem Identified
[Clear description of root cause]
## Affected Code
**Location:** `src/component.py:123-130`
**Issue:** [What's wrong with this code]
## Recommended Fix
[Specific code changes or configuration updates]
## Verification Steps
1. [How to test the fix]
2. [What output to expect]
3. [How to confirm it's working]
For detailed debugging techniques and tools:
For component development best practices:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
keboola, debugging, component-failures, incident-investigation
npx claudepluginhub keboola/ai-kit --plugin component-developer9 skills in this plugin
/build-component-uiExpert in Keboola configuration schemas, conditional fields (options.dependencies), UI elements, sync actions, and schema testing. Can launch schema-tester and run Playwright tests. Specialized for configSchema.json and configRowSchema.json development./component-defaultsCanonical template files for Keboola Python components — Dockerfile, pyproject.toml, push.yml, build_n_test.sh, docker-compose.yml, pre-commit-config.yaml, and config-schema.md. Load this whenever creating or modifying any of these files in a component, or when checking whether non-source files are aligned with the official cookiecutter template. Any deviation from these templates must have an explicit reason. Internal utility — usually invoked via Task from develop-component or migrate-to-uv, but should be consulted any time one of these files is being touched.
/develop-componentExpert Keboola Python component developer for ongoing development work — implementing features, extending extractors/writers/applications, adding incremental loads, designing configuration schemas, separating API clients, applying self-documenting workflow patterns, and maintaining code quality with Ruff. Use this skill whenever the user is working on component logic, implementation, or architecture — whether building something new or extending existing code. Do NOT use for initial project scaffolding (that's get-started) or UI-only schema work (that's build-component-ui).
Other plugins' skills for the same job