check-code-quality
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
You are creating Sphinx RST test case documentation for a Scopy plugin, following the established test documentation format.
> /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.
/create-test-docsContext preview
What this command does when you run it.
You are creating Sphinx RST test case documentation for a Scopy plugin, following the established test documentation format.
You are creating Sphinx RST test case documentation for a Scopy plugin, following the established test documentation format.
**Plugin:** `$ARGUMENTS`
Use the Read tool to check if a port state file exists:
Also use the Glob tool to check if plugin docs already exist:
**If state file exists**, extract:
**If no state file**, discover from:
Read the reference prompt for UID conventions and implementation patterns: `scopy/tools/prompts/scopy_test_docs_agent.md`
Study these reference test RST files before writing:
Present a test plan:
1. **File list** to create 2. **Test inventory** — one row per planned test: | # | UID | Title | RBP | Section | Type | 3. **UID naming scheme** — confirm the prefix (e.g., `TST.AD9371`) 4. **Setup environments** referenced in prerequisites 5. **toctree update** in `scopy/docs/tests/plugins/index.rst`
**RBP Assignment Rules:**
**Wait for user approval before writing any RST.**
Follow the test RST format exactly as in reference files.
Test N: <Title>
~~~~~~~~~~~~~~~~~~
**UID:** TST.<PLUGIN>.<TEST_NAME>
**RBP:** P0
**Description:** <One sentence describing what this test verifies.>
**OS:** ANY
**Preconditions:**
- <Hardware requirement>
**Steps:**
1. <Action step>
- **Expected result:** <What should happen>
- **Actual result:**
..
Actual test result goes here.
..
**Tested OS:**
..
Details about the tested OS goes here.
..
**Comments:**
..
Any comments about the test goes here.
..
**Result:** PASS/FAIL
..
The result of the test goes here (PASS/FAIL).
..Each section should have at minimum: 1. A "section visible" P1 test 2. One write-readback test per key attribute 3. A "refresh" test if the plugin has a refresh button
## Status - Phase: TEST_DOCS_COMPLETE
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 JavaScript unit test scripts for a Scopy plugin that test every IIOWidget attribute via…