OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[Skills] Narrow ov-debug scope to plugin and transformation debugging (#38565)
Maxim Vafin883978e64516
diff --git a/.claude/skills/ov-debug/SKILL.md b/.claude/skills/ov-debug/SKILL.mdindex 3f56dd25787..951307ab792 100644--- a/.claude/skills/ov-debug/SKILL.md+++ b/.claude/skills/ov-debug/SKILL.md@@ -1,10 +1,13 @@---name: ov-debug-description: Troubleshooting all sorts of failures, crashes, exceptions and errors using debug capabilities. Analyze accuracy, performance, model compilation, or memory issues. Dump tensors and intermediate blobs. Serialize and visualize IRs, execution graphs. Enable verbose, logging. Profile execution. Compare layer outputs. Inspect, trace or dump transformations. Identify executed operations, nodes, primitives, kernels.+description: Debug OpenVINO CPU/GPU plugin inference, accuracy, performance, memory, and device compilation issues, or inspect graph transformations, using debug capabilities such as tensor dumps, execution graphs, profiling, and transformation tracing. Do NOT use for frontend model conversion failures (unsupported operators, translation errors, or source-model loading), build/configuration failures, or generic test/CI failures.---# Debug Skill+## Scope+Use this skill when CPU/GPU plugin or graph transformation debug capabilities apply to the observed symptom. Frontend conversion failures are outside its scope; use an applicable frontend skill or investigate the frontend directly. Device compilation here means compiling an OpenVINO model for CPU/GPU execution, not converting a source model into OpenVINO IR.+## PrerequisitesBuild flags that enable debug capabilities (check CMakeCache.txt in the build dir):- `-DENABLE_DEBUG_CAPS=ON` — CPU/GPU plugin debug env vars, transformation matcher logging@@ -15,7 +18,7 @@ Build flags that enable debug capabilities (check CMakeCache.txt in the build di|---------------------------|---------------------------------------|-------------------------------------------------------------------------------|| openvino_intel_cpu_plugin | [@components/debug-intel-cpu-plugin.md](components/debug-intel-cpu-plugin.md) | CPU: inference issues, wrong results, slow inference, tensor dumps, execution graphs || openvino_intel_gpu_plugin | [@components/debug-intel-gpu-plugin.md](components/debug-intel-gpu-plugin.md) | GPU: inference issues, wrong results, slow inference, tensor dumps, execution graphs |-| transformations | [@components/debug-transformations.md](components/debug-transformations.md) | transformation not applied, pass not firing, slow compilation, graph inspection |+| transformations | [@components/debug-transformations.md](components/debug-transformations.md) | transformation not applied, pass not firing, transformation tracing, slow compilation, graph inspection |## Steps1. Match the user's symptom to the routing hints above to identify the component(s)diff --git a/.claude/skills/ov-debug/components/debug-transformations.md b/.claude/skills/ov-debug/components/debug-transformations.mdindex 8a22658a947..55387797c4e 100644--- a/.claude/skills/ov-debug/components/debug-transformations.md+++ b/.claude/skills/ov-debug/components/debug-transformations.md@@ -3,12 +3,12 @@ The debug and troubleshooting of OpenVINO transformations can be performed using# ReferenceRead [src/common/transformations/docs/debug_capabilities/README.md](../../../../src/common/transformations/docs/debug_capabilities/README.md) — use the "When to use" guidance to match the observed problem to the right capability.-# Handoff-If the symptom is specifically a MatcherPass not firing (transformation not applied, pattern not matching, callback never called), hand off to the [`/ov-debug-matcher-pass`](../../ov-debug-matcher-pass/SKILL.md) skill — it provides a deeper automated diagnosis workflow with matcher log analysis and reproducer test generation.+# Specialized diagnosis+For a MatcherPass that does not fire (transformation not applied, pattern not matching, callback never called), consider the [`ov-debug-matcher-pass`](../../ov-debug-matcher-pass/SKILL.md) skill for deeper diagnosis with matcher log analysis and reproducer test generation. The debug capabilities below can also help investigate these symptoms.# Steps1. Read the debug capabilities README2. Match the observed symptom to the relevant "When to use" entries-3. If the issue is a MatcherPass not firing — invoke [`/ov-debug-matcher-pass`](../../ov-debug-matcher-pass/SKILL.md) instead of continuing+3. For a MatcherPass that does not fire, consider the specialized diagnosis skill above4. Read the linked detail doc for the chosen capability5. Use suitable environment variables