Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skill-debugging-assistant

БесплатноЗапускает вложенные скриптыНе проверен

Debug, diagnose, and troubleshoot skill issues including trigger failures, parameter problems, prompt conflicts, and SKILL.md structural issues. Use when…

Exploration-labsот Exploration-labs★ 55 звёзд на GitHub20 установок в других каталогах

Об этом скилле

Skill Debugging Assistant

Overview

This skill helps diagnose why skills aren't triggering or performing as expected. It systematically analyzes trigger patterns, parameter issues, prompt conflicts, and structural problems to identify root causes and recommend fixes.

When to Use This Skill

Use this skill when encountering any of these issues:

  • Skill doesn't trigger when expected
  • Skill triggers incorrectly or at wrong times
  • Skill behavior doesn't match description
  • Conflicts between skill instructions and system prompts
  • Unclear when to load references vs. include in SKILL.md
  • Validation errors during packaging
  • Skill works inconsistently across similar queries

Diagnostic Workflow

Follow this decision tree to diagnose skill issues:

1. Identify the Problem Type

Skill not triggering? → Go to "Trigger Failure Diagnostics"

Skill triggering incorrectly? → Go to "False Positive Diagnostics"

Skill behavior unexpected? → Go to "Instruction Conflict Diagnostics"

Packaging/validation errors? → Go to "Structure Validation"

General review needed? → Go to "Comprehensive Audit"

2. Trigger Failure Diagnostics

When a skill should trigger but doesn't, analyze in this order:

Step 1: Analyze the description field

  • Read the skill's frontmatter description
  • Check if description mentions the user's query terms or conceptual triggers
  • Verify description includes WHEN to use the skill, not just WHAT it does
  • Confirm description is specific enough to differentiate from other skills

Step 2: Check description quality

  • Does it include key terms the user would naturally use?
  • Does it specify triggers (file types, tasks, scenarios)?
  • Is it comprehensive enough for selection among 100+ skills?
  • Are the trigger scenarios clear and unambiguous?

Step 3: Review competing skills

  • Identify other skills with overlapping descriptions
  • Determine if another skill's description better matches the query
  • Check if trigger patterns are too similar between skills

Step 4: Test edge cases

  • Would the skill trigger for paraphrased versions of the query?
  • Does it cover related terminology and synonyms?
  • Are there implicit assumptions about when it should trigger?

Common fixes:

  • Add specific trigger terms to description
  • Include file type indicators (.docx, .pdf, .json)
  • Specify task types (create, edit, analyze, debug)
  • Add domain indicators (finance, legal, technical)
  • Include synonym terms users might naturally use

3. False Positive Diagnostics

When a skill triggers when it shouldn't:

Step 1: Check description over-breadth

  • Is the description too general?
  • Does it use broad terms that match many queries?
  • Are there missing qualifiers or constraints?

Step 2: Review instruction conflicts

  • Do instructions apply too broadly within SKILL.md?
  • Are there "always" or "never" statements that override context?
  • Does the skill assume it should handle something beyond its scope?

Common fixes:

  • Narrow description scope with specific qualifiers
  • Add exclusion indicators (e.g., "not for X")
  • Move broad utility functions to scripts rather than main workflow
  • Add conditional logic: "Only when..." or "If and only if..."

4. Instruction Conflict Diagnostics

When skill behavior contradicts expected results:

Step 1: Read SKILL.md completely

  • Check for absolute statements (always, never, must, required)
  • Identify instructions that might conflict with system prompt
  • Look for contradictory instructions within the skill

Step 2: Analyze instruction priority

  • Are there competing instructions without clear precedence?
  • Do examples contradict written rules?
  • Is the desired behavior stated clearly vs. implied?

Step 3: Check progressive disclosure structure

  • Is critical information buried in references that weren't loaded?
  • Should certain instructions be in SKILL.md instead of references?
  • Are references clearly indicated when they're needed?

Common fixes:

  • Replace absolutes with conditionals
  • Add explicit precedence rules
  • Move critical instructions from references to SKILL.md
  • Clarify when to load each reference file
  • Use "Prefer X, unless Y" instead of "Always X"

5. Structure Validation

Run automated and manual checks:

Automated validation:

python3 scripts/validate_skill.py path/to/skill-folder

Manual checks:

  • YAML frontmatter properly formatted (name and description present)
  • Name follows kebab-case convention
  • Description is comprehensive (>50 chars) and specific
  • SKILL.md under 500 lines (split to references if needed)
  • References clearly indicated in SKILL.md when needed
  • No extraneous files (README.md, CHANGELOG.md, etc.)
  • Assets/scripts tested and functional

Common structural issues:

  • Missing or malformed YAML frontmatter
  • Description too vague or too brief
  • SKILL.md exceeds token budget (>500 lines)
  • References not mentioned in SKILL.md
  • Unused example files
Полный SKILL.md на GitHub

Установить skill-debugging-assistant в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/common-issues.mdscripts/validate_skill.py

FAQ

Что делает скилл skill-debugging-assistant?

Debug, diagnose, and troubleshoot skill issues including trigger failures, parameter problems, prompt conflicts, and SKILL.md structural issues. Use when skills don't activate as expected, trigger incorrectly, produce unexpected behavior, conflict with system instructions, or fail packaging validation. Analyzes YAML frontmatter, descriptions, progressive disclosure, token budget, absolute statements, and reference file organization. For skill creators reviewing, validating, or fixing skill problems.

Как установить скилл skill-debugging-assistant?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skill-debugging-assistant запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить skill-debugging-assistant с