clarify-task
**Recommended model:** Opus — this command performs deep codebase exploration and multi-step reasoning to produce high-quality…
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
> /plugin marketplace add analogdevicesinc/scopy > /plugin install scopy_dev_plugin@scopy-plugins
How it fires
How this command gets triggered: by you, by Claude, or both.
/check-code-qualityContext preview
What this command does when you run it.
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
Use the Glob tool to find all `.h`, `.hpp`, and `.cpp` files in `scopy/packages/$ARGUMENTS/`.
**Exclude** these generated/build files:
Read ALL discovered files before starting analysis. Cross-file analysis is essential for lifecycle and dead code checks.
Analyze every file against these 7 categories, ordered by severity:
**[C1] Logic Errors**
**[C2] Possible Bugs**
**[C3] Plugin Lifecycle**
**[W1] Qt Issues**
**[W2] Dead Code**
**[I1] Naming Conventions**
**[I2] Include Hygiene**
## Code Quality Report: $ARGUMENTS ### Summary | Category | Critical | Warning | Info | |----------|----------|---------|------| | Logic Errors | X | - | - | | Possible Bugs | X | - | - | | Plugin Lifecycle | X | - | - | | Qt Issues | - | X | - | | Dead Code | - | X | - | | Naming Conventions | - | - | X | | Include Hygiene | - | - | X | | **Total** | **X** | **X** | **X** | ### Critical Issues **[C2] Null pointer not checked after IIO call** `src/plugin.cpp:142` — `iio_context_find_device()` return value used without null check. > **Fix:** Add null check after the call. ### Warnings ... ### Info ... ### Verdict [PASS/FAIL] — [one sentence summary]
PASS = zero critical issues. FAIL = one or more critical issues.
**Recommended model:** Opus — this command performs deep codebase exploration and multi-step reasoning to produce high-quality…
You are creating a JavaScript API class for a Scopy plugin so it can be controlled from test automation scripts.
You are creating JavaScript automated test scripts for a Scopy plugin, mapping RST manual test cases to API calls.
You are creating Sphinx RST documentation for a Scopy plugin user guide.
You are creating Sphinx RST test case documentation for a Scopy plugin, following the established test documentation format.
You are creating JavaScript unit test scripts for a Scopy plugin that test every IIOWidget attribute via…