oh-my-codex-cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/skills/agent-kb/HOW_TO_USE.md +428 -0
- package/.agent/skills/agent-kb/README.md +46 -0
- package/.agent/skills/agent-kb/SKILL.md +128 -0
- package/.agent/skills/agent-kb/references/intelligent-analysis-explained.md +333 -0
- package/.agent/skills/agent-kb/references/query-optimization.md +225 -0
- package/.agent/skills/aireview/SKILL.md +704 -0
- package/.agent/skills/analyze/SKILL.md +81 -0
- package/.agent/skills/architect-planner/HOW_TO_USE.md +238 -0
- package/.agent/skills/architect-planner/README.md +41 -0
- package/.agent/skills/architect-planner/SKILL.md +539 -0
- package/.agent/skills/auto-mbti/SKILL.md +291 -0
- package/.agent/skills/autopilot/SKILL.md +222 -0
- package/.agent/skills/backend-patterns/SKILL.md +602 -0
- package/.agent/skills/bdd-generator/README.md +78 -0
- package/.agent/skills/bdd-generator/SKILL.md +436 -0
- package/.agent/skills/brainstorming/HOW_TO_USE.md +289 -0
- package/.agent/skills/brainstorming/README.md +41 -0
- package/.agent/skills/brainstorming/SKILL.md +165 -0
- package/.agent/skills/build-fix/SKILL.md +190 -0
- package/.agent/skills/cancel/SKILL.md +658 -0
- package/.agent/skills/checkpoint/SKILL.md +94 -0
- package/.agent/skills/code-review/SKILL.md +273 -0
- package/.agent/skills/coding-standards/SKILL.md +535 -0
- package/.agent/skills/conductor/SKILL.md +128 -0
- package/.agent/skills/conductor/commands/conductor/implement.toml +358 -0
- package/.agent/skills/conductor/commands/conductor/newTrack.toml +142 -0
- package/.agent/skills/conductor/commands/conductor/revert.toml +123 -0
- package/.agent/skills/conductor/commands/conductor/setup.toml +429 -0
- package/.agent/skills/conductor/commands/conductor/status.toml +57 -0
- package/.agent/skills/conductor/scripts/install.sh +89 -0
- package/.agent/skills/conductor/templates/code_styleguides/csharp.md +115 -0
- package/.agent/skills/conductor/templates/code_styleguides/dart.md +238 -0
- package/.agent/skills/conductor/templates/code_styleguides/general.md +23 -0
- package/.agent/skills/conductor/templates/code_styleguides/go.md +48 -0
- package/.agent/skills/conductor/templates/code_styleguides/html-css.md +49 -0
- package/.agent/skills/conductor/templates/code_styleguides/javascript.md +51 -0
- package/.agent/skills/conductor/templates/code_styleguides/python.md +37 -0
- package/.agent/skills/conductor/templates/code_styleguides/typescript.md +43 -0
- package/.agent/skills/conductor/templates/rules/README.md +23 -0
- package/.agent/skills/conductor/templates/rules/agents.md +49 -0
- package/.agent/skills/conductor/templates/rules/coding-style.md +70 -0
- package/.agent/skills/conductor/templates/rules/dev.md +20 -0
- package/.agent/skills/conductor/templates/rules/git-workflow.md +45 -0
- package/.agent/skills/conductor/templates/rules/hooks.md +6 -0
- package/.agent/skills/conductor/templates/rules/patterns.md +55 -0
- package/.agent/skills/conductor/templates/rules/performance.md +47 -0
- package/.agent/skills/conductor/templates/rules/research.md +26 -0
- package/.agent/skills/conductor/templates/rules/review.md +22 -0
- package/.agent/skills/conductor/templates/rules/security.md +36 -0
- package/.agent/skills/conductor/templates/rules/testing.md +30 -0
- package/.agent/skills/conductor/templates/workflow.md +333 -0
- package/.agent/skills/consensus/HOW_TO_USE.md +191 -0
- package/.agent/skills/consensus/README.md +41 -0
- package/.agent/skills/consensus/SKILL.md +317 -0
- package/.agent/skills/content-research-writer/SKILL.md +537 -0
- package/.agent/skills/debug-analysis/SKILL.md +331 -0
- package/.agent/skills/deepinit/SKILL.md +347 -0
- package/.agent/skills/deepsearch/SKILL.md +56 -0
- package/.agent/skills/doctor/SKILL.md +158 -0
- package/.agent/skills/drawio/EXAMPLES.md +382 -0
- package/.agent/skills/drawio/QUICK_START.md +237 -0
- package/.agent/skills/drawio/README.md +315 -0
- package/.agent/skills/drawio/SETUP_GUIDE.md +254 -0
- package/.agent/skills/drawio/SKILL.md +1176 -0
- package/.agent/skills/e2e/SKILL.md +396 -0
- package/.agent/skills/ecomode/SKILL.md +160 -0
- package/.agent/skills/electron-driver/SKILL.md +144 -0
- package/.agent/skills/electron-driver/scripts/driver-template.js +71 -0
- package/.agent/skills/eval/SKILL.md +140 -0
- package/.agent/skills/eval-harness/SKILL.md +242 -0
- package/.agent/skills/evolve/SKILL.md +213 -0
- package/.agent/skills/frontend-design/SKILL.md +42 -0
- package/.agent/skills/frontend-patterns/SKILL.md +646 -0
- package/.agent/skills/frontend-ui-ux/SKILL.md +70 -0
- package/.agent/skills/git-master/SKILL.md +75 -0
- package/.agent/skills/help/SKILL.md +89 -0
- package/.agent/skills/iterative-retrieval/SKILL.md +217 -0
- package/.agent/skills/local-skills-setup/SKILL.md +483 -0
- package/.agent/skills/log-analyzer/SKILL.md +187 -0
- package/.agent/skills/mcp-setup/SKILL.md +226 -0
- package/.agent/skills/multi-model-research/HOW_TO_USE.md +614 -0
- package/.agent/skills/multi-model-research/README.md +233 -0
- package/.agent/skills/multi-model-research/SKILL.md +541 -0
- package/.agent/skills/multi-model-research/references/troubleshooting.md +415 -0
- package/.agent/skills/note/SKILL.md +80 -0
- package/.agent/skills/omc-setup/SKILL.md +219 -0
- package/.agent/skills/orchestrate/SKILL.md +620 -0
- package/.agent/skills/patent-workflow/IMPLEMENTATION_SUMMARY.md +500 -0
- package/.agent/skills/patent-workflow/README.md +455 -0
- package/.agent/skills/patent-workflow/SKILL.md +1036 -0
- package/.agent/skills/patent-workflow/tools/irr_checker.py +260 -0
- package/.agent/skills/patent-workflow/tools/sample_terminology.json +49 -0
- package/.agent/skills/patent-workflow/tools/term_checker.py +355 -0
- package/.agent/skills/pattern-recognition/SKILL.md +792 -0
- package/.agent/skills/pipeline/SKILL.md +448 -0
- package/.agent/skills/plan/SKILL.md +309 -0
- package/.agent/skills/planning-methodology/SKILL.md +370 -0
- package/.agent/skills/planning-with-files/SKILL.md +210 -0
- package/.agent/skills/planning-with-files/examples.md +202 -0
- package/.agent/skills/planning-with-files/reference.md +218 -0
- package/.agent/skills/planning-with-files/scripts/check-complete.ps1 +42 -0
- package/.agent/skills/planning-with-files/scripts/check-complete.sh +44 -0
- package/.agent/skills/planning-with-files/scripts/init-session.ps1 +120 -0
- package/.agent/skills/planning-with-files/scripts/init-session.sh +120 -0
- package/.agent/skills/planning-with-files/scripts/session-catchup.py +208 -0
- package/.agent/skills/planning-with-files/templates/findings.md +95 -0
- package/.agent/skills/planning-with-files/templates/progress.md +114 -0
- package/.agent/skills/planning-with-files/templates/task_plan.md +132 -0
- package/.agent/skills/project-analyze/CLAUDE.md +18 -0
- package/.agent/skills/project-analyze/HOW_TO_USE.md +145 -0
- package/.agent/skills/project-analyze/README.md +42 -0
- package/.agent/skills/project-analyze/SKILL.md +289 -0
- package/.agent/skills/project-analyze/SKILL.md.backup +287 -0
- package/.agent/skills/project-analyze/SKILL.md.backup_20260105_093646 +287 -0
- package/.agent/skills/project-analyze/assets/analysis-report-template.md +433 -0
- package/.agent/skills/project-analyze/references/analysis-patterns.md +422 -0
- package/.agent/skills/project-analyze/references/projectmind-explained.md +535 -0
- package/.agent/skills/project-session-manager/SKILL.md +428 -0
- package/.agent/skills/project-session-manager/lib/config.sh +86 -0
- package/.agent/skills/project-session-manager/lib/parse.sh +121 -0
- package/.agent/skills/project-session-manager/lib/session.sh +132 -0
- package/.agent/skills/project-session-manager/lib/tmux.sh +103 -0
- package/.agent/skills/project-session-manager/lib/worktree.sh +171 -0
- package/.agent/skills/project-session-manager/psm.sh +629 -0
- package/.agent/skills/project-session-manager/templates/feature.md +56 -0
- package/.agent/skills/project-session-manager/templates/issue-fix.md +57 -0
- package/.agent/skills/project-session-manager/templates/pr-review.md +65 -0
- package/.agent/skills/project-session-manager/templates/projects.json +19 -0
- package/.agent/skills/quality-check/HOW_TO_USE.md +171 -0
- package/.agent/skills/quality-check/README.md +50 -0
- package/.agent/skills/quality-check/SKILL.md +240 -0
- package/.agent/skills/quality-check/SKILL.md.backup +238 -0
- package/.agent/skills/quality-check/SKILL.md.backup_20260105_093646 +238 -0
- package/.agent/skills/quality-check/assets/quality-report-template.md +437 -0
- package/.agent/skills/quality-check/references/refactoring-patterns.md +550 -0
- package/.agent/skills/quality-check/references/scoring-criteria.md +454 -0
- package/.agent/skills/quality-validation/SKILL.md +519 -0
- package/.agent/skills/quality-validation/SKILL.md.backup +573 -0
- package/.agent/skills/quality-validation/SKILL.md.backup_20260105_093646 +573 -0
- package/.agent/skills/ralph/SKILL.md +236 -0
- package/.agent/skills/ralph-init/SKILL.md +78 -0
- package/.agent/skills/ralplan/SKILL.md +58 -0
- package/.agent/skills/refactor-clean/SKILL.md +49 -0
- package/.agent/skills/release/SKILL.md +84 -0
- package/.agent/skills/research/SKILL.md +526 -0
- package/.agent/skills/research-methodology/SKILL.md +268 -0
- package/.agent/skills/review/SKILL.md +53 -0
- package/.agent/skills/security-review/SKILL.md +509 -0
- package/.agent/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/.agent/skills/setup-pm/SKILL.md +102 -0
- package/.agent/skills/skill/SKILL.md +424 -0
- package/.agent/skills/skill-create/SKILL.md +209 -0
- package/.agent/skills/skill-debugger/HOW_TO_USE.md +244 -0
- package/.agent/skills/skill-debugger/README.md +44 -0
- package/.agent/skills/skill-debugger/SKILL.md +326 -0
- package/.agent/skills/skill-debugger/diagnostic_checklist.md +115 -0
- package/.agent/skills/skill-development/SKILL.md +661 -0
- package/.agent/skills/skill-development/references/skill-creator-original.md +209 -0
- package/.agent/skills/skill-doc-generator/README.md +37 -0
- package/.agent/skills/skill-doc-generator/SKILL.md +331 -0
- package/.agent/skills/skill-quality-analyzer/HOW_TO_USE.md +243 -0
- package/.agent/skills/skill-quality-analyzer/README.md +61 -0
- package/.agent/skills/skill-quality-analyzer/SKILL.md +247 -0
- package/.agent/skills/skill-quality-analyzer/analyzer.py +209 -0
- package/.agent/skills/skill-quality-analyzer/expected_output.json +81 -0
- package/.agent/skills/skill-quality-analyzer/sample_input.json +9 -0
- package/.agent/skills/skill-tester/README.md +46 -0
- package/.agent/skills/skill-tester/SKILL.md +345 -0
- package/.agent/skills/start-dev/SKILL.md +701 -0
- package/.agent/skills/swarm/SKILL.md +691 -0
- package/.agent/skills/task-kb-lookup/SKILL.md +211 -0
- package/.agent/skills/task-kb-record/SKILL.md +417 -0
- package/.agent/skills/tdd/SKILL.md +446 -0
- package/.agent/skills/tdd-generator/DEMO.md +516 -0
- package/.agent/skills/tdd-generator/README.md +89 -0
- package/.agent/skills/tdd-generator/SKILL.md +278 -0
- package/.agent/skills/tdd-workflow/SKILL.md +424 -0
- package/.agent/skills/test-coverage/SKILL.md +48 -0
- package/.agent/skills/thinkdeep/HOW_TO_USE.md +183 -0
- package/.agent/skills/thinkdeep/README.md +41 -0
- package/.agent/skills/thinkdeep/SKILL.md +343 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
- package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/skills/ui-ux-pro-max/scripts/core.py +236 -0
- package/.agent/skills/ui-ux-pro-max/scripts/search.py +61 -0
- package/.agent/skills/ultrapilot/SKILL.md +647 -0
- package/.agent/skills/ultraqa/SKILL.md +152 -0
- package/.agent/skills/ultrawork/SKILL.md +123 -0
- package/.agent/skills/update-codemaps/SKILL.md +38 -0
- package/.agent/skills/update-docs/SKILL.md +52 -0
- package/.agent/skills/verification-loop/SKILL.md +140 -0
- package/.agent/skills/verify/SKILL.md +80 -0
- package/.agent/skills/writer-memory/SKILL.md +459 -0
- package/.agent/skills/writer-memory/lib/character-tracker.ts +338 -0
- package/.agent/skills/writer-memory/lib/memory-manager.ts +804 -0
- package/.agent/skills/writer-memory/lib/relationship-graph.ts +400 -0
- package/.agent/skills/writer-memory/lib/scene-organizer.ts +544 -0
- package/.agent/skills/writer-memory/lib/synopsis-builder.ts +339 -0
- package/.agent/skills/writer-memory/templates/synopsis-template.md +46 -0
- package/.governance/skill-lint.allowlist +4 -0
- package/.governance/skill-llm.allowlist +4 -0
- package/AGENTS.md +59 -0
- package/LICENSE +21 -0
- package/README.md +169 -0
- package/README.zh.md +145 -0
- package/bin/omcodex.js +8 -0
- package/commands/conductor/implement.toml +358 -0
- package/commands/conductor/newTrack.toml +142 -0
- package/commands/conductor/revert.toml +123 -0
- package/commands/conductor/setup.toml +429 -0
- package/commands/conductor/status.toml +57 -0
- package/docs/ALIGNMENT.md +40 -0
- package/docs/CODEX.md +133 -0
- package/docs/NOTIFY.md +81 -0
- package/docs/SKILL_GOVERNANCE.md +72 -0
- package/docs/SKILL_GOVERNANCE_FRAMEWORK.md +182 -0
- package/docs/SKILL_GOVERNANCE_FRAMEWORK.zh.md +170 -0
- package/package.json +50 -0
- package/prompts/architect.md +105 -0
- package/prompts/executor.md +134 -0
- package/prompts/planner.md +113 -0
- package/scripts/check-skill-governance.sh +84 -0
- package/scripts/check-skill-llm-governance.js +302 -0
- package/scripts/eval-skills.js +217 -0
- package/scripts/generate-catalog-docs.js +95 -0
- package/scripts/generate-codex-mcp-config.sh +22 -0
- package/scripts/install-codex-force.sh +5 -0
- package/scripts/install-codex-incremental.sh +5 -0
- package/scripts/install-codex.sh +79 -0
- package/scripts/notify-dispatch.js +15 -0
- package/scripts/setup-package-manager.js +137 -0
- package/src/catalog/generated/public-catalog.json +547 -0
- package/src/catalog/manifest.json +542 -0
- package/src/catalog/reader.js +43 -0
- package/src/catalog/schema.js +79 -0
- package/src/cli/doctor.js +62 -0
- package/src/cli/index.js +85 -0
- package/src/cli/notify.js +127 -0
- package/src/cli/route.js +43 -0
- package/src/cli/setup.js +155 -0
- package/src/cli/team.js +125 -0
- package/src/config/generator.js +119 -0
- package/src/mcp/memory-server.js +241 -0
- package/src/mcp/state-server.js +112 -0
- package/src/mcp/trace-server.js +168 -0
- package/src/notify/dispatch.js +74 -0
- package/src/notify/extensibility/dispatcher.js +113 -0
- package/src/notify/extensibility/events.js +15 -0
- package/src/notify/extensibility/loader.js +54 -0
- package/src/router/skill-router.js +90 -0
- package/src/team/auto-advance.js +72 -0
- package/src/team/orchestrator.js +82 -0
- package/src/team/state-store.js +33 -0
- package/src/utils/paths.js +33 -0
- package/templates/AGENTS.md +15 -0
- package/templates/catalog-manifest.json +542 -0
- package/templates/code_styleguides/csharp.md +115 -0
- package/templates/code_styleguides/dart.md +238 -0
- package/templates/code_styleguides/general.md +23 -0
- package/templates/code_styleguides/go.md +48 -0
- package/templates/code_styleguides/html-css.md +49 -0
- package/templates/code_styleguides/javascript.md +51 -0
- package/templates/code_styleguides/python.md +37 -0
- package/templates/code_styleguides/typescript.md +43 -0
- package/templates/rules/README.md +23 -0
- package/templates/rules/agents.md +49 -0
- package/templates/rules/coding-style.md +70 -0
- package/templates/rules/dev.md +20 -0
- package/templates/rules/git-workflow.md +45 -0
- package/templates/rules/notify.md +6 -0
- package/templates/rules/patterns.md +55 -0
- package/templates/rules/performance.md +47 -0
- package/templates/rules/research.md +26 -0
- package/templates/rules/review.md +22 -0
- package/templates/rules/security.md +36 -0
- package/templates/rules/testing.md +30 -0
- package/templates/workflow.md +333 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
# How to Use Skill Debugger
|
|
2
|
+
|
|
3
|
+
## Problem: "My skill never triggers"
|
|
4
|
+
|
|
5
|
+
### Scenario 1: Vague Description
|
|
6
|
+
|
|
7
|
+
**Symptom**:
|
|
8
|
+
```
|
|
9
|
+
User: "Help me analyze this code"
|
|
10
|
+
Claude Code: *Uses general capabilities, not your code-analyzer skill*
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
**Debug**:
|
|
14
|
+
```
|
|
15
|
+
"Why doesn't my code-analyzer skill trigger?"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**Claude Code's Response**:
|
|
19
|
+
```
|
|
20
|
+
Analyzing code-analyzer skill...
|
|
21
|
+
|
|
22
|
+
Issue Found: Description too vague
|
|
23
|
+
Current: "Helps analyze code"
|
|
24
|
+
Problem: Doesn't mention what kind of analysis or when to use
|
|
25
|
+
|
|
26
|
+
Fix: Update description to:
|
|
27
|
+
"Performs static code quality analysis with complexity metrics, code smell detection, and refactoring suggestions"
|
|
28
|
+
|
|
29
|
+
This adds keywords: quality, metrics, code smell, refactoring
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Scenario 2: Missing Trigger Keywords
|
|
33
|
+
|
|
34
|
+
**Symptom**:
|
|
35
|
+
```
|
|
36
|
+
User: "Calculate financial ratios for this company"
|
|
37
|
+
Claude Code: *Doesn't use financial-analyzer skill*
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Debug**:
|
|
41
|
+
```
|
|
42
|
+
"I asked 'calculate financial ratios' but financial-analyzer didn't trigger. Why?"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Claude Code's Response**:
|
|
46
|
+
```
|
|
47
|
+
Description Analysis:
|
|
48
|
+
Current: "Analyzes financial data"
|
|
49
|
+
Missing keywords: ratios, valuation, investment, DCF, ROE, ROA
|
|
50
|
+
|
|
51
|
+
Your query used: "calculate financial ratios"
|
|
52
|
+
Skill description doesn't contain: "ratios" or "calculate"
|
|
53
|
+
|
|
54
|
+
Fix: Add to description:
|
|
55
|
+
"Calculates financial ratios (P/E, ROE, ROA) and performs DCF valuation for investment analysis"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Scenario 3: Skill Conflicts
|
|
59
|
+
|
|
60
|
+
**Symptom**:
|
|
61
|
+
```
|
|
62
|
+
User: "Review this code for quality"
|
|
63
|
+
Claude Code: *Uses general code-review, not your specialized quality-analyzer*
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
**Debug**:
|
|
67
|
+
```
|
|
68
|
+
"Why does code-review trigger instead of quality-analyzer?"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Claude Code's Response**:
|
|
72
|
+
```
|
|
73
|
+
Conflict Detected:
|
|
74
|
+
|
|
75
|
+
code-review: "Reviews code for quality, bugs, and best practices"
|
|
76
|
+
quality-analyzer: "Analyzes code quality"
|
|
77
|
+
|
|
78
|
+
Both mention "code quality" - ambiguous!
|
|
79
|
+
|
|
80
|
+
Recommendations:
|
|
81
|
+
- code-review: "Reviews pull requests for bugs, security, and style"
|
|
82
|
+
- quality-analyzer: "Calculates code quality metrics (complexity, maintainability, test coverage)"
|
|
83
|
+
|
|
84
|
+
Differentiation: code-review for PRs, quality-analyzer for metrics
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Step-by-Step Debugging
|
|
88
|
+
|
|
89
|
+
### Step 1: Verify Installation
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
"Is my aws-solution-architect skill installed correctly?"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**Claude Code checks**:
|
|
96
|
+
- File location: `~/.claude/skills/aws-solution-architect/SKILL.md`
|
|
97
|
+
- YAML validity
|
|
98
|
+
- Name matching
|
|
99
|
+
|
|
100
|
+
### Step 2: Test Description
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
"What would trigger my financial-analyzer skill?"
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Claude Code generates test queries**:
|
|
107
|
+
```
|
|
108
|
+
Based on description "Analyzes financial statements", these should trigger:
|
|
109
|
+
✓ "Analyze this company's financial statements"
|
|
110
|
+
✓ "Help with financial analysis"
|
|
111
|
+
✗ "Calculate P/E ratio" - Missing "ratio" keyword
|
|
112
|
+
✗ "Perform DCF valuation" - Missing "valuation" keyword
|
|
113
|
+
|
|
114
|
+
Add missing keywords to description.
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Step 3: Compare with Conflicts
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
"Do my skills have conflicting descriptions?"
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
**Claude Code compares all skills**:
|
|
124
|
+
```
|
|
125
|
+
Potential Conflicts:
|
|
126
|
+
1. data-analyzer ←→ financial-analyzer
|
|
127
|
+
Overlap: Both say "analyzes data"
|
|
128
|
+
Fix: Make financial-analyzer specific to "financial data"
|
|
129
|
+
|
|
130
|
+
2. code-review ←→ security-scanner
|
|
131
|
+
Overlap: Both mention "security"
|
|
132
|
+
Fix: code-review for "general review", security-scanner for "vulnerability detection"
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Real-World Examples
|
|
136
|
+
|
|
137
|
+
### Example 1: New Skill Not Triggering
|
|
138
|
+
|
|
139
|
+
**Setup**:
|
|
140
|
+
```yaml
|
|
141
|
+
# ~/.claude/skills/seo-optimizer/SKILL.md
|
|
142
|
+
---
|
|
143
|
+
name: seo-optimizer
|
|
144
|
+
description: Helps with SEO
|
|
145
|
+
---
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
**Problem**:
|
|
149
|
+
```
|
|
150
|
+
User: "Optimize this article for search engines"
|
|
151
|
+
Claude Code: *Doesn't use seo-optimizer*
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**Debug Session**:
|
|
155
|
+
```
|
|
156
|
+
User: "Debug why seo-optimizer didn't trigger for 'optimize for search engines'"
|
|
157
|
+
|
|
158
|
+
Claude Code:
|
|
159
|
+
Description Analysis:
|
|
160
|
+
- Current: "Helps with SEO"
|
|
161
|
+
- Your query: "optimize", "search engines"
|
|
162
|
+
- Missing from description: "optimize", "search", "keywords", "meta tags"
|
|
163
|
+
|
|
164
|
+
Description is too brief and vague.
|
|
165
|
+
|
|
166
|
+
Recommended description:
|
|
167
|
+
"Optimizes content for search engines with keyword analysis, meta tag generation, and SEO scoring"
|
|
168
|
+
|
|
169
|
+
This adds: optimize, search engines, keyword, meta tags, SEO - matching natural queries
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**After Fix**:
|
|
173
|
+
```yaml
|
|
174
|
+
description: Optimizes content for search engines with keyword analysis, meta tag generation, and SEO scoring
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Example 2: Wrong Skill Triggering
|
|
178
|
+
|
|
179
|
+
**Setup**:
|
|
180
|
+
```yaml
|
|
181
|
+
# Skill 1
|
|
182
|
+
name: image-editor
|
|
183
|
+
description: Edits and processes images
|
|
184
|
+
|
|
185
|
+
# Skill 2
|
|
186
|
+
name: photo-enhancer
|
|
187
|
+
description: Enhances photos
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**Problem**:
|
|
191
|
+
```
|
|
192
|
+
User: "Enhance this photo's colors"
|
|
193
|
+
Claude Code: *Uses image-editor instead of photo-enhancer*
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
**Debug**:
|
|
197
|
+
```
|
|
198
|
+
User: "Why does image-editor trigger instead of photo-enhancer for photo enhancement?"
|
|
199
|
+
|
|
200
|
+
Claude Code:
|
|
201
|
+
Overlap Analysis:
|
|
202
|
+
- Both mention image/photo processing
|
|
203
|
+
- "image-editor" description is more general
|
|
204
|
+
- "photo-enhancer" description doesn't mention "colors", "exposure", etc.
|
|
205
|
+
|
|
206
|
+
Claude Code chooses more general skill when uncertain.
|
|
207
|
+
|
|
208
|
+
Fix:
|
|
209
|
+
- image-editor: "Edits images with cropping, resizing, rotation, and format conversion"
|
|
210
|
+
- photo-enhancer: "Enhances photo quality with color correction, exposure adjustment, and noise reduction"
|
|
211
|
+
|
|
212
|
+
Now "enhance photo colors" clearly matches photo-enhancer keywords.
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Quick Reference
|
|
216
|
+
|
|
217
|
+
### Debugging Commands
|
|
218
|
+
|
|
219
|
+
| Command | What It Does |
|
|
220
|
+
|---------|--------------|
|
|
221
|
+
| `"Debug [skill-name]"` | Full diagnostic |
|
|
222
|
+
| `"Why doesn't [skill-name] trigger?"` | Analyze description |
|
|
223
|
+
| `"What triggers [skill-name]?"` | Generate test queries |
|
|
224
|
+
| `"Check skill conflicts"` | Find overlapping skills |
|
|
225
|
+
| `"Is [skill-name] installed?"` | Verify installation |
|
|
226
|
+
|
|
227
|
+
### Common Fixes
|
|
228
|
+
|
|
229
|
+
| Problem | Fix |
|
|
230
|
+
|---------|-----|
|
|
231
|
+
| Too vague | Add specific keywords and use cases |
|
|
232
|
+
| No triggers | Add words users would naturally say |
|
|
233
|
+
| Wrong skill triggers | Differentiate descriptions |
|
|
234
|
+
| Skill not found | Check installation path and name |
|
|
235
|
+
| Never triggers | Add "When to Use" section |
|
|
236
|
+
|
|
237
|
+
## Pro Tips
|
|
238
|
+
|
|
239
|
+
1. **Think Like a User**: Would you say these words?
|
|
240
|
+
2. **Be Specific**: Don't say "helps with" - say exactly what it does
|
|
241
|
+
3. **Add Use Cases**: "for investment analysis" clarifies when to use
|
|
242
|
+
4. **Avoid Generics**: "code analysis" → "code quality metrics"
|
|
243
|
+
5. **Test Regularly**: Ask Claude Code to suggest trigger phrases
|
|
244
|
+
6. **Iterate**: Debug → Fix → Test → Repeat
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Skill Debugger
|
|
2
|
+
|
|
3
|
+
Debug why your Claude Code skills aren't triggering when they should.
|
|
4
|
+
|
|
5
|
+
## Quick Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
cp -r skill-debugger ~/.claude/skills/
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
"My code-review skill isn't working - debug it"
|
|
15
|
+
"Why doesn't financial-analyzer trigger when I ask about ratios?"
|
|
16
|
+
"Check if my skills have conflicting descriptions"
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## What It Fixes
|
|
20
|
+
|
|
21
|
+
- ❌ Skill exists but never triggers → Improve description
|
|
22
|
+
- ❌ Wrong skill triggers → Fix conflicts
|
|
23
|
+
- ❌ Need to mention skill name explicitly → Add trigger keywords
|
|
24
|
+
- ❌ Skill not found → Fix installation/naming
|
|
25
|
+
|
|
26
|
+
## Common Root Causes
|
|
27
|
+
|
|
28
|
+
1. **Vague description** (80% of cases)
|
|
29
|
+
2. **Missing trigger keywords** (60%)
|
|
30
|
+
3. **Conflicts with other skills** (30%)
|
|
31
|
+
4. **Installation/naming issues** (20%)
|
|
32
|
+
|
|
33
|
+
## Files
|
|
34
|
+
|
|
35
|
+
- `SKILL.md` - Main debugging guide
|
|
36
|
+
- `README.md` - This file
|
|
37
|
+
- `HOW_TO_USE.md` - Detailed examples
|
|
38
|
+
- `diagnostic_checklist.md` - Step-by-step checklist
|
|
39
|
+
|
|
40
|
+
## Related Skills
|
|
41
|
+
|
|
42
|
+
- `skill-quality-analyzer` - Check overall quality
|
|
43
|
+
- `skill-tester` - Test skill functionality
|
|
44
|
+
- `skill-doc-generator` - Improve documentation
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skill-debugger
|
|
3
|
+
description: Debugs why Claude Code skills aren't triggering when expected, analyzing descriptions, trigger conditions, and skill discovery issues
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Skill Debugger
|
|
7
|
+
|
|
8
|
+
Systematic debugging tool for Claude Code skills that aren't triggering as expected. Identifies root causes like poor descriptions, missing trigger words, naming issues, or skill discovery problems.
|
|
9
|
+
|
|
10
|
+
## Agent Workflow
|
|
11
|
+
|
|
12
|
+
To debug effectively, follow this **Hybrid Workflow**:
|
|
13
|
+
|
|
14
|
+
1. **Fact Check (Hard Metrics)**: Use `Glob` and `Read` tools to verify the **target skill's** implementation.
|
|
15
|
+
* Does the folder exist?
|
|
16
|
+
* Does `SKILL.md` exist?
|
|
17
|
+
* Is the YAML frontmatter valid?
|
|
18
|
+
2. **Context Analysis (Soft Metrics)**: Compare the **target skill's** description with the **user's recent prompts**.
|
|
19
|
+
* *Agent Cognition*: "The user asked for 'finance help', but the skill description only says 'data analysis'. That's why it didn't trigger."
|
|
20
|
+
3. **Synthesize**: Report the factual findings (e.g., "File exists") + your semantic diagnosis (e.g., "Description is too vague").
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- **Trigger Analysis**: Examines why a skill isn't being invoked when it should be
|
|
25
|
+
- **Description Evaluation**: Checks if skill description clearly communicates when to use it
|
|
26
|
+
- **Keyword Detection**: Identifies missing or weak trigger keywords in descriptions
|
|
27
|
+
- **Discovery Debugging**: Verifies Claude Code can find and load the skill
|
|
28
|
+
- **Conflict Detection**: Identifies skills with overlapping triggers or descriptions
|
|
29
|
+
- **YAML Validation**: Checks frontmatter format and required fields
|
|
30
|
+
- **Interactive Diagnosis**: Guides through systematic debugging steps
|
|
31
|
+
- **Fix Suggestions**: Provides specific improvements to improve skill triggering
|
|
32
|
+
|
|
33
|
+
## Common Skill Triggering Problems
|
|
34
|
+
|
|
35
|
+
### Problem 1: Vague Description
|
|
36
|
+
**Symptom**: Skill exists but Claude Code never uses it
|
|
37
|
+
**Root Cause**: Description doesn't mention specific use cases or keywords
|
|
38
|
+
**Example**:
|
|
39
|
+
```yaml
|
|
40
|
+
description: Helps with various tasks ❌ Too vague
|
|
41
|
+
description: Analyzes financial ratios from statement data for investment decisions ✅ Specific
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Problem 2: No Clear Trigger Words
|
|
45
|
+
**Symptom**: Need to explicitly mention skill name to invoke it
|
|
46
|
+
**Root Cause**: Description lacks keywords that match user queries
|
|
47
|
+
**Fix**: Add trigger keywords like "financial analysis", "investment", "ratios"
|
|
48
|
+
|
|
49
|
+
### Problem 3: Skill Not Discovered
|
|
50
|
+
**Symptom**: Claude Code says skill doesn't exist
|
|
51
|
+
**Root Cause**: Wrong installation location or invalid SKILL.md
|
|
52
|
+
**Check**: `~/.claude/skills/[name]/SKILL.md`, `.claude/skills/[name]/SKILL.md`, or `.agent/skills/[name]/SKILL.md`
|
|
53
|
+
|
|
54
|
+
### Problem 4: Name Mismatch
|
|
55
|
+
**Symptom**: Skill found but not loaded
|
|
56
|
+
**Root Cause**: YAML `name` doesn't match folder name
|
|
57
|
+
**Fix**: Ensure `name: skill-name` matches folder `skill-name/`
|
|
58
|
+
|
|
59
|
+
### Problem 5: Overlapping Skills
|
|
60
|
+
**Symptom**: Wrong skill triggers instead
|
|
61
|
+
**Root Cause**: Multiple skills with similar descriptions
|
|
62
|
+
**Fix**: Make each description unique and specific
|
|
63
|
+
|
|
64
|
+
## Input Requirements
|
|
65
|
+
|
|
66
|
+
**Basic Debugging**:
|
|
67
|
+
- Skill name or path
|
|
68
|
+
- Expected trigger scenario (what you asked that should have triggered it)
|
|
69
|
+
|
|
70
|
+
**Deep Analysis**:
|
|
71
|
+
- All installed skills paths (for conflict detection)
|
|
72
|
+
- Recent conversation history (to see what Claude Code chose instead)
|
|
73
|
+
|
|
74
|
+
## Output Formats
|
|
75
|
+
|
|
76
|
+
**Quick Diagnosis**:
|
|
77
|
+
```
|
|
78
|
+
Skill: code-review
|
|
79
|
+
Status: ❌ Not triggering
|
|
80
|
+
Root Cause: Description too generic
|
|
81
|
+
Fix: Add specific keywords like "review", "code quality", "pull request"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Detailed Report**:
|
|
85
|
+
```
|
|
86
|
+
=== Skill Debugging Report ===
|
|
87
|
+
|
|
88
|
+
Skill: financial-analyzer
|
|
89
|
+
Path: ~/.claude/skills/financial-analyzer/
|
|
90
|
+
Status: ⚠️ Rarely triggers
|
|
91
|
+
|
|
92
|
+
Issues Found:
|
|
93
|
+
1. [CRITICAL] Description missing use case keywords
|
|
94
|
+
- Current: "Analyzes financial data"
|
|
95
|
+
- Should mention: financial ratios, investment analysis, DCF, valuation
|
|
96
|
+
|
|
97
|
+
2. [HIGH] No "When to Use" section in SKILL.md
|
|
98
|
+
- Claude Code can't determine clear triggering conditions
|
|
99
|
+
|
|
100
|
+
3. [MEDIUM] Overlaps with "data-analyzer" skill
|
|
101
|
+
- Both mention "analyzes data"
|
|
102
|
+
- Make this one specific to finance
|
|
103
|
+
|
|
104
|
+
Recommendations:
|
|
105
|
+
1. Update description to: "Calculates financial ratios and performs DCF valuation analysis for investment decisions"
|
|
106
|
+
2. Add "When to Use" section with examples: "when analyzing company financials", "for investment analysis"
|
|
107
|
+
3. Differentiate from data-analyzer by focusing on financial metrics
|
|
108
|
+
|
|
109
|
+
Expected Improvement: 90% better triggering with these fixes
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**Conflict Matrix**:
|
|
113
|
+
```
|
|
114
|
+
Skills with Overlapping Triggers:
|
|
115
|
+
|
|
116
|
+
code-review ←→ quality-analyzer (both mention "code quality")
|
|
117
|
+
Fix: code-review for PRs, quality-analyzer for metrics
|
|
118
|
+
|
|
119
|
+
data-analyzer ←→ financial-analyzer (both mention "analysis")
|
|
120
|
+
Fix: Make financial-analyzer specific to finance keywords
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Debugging Workflow
|
|
124
|
+
|
|
125
|
+
### Step 1: Verify Skill Exists
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
"Check if my code-review skill is installed correctly"
|
|
129
|
+
"Is the financial-analyzer skill discoverable?"
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Claude Code will:
|
|
133
|
+
- Check file exists at expected location
|
|
134
|
+
- Validate SKILL.md format
|
|
135
|
+
- Verify YAML frontmatter
|
|
136
|
+
|
|
137
|
+
### Step 2: Analyze Description Quality
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
"Why isn't my code-review skill triggering?"
|
|
141
|
+
"Debug the financial-analyzer skill - I asked about ratios but it didn't trigger"
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Claude Code will:
|
|
145
|
+
- Examine description for specificity
|
|
146
|
+
- Check for relevant keywords
|
|
147
|
+
- Compare against your query
|
|
148
|
+
|
|
149
|
+
### Step 3: Test Trigger Scenarios
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
"What should I ask to trigger the code-review skill?"
|
|
153
|
+
"Give me 5 phrases that should invoke financial-analyzer"
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Claude Code will:
|
|
157
|
+
- Generate test queries based on description
|
|
158
|
+
- Identify gaps between description and intended use
|
|
159
|
+
- Suggest description improvements
|
|
160
|
+
|
|
161
|
+
### Step 4: Check for Conflicts
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
"Do any of my skills conflict with code-review?"
|
|
165
|
+
"Why does data-analyzer trigger instead of financial-analyzer?"
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Claude Code will:
|
|
169
|
+
- Compare all skill descriptions
|
|
170
|
+
- Identify overlapping keywords
|
|
171
|
+
- Suggest differentiation strategies
|
|
172
|
+
|
|
173
|
+
## Systematic Debugging Questions
|
|
174
|
+
|
|
175
|
+
When a skill isn't triggering, Claude Code will ask:
|
|
176
|
+
|
|
177
|
+
1. **Installation Check**
|
|
178
|
+
- "Is the skill at `~/.claude/skills/[name]/SKILL.md`, `.claude/skills/[name]/SKILL.md`, or `.agent/skills/[name]/SKILL.md`?"
|
|
179
|
+
- "Does `ls ~/.claude/skills/` show your skill folder?"
|
|
180
|
+
|
|
181
|
+
2. **YAML Validation**
|
|
182
|
+
- "Is the YAML frontmatter properly formatted with `---` delimiters?"
|
|
183
|
+
- "Does the `name:` field match the folder name?"
|
|
184
|
+
- "Is there a `description:` field?"
|
|
185
|
+
|
|
186
|
+
3. **Description Quality**
|
|
187
|
+
- "Does the description mention specific use cases?"
|
|
188
|
+
- "Does it include keywords you'd naturally use?"
|
|
189
|
+
- "Is it specific enough to avoid confusion with other skills?"
|
|
190
|
+
|
|
191
|
+
4. **Content Analysis**
|
|
192
|
+
- "Is there a 'When to Use' or 'Use Cases' section?"
|
|
193
|
+
- "Are there clear usage examples?"
|
|
194
|
+
- "Does the first paragraph explain the purpose?"
|
|
195
|
+
|
|
196
|
+
5. **Conflict Check**
|
|
197
|
+
- "Do other skills have similar descriptions?"
|
|
198
|
+
- "Which skill actually triggered instead?"
|
|
199
|
+
- "How can we differentiate this skill?"
|
|
200
|
+
|
|
201
|
+
## How to Use
|
|
202
|
+
|
|
203
|
+
**Quick Fix**:
|
|
204
|
+
```
|
|
205
|
+
"My code-review skill isn't working"
|
|
206
|
+
"Why doesn't Claude Code use my financial-analyzer?"
|
|
207
|
+
"Debug skill triggering for aws-solution-architect"
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
**Detailed Analysis**:
|
|
211
|
+
```
|
|
212
|
+
"I asked 'analyze this company's financials' but financial-analyzer didn't trigger. Debug it."
|
|
213
|
+
"Compare my code-review and quality-analyzer skills - which should trigger when?"
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**Preventive Check**:
|
|
217
|
+
```
|
|
218
|
+
"Before I install this skill, check if it will trigger correctly"
|
|
219
|
+
"Will my new skill conflict with existing ones?"
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Common Fixes (By Root Cause)
|
|
223
|
+
|
|
224
|
+
### Fix 1: Improve Description Specificity
|
|
225
|
+
**Before**: `description: Helps with code analysis`
|
|
226
|
+
**After**: `description: Performs static code quality analysis with metrics calculation and refactoring suggestions`
|
|
227
|
+
|
|
228
|
+
### Fix 2: Add Trigger Keywords
|
|
229
|
+
Add words users would naturally say:
|
|
230
|
+
- Financial skill: "ratios", "valuation", "DCF", "investment"
|
|
231
|
+
- Code skill: "review", "quality", "refactor", "analyze code"
|
|
232
|
+
- Data skill: "visualization", "trends", "insights", "dashboard"
|
|
233
|
+
|
|
234
|
+
### Fix 3: Add "When to Use" Section
|
|
235
|
+
```markdown
|
|
236
|
+
## When to Use
|
|
237
|
+
|
|
238
|
+
Use this skill when you need to:
|
|
239
|
+
- Analyze company financial statements
|
|
240
|
+
- Calculate financial ratios (P/E, ROE, ROA, etc.)
|
|
241
|
+
- Perform DCF valuation
|
|
242
|
+
- Make investment decisions based on financial data
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### Fix 4: Differentiate from Similar Skills
|
|
246
|
+
If you have `data-analyzer` and `financial-analyzer`:
|
|
247
|
+
- data-analyzer: "for general data analysis and visualization"
|
|
248
|
+
- financial-analyzer: "specifically for financial statement analysis and investment metrics"
|
|
249
|
+
|
|
250
|
+
### Fix 5: Fix Name Mismatch
|
|
251
|
+
Ensure folder name matches YAML name:
|
|
252
|
+
```
|
|
253
|
+
Folder: ~/.claude/skills/code-review/
|
|
254
|
+
YAML: name: code-review ✅
|
|
255
|
+
|
|
256
|
+
Folder: ~/.claude/skills/code-review/
|
|
257
|
+
YAML: name: code_review ❌ Mismatch!
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## Diagnostic Checklist
|
|
261
|
+
|
|
262
|
+
When debugging, Claude Code will check:
|
|
263
|
+
|
|
264
|
+
- [ ] Skill file exists at correct location
|
|
265
|
+
- [ ] SKILL.md has valid YAML frontmatter
|
|
266
|
+
- [ ] `name` in YAML matches folder name
|
|
267
|
+
- [ ] `description` is 50-150 characters
|
|
268
|
+
- [ ] Description includes specific use case keywords
|
|
269
|
+
- [ ] Description mentions when/what/who/why
|
|
270
|
+
- [ ] No vague words (helps, assists, various, many)
|
|
271
|
+
- [ ] "When to Use" or similar section exists
|
|
272
|
+
- [ ] At least 3 usage examples present
|
|
273
|
+
- [ ] No conflicts with other skill descriptions
|
|
274
|
+
- [ ] Trigger keywords match natural language queries
|
|
275
|
+
|
|
276
|
+
## Integration with Other Skills
|
|
277
|
+
|
|
278
|
+
**Works with skill-quality-analyzer**:
|
|
279
|
+
```
|
|
280
|
+
"Run quality analysis on financial-analyzer then debug why it's not triggering"
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
**Works with skill-tester**:
|
|
284
|
+
```
|
|
285
|
+
"Test if code-review skill triggers for 'review this PR'"
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
**Workflow**:
|
|
289
|
+
1. skill-debugger: Identify why not triggering
|
|
290
|
+
2. skill-quality-analyzer: Check overall quality
|
|
291
|
+
3. Fix issues
|
|
292
|
+
4. skill-tester: Verify fix works
|
|
293
|
+
|
|
294
|
+
## Limitations
|
|
295
|
+
|
|
296
|
+
- **Cannot Read Claude Code's Internal Decision Process**: Can only infer based on descriptions
|
|
297
|
+
- **No Real-Time Monitoring**: Can't watch skill selection in action
|
|
298
|
+
- **Heuristic-Based**: Uses patterns, not guaranteed 100% accurate
|
|
299
|
+
- **No Auto-Fix**: Provides recommendations but you must apply them
|
|
300
|
+
- **Context-Dependent**: Triggering also depends on conversation context
|
|
301
|
+
|
|
302
|
+
## When NOT to Use This Skill
|
|
303
|
+
|
|
304
|
+
- **Skill Works Fine**: No debugging needed
|
|
305
|
+
- **Skill Execution Errors**: Use skill-tester for runtime issues
|
|
306
|
+
- **Documentation Issues**: Use skill-doc-generator
|
|
307
|
+
- **Quality Problems**: Use skill-quality-analyzer
|
|
308
|
+
|
|
309
|
+
## Success Metrics
|
|
310
|
+
|
|
311
|
+
After applying fixes, skill should trigger when:
|
|
312
|
+
- User query contains description keywords
|
|
313
|
+
- Use case matches "When to Use" section
|
|
314
|
+
- No more specific skill exists for the query
|
|
315
|
+
|
|
316
|
+
**Expected Trigger Rate**: 80-90% when query clearly matches intended use case
|
|
317
|
+
|
|
318
|
+
## Pro Tips
|
|
319
|
+
|
|
320
|
+
1. **Test Your Descriptions**: Ask "Would I say this naturally?"
|
|
321
|
+
2. **Be Specific**: "financial ratio calculation" > "data analysis"
|
|
322
|
+
3. **Avoid Overlaps**: Each skill should have unique keywords
|
|
323
|
+
4. **Use Examples**: Add 5+ usage examples in SKILL.md
|
|
324
|
+
5. **Think Like Users**: What would you actually ask?
|
|
325
|
+
6. **Regular Audits**: Run debugger on all skills monthly
|
|
326
|
+
7. **Version Descriptions**: Track what works over time
|