check-code-quality
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
**Recommended model:** Opus — this command performs complex architectural reasoning and produces detailed design documents.
> /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.
/design-taskContext preview
What this command does when you run it.
**Recommended model:** Opus — this command performs complex architectural reasoning and produces detailed design documents.
> **Recommended model:** Opus — this command performs complex architectural reasoning and produces detailed design documents.
You are creating a detailed design document for a Scopy development task. The input may be a refined task brief (from `/clarify-task`) or a direct task description.
**Task description:** `$ARGUMENTS`
Load ALL knowledge skills by reading their SKILL.md files:
Check if a task brief exists in `docs/design/` matching the topic:
If `$ARGUMENTS` appears vague or underspecified (no concrete requirements, unclear scope):
Using the decision frameworks skill, work through key architectural decisions:
1. **Where does this belong?**
2. **What components need to be created vs modified?**
3. **What patterns from the codebase apply?**
4. **What external dependencies are needed?**
**Present 2-3 architectural approaches** with trade-offs and your recommendation. Use AskUserQuestion to let the user choose. Format:
### Approach A: <name> (Recommended) - **How it works:** <brief description> - **Pros:** <list> - **Cons:** <list> ### Approach B: <name> - **How it works:** <brief description> - **Pros:** <list> - **Cons:** <list>
**Wait for user to choose before continuing.**
For the chosen approach, detail each component:
For each new class:
For each modified class:
Map all new and modified files:
packages/<name>/plugins/<plugin>/
├── include/<plugin>/
│ ├── newclass.h (NEW)
│ └── existingclass.h (MODIFIED)
├── src/
│ ├── newclass.cpp (NEW)
│ └── existingclass.cpp (MODIFIED)
├── CMakeLists.txt (MODIFIED if explicit file lists)
└── test/
└── tst_newfeature.cpp (NEW)Describe how components communicate:
Using the tools inventory skill, categorize what's available:
Present the full design in conversation, organized as:
1. **Architecture Overview** — chosen approach, component diagram 2. **Component Details** — new/modified classes, file locations 3. **Data Flow** — how components communicate 4. **Existing Tools Report** — reusable/adaptable/missing/external 5. **Testing Strategy** — unit, HITL, manual, API 6. **Implementation Order** — suggested sequence of implementation steps
Ask after each major section: "Does this look right so far?" using AskUserQuestion.
Ask the user: > "Would you like me to save this design document to `docs/design/YYYY-MM-DD-<topic>-design.md`?"
If yes, write the complete design document to file.
After the design is complete and saved, suggest next steps:
> **Next steps:** > - Run the `writing-plans` skill to create a
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…
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.