agentsclimarketplace

Debug command

Skill datamaker-kr/synapse-claude-marketplace/plugins/synapse-plugin-helper/skills/debug-command

시냅스 제품군 개발을 위한 공용 Claude Marketplace 입니다. 용도 및 목적 별 plugins 를 통해 claude plugins, agents, skills, commands 를 제공합니다.

Install
npx -y skills add datamaker-kr/synapse-claude-marketplace --skill debug-command

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Run the `synapse-plugin-helper:debug` workflow from the original Claude slash command. Use when the user asks to diagnose and fix common Synapse plugin issues

SKILL.md

3.6 KB, 825 tokens by cl100k_base, as published. Nobody here has run it

<!-- Generated by tools/generate-agent-marketplaces.py; edit the source command or agent-plugin.yaml instead. -->

synapse-plugin-helper:debug Command Workflow

Codex Adaptation

  • Treat the user request or explicitly supplied text as the command arguments.
  • Use the available Codex file, search, terminal, and clarification capabilities that match the workflow.
  • Do not depend on Claude-only slash command variables or tool names.

Debug Synapse Plugin

Diagnose and resolve common issues with Synapse plugins.

Arguments: the user request or explicit arguments

Workflow

Step 1: Identify Problem

If error message provided in the user request or explicit arguments:

  • Parse the error type and message
  • Identify likely cause

If no specific error:

  • Ask user to describe the issue
  • Run diagnostic checks

Step 2: Run Diagnostic Checks

Execute these checks in order:

1. Config Validation

# Check config.yaml or synapse.yaml exists and is valid
CONFIG_FILE=config.yaml
if [ -f synapse.yaml ]; then CONFIG_FILE=synapse.yaml; fi
cat "$CONFIG_FILE"

Verify:

  • name and code fields present
  • actions section defined
  • Entrypoints use correct format (module:ClassName or module.function)

2. Entrypoint Verification

# Check entrypoint files exist
python -c "from [module] import [class]"

Verify:

  • Module file exists
  • Class/function is importable
  • No syntax errors

3. Dependency Check

# Verify requirements installed
pip check
pip list | grep -E "synapse|pydantic|ray"

Verify:

  • synapse-sdk installed
  • pydantic installed
  • All requirements.txt packages installed

4. Parameter Schema Check

# Validate Pydantic models
python -c "from [module] import [ParamsClass]; print([ParamsClass].model_json_schema())"

Step 3: Common Issues & Solutions

ErrorCauseSolution
ModuleNotFoundErrorMissing dependencypip install -r requirements.txt
ImportError: cannot importWrong entrypoint pathCheck module.path:ClassName format
ValidationErrorInvalid parametersCheck Pydantic model types
RuntimeContextErrorMissing contextEnsure action receives ctx parameter
ConfigError: invalid actionWrong method typeUse job, task, or serve
Warning: config out of syncEntry points/types driftedRun synapse plugin update-config

Step 4: Detailed Analysis

If automated checks don't find issue:

  1. Use the troubleshooter agent for deeper analysis
  2. Check logs with /synapse-plugin:logs
  3. Review recent changes in config.yaml or action code

Step 5: Provide Solution

After identifying the issue:

  1. Explain the root cause
  2. Provide specific fix instructions
  3. Show corrected code if applicable
  4. Suggest prevention measures

Quick Fixes

Fix import errors:

export PYTHONPATH="${PYTHONPATH}:$(pwd)"

Fix missing synapse-sdk:

pip install synapse-sdk

Fix config.yaml formatting:

python -c "import yaml; yaml.safe_load(open('config.yaml'))"

Sync config with code:

synapse plugin update-config

Invoke Troubleshooter Agent

For complex issues, the troubleshooter agent provides:

  • Deep error log analysis
  • Pattern matching against known issues
  • Web search for similar problems
  • Step-by-step resolution guidance

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.