You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/qualcomm/SKILL.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,19 @@
1
1
---
2
2
name: qualcomm
3
-
description: Build, test, or develop the QNN (Qualcomm AI Engine Direct) backend. Use when working on backends/qualcomm/, building QNN (use backends/qualcomm/scripts/build.sh), adding new ops or passes, running QNN delegate
4
-
tests, or exporting models for Qualcomm HTP/GPU targets.
3
+
description: Build, test, or develop the QNN (Qualcomm AI Engine Direct) backend. Use when working on backends/qualcomm/, building QNN (use backends/qualcomm/scripts/build.sh), adding new ops or passes, running QNN delegate tests, or exporting models for Qualcomm HTP/GPU targets. Also exposes a Buck-vs-CMake parity workflow — invoke as `/qualcomm buck-fix`, `/qualcomm buck-cmake fix`, `/qualcomm buck-parity`, or any user request to fix `test-qnn-buck-build-linux` CI failures or check buck/cmake drift in backends/qualcomm/.
5
4
---
6
5
7
6
# QNN (Qualcomm AI Engine Direct) Backend
8
7
8
+
## Slash command argument routing
9
+
10
+
When this skill is invoked with arguments (e.g. `/qualcomm <args>`), classify the args FIRST and route before doing anything else:
11
+
12
+
| If args contain any of… | Route to |
13
+
|---|---|
14
+
|`buck-fix`, `buck-cmake`, `buck cmake`, `buck-parity`, `buck parity`, `buck ci`, `qnn buck`, `fix qnn ci`, `test-qnn-buck-build-linux`, or any natural-language request to fix QNN buck CI / catch buck-cmake drift | Read `buck_parity.md` and follow it end-to-end. Default mode: full iterative-fix loop. If the args also contain `check` or `diagnose`, run buck once and report only — do not apply fixes. |
15
+
| (no args) or any other args | Stay in this file; treat as a normal `/qualcomm` discovery request and use the Advanced Topics table below. |
16
+
9
17
## Advanced Topics
10
18
11
19
When the user's request falls into one of these areas, read the corresponding file before proceeding:
@@ -15,6 +23,7 @@ When the user's request falls into one of these areas, read the corresponding fi
| New op development |`new_op_development.md`| User asks to add/implement a new op or op builder |
17
25
| Model enablement |`model_enablement.md`| User asks to enable a new model end-to-end |
26
+
| Buck vs CMake parity (pre-PR or fix red CI) |`buck_parity.md`| User changed BUCK / TARGETS / `targets.bzl` or `CMakeLists.txt` under `backends/qualcomm/`, added new `.cpp` / `.h` / `#include` there, is preparing to push a PR that touches QNN, **or** the `test-qnn-buck-build-linux` CI check on their PR is red and they want to fix it locally. Direct trigger: `/qualcomm buck-fix`. |
18
27
| Profiling & debugging |`profiling.md`| User asks about profiling, optrace, QHAS, QAIRT Visualizer *(file TBD)*|
19
28
20
29
## Building
@@ -31,7 +40,7 @@ Use `backends/qualcomm/scripts/build.sh`. Linux only (macOS not supported).
0 commit comments