check-code-quality
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
**Recommended model:** Opus — this command performs deep codebase exploration and multi-step reasoning to produce high-quality task briefs.
> /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.
/clarify-taskContext preview
What this command does when you run it.
**Recommended model:** Opus — this command performs deep codebase exploration and multi-step reasoning to produce high-quality task briefs.
> **Recommended model:** Opus — this command performs deep codebase exploration and multi-step reasoning to produce high-quality task briefs.
You are helping the user turn a vague or incomplete development idea into a concrete, actionable task brief for the Scopy project.
**Raw task description:** `$ARGUMENTS`
Load these knowledge skills by reading their SKILL.md files:
Classify the task into one or more categories:
Based on classification, identify which Scopy modules/packages are likely involved:
If the task mentions external technologies, unfamiliar concepts, or problems that might have existing solutions outside Scopy:
Ask **3-6 clarifying questions**, one at a time, using the AskUserQuestion tool. Each question should be informed by what you learned from code exploration.
**Question categories (use as needed, not a fixed script):**
1. **Scope** — "What exactly should change? What should NOT change?"
2. **Users** — "Who uses this feature?"
3. **Constraints** — "Are there hardware requirements, platform considerations, or performance needs?"
4. **Integration** — "How does this interact with existing plugins/tools?"
5. **Success criteria** — "How do we know it's done? What does 'working' look like?"
6. **Priority/timeline** — "Is this blocking something? What's the urgency?"
**Guidelines:**
After all questions are answered, do a final targeted code exploration:
Present the following structured task brief in the conversation:
## Task Brief: <descriptive title> **Type:** <new feature | modification | infrastructure | tooling | documentation | cross-cutting> **Modules affected:** <list of packages/libraries> **Summary:** <2-3 sentence refined description of what needs to be done> ### Requirements - <concrete, testable requirement 1> - <concrete, testable requirement 2> - ... ### Existing Resources - <file/pattern/utility> — <why it's useful for this task> - ... ### External Resources (if applicable) - <library/doc/pattern found via research> — <relevance> - ... ### Key Decisions Made - <decision from Q&A with rationale> - ... ### Open Questions (if any) - <things that still need resolution before design> ### Suggested Next Step > Run `/scopy_dev_plugin:design-task` with this brief to generate a full design document with architectural choices, component design, and testing strategy.
Ask the user if they want to save the task brief:
> "Would you like me to save this task brief to `docs/design/YYYY-MM-DD-<topic>-brief.md`?"
If yes, write the file. Do NOT commit — let the user decide when to commit.
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
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…