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
[AGENTS] Introduce 'debug' skill (#35060)
Egor Duplenskii8d79c95fce97
diff --git a/.agents/skills b/.agents/skillsnew file mode 120000index 00000000000..454b8427cd7--- /dev/null+++ b/.agents/skills@@ -0,0 +1 @@+../.claude/skills\ No newline at end of filediff --git a/.agents/skills/debug-matcher-pass/SKILL.md b/.claude/skills/debug-matcher-pass/SKILL.mdsimilarity index 100%rename from .agents/skills/debug-matcher-pass/SKILL.mdrename to .claude/skills/debug-matcher-pass/SKILL.mddiff --git a/.agents/skills/debug-matcher-pass/references/example-diagnosis-report.md b/.claude/skills/debug-matcher-pass/references/example-diagnosis-report.mdsimilarity index 100%rename from .agents/skills/debug-matcher-pass/references/example-diagnosis-report.mdrename to .claude/skills/debug-matcher-pass/references/example-diagnosis-report.mddiff --git a/.claude/skills/debug/SKILL.md b/.claude/skills/debug/SKILL.mdnew file mode 100644index 00000000000..c42898cd708--- /dev/null+++ b/.claude/skills/debug/SKILL.md@@ -0,0 +1,22 @@+---+name: debug+description: Troubleshooting all sorts of failures, crashes, exceptions and errors using debug capabilities. Analyze accuracy, performance, or memory issues. Dump tensors and intermediate blobs. Serialize IRs, execution graphs. Enable verbose, logging. Profile execution. Compare layer outputs. Inspect, trace or dump transformations. Identify executed operations, nodes, primitives, kernels.+---++# Debug Skill++## Prerequisites+Many debug env vars require the build flag `-DENABLE_DEBUG_CAPS=ON`.+Before suggesting env vars, verify the build was configured with this flag+(check CMakeCache.txt in the build dir).++## Components++| Component | Reference file to read |+|---------------------------|---------------------------------------|+| openvino_intel_cpu_plugin | @components/debug-intel-cpu-plugin.md |+| openvino_intel_gpu_plugin | @components/debug-intel-gpu-plugin.md |++## Steps+1. Identify the component (or multiple components), then load its reference file+2. Use the instructions and recommendations for debuggingdiff --git a/.claude/skills/debug/components/debug-intel-cpu-plugin.md b/.claude/skills/debug/components/debug-intel-cpu-plugin.mdnew file mode 100644index 00000000000..07646312dc9--- /dev/null+++ b/.claude/skills/debug/components/debug-intel-cpu-plugin.md@@ -0,0 +1,8 @@+The debug and troubleshooting can be performed using various debug capabilities activated via environment variables (see below).++# Reference+Read `src/plugins/intel_cpu/docs/debug_capabilities/README.md` for the full list of debug environment variables.++# Steps+1. Read the debug capabilities doc to find relevant variables+2. Find and use the ones which fit for the current debug scenariodiff --git a/.claude/skills/debug/components/debug-intel-gpu-plugin.md b/.claude/skills/debug/components/debug-intel-gpu-plugin.mdnew file mode 100644index 00000000000..a3b4d4fb30e--- /dev/null+++ b/.claude/skills/debug/components/debug-intel-gpu-plugin.md@@ -0,0 +1,8 @@+The debug and troubleshooting can be performed using various debug capabilities activated via environment variables (see below).++# Reference+Read `src/plugins/intel_gpu/docs/gpu_debug_utils.md` for the full list of debug environment variables.++# Steps+1. Read the debug capabilities doc to find relevant variables+2. Find and use the ones which fit for the current debug scenario