api-quality-checks
API class validation rules for Scopy plugins. Auto-loads when reviewing or editing `*_api.h` / `*_api.cpp` files or running API…
Scopy styling system patterns including Style::setStyle, theme colors, section backgrounds, and widget styling. Auto-loads when applying styling to scopy widgets or sections.
$ npx -y skills add analogdevicesinc/scopy --skill scopy-style-rules --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/scopy-style-rulesContext preview
The summary Claude sees to decide when to auto-load this skill.
Scopy styling system patterns including Style::setStyle, theme colors, section backgrounds, and widget styling. Auto-loads when applying styling to scopy widgets or sections.
name: scopy-style-rules description: Scopy styling system patterns including Style::setStyle, theme colors, section backgrounds, and widget styling. Auto-loads when applying styling to scopy widgets or sections.
#include <style.h> // Apply predefined styles Style::setStyle(widget, style::properties::label::menuBig); Style::setStyle(widget, style::properties::widget::border_interactive); Style::setStyle(widget, style::properties::widget::basicBackground, true, true); // Set background colors Style::setBackgroundColor(widget, json::theme::background_primary); Style::setBackgroundColor(widget, json::theme::background_subtle); // Get theme values QString iconPath = Style::getAttribute(json::theme::icon_theme_folder); QColor color = Style::getColor(json::theme::content_error);
// Standard section Style::setBackgroundColor(sectionWidget, json::theme::background_primary); Style::setStyle(sectionWidget, style::properties::widget::border_interactive); // Section title Style::setStyle(titleLabel, style::properties::label::menuBig);
**Note**: Not every section needs `background_primary` — check reference implementations to see which sections use it vs inherit parent background.
#include <gui/widgets/menucollapsesection.h>
MenuSectionCollapseWidget *section = new MenuSectionCollapseWidget(
"Section Title", MenuCollapseSection::MHCW_ARROW,
MenuCollapseSection::MHW_BASEWIDGET, parent);
section->contentLayout()->addWidget(widget);See `reference.md` in this directory for the complete style catalog.
API class validation rules for Scopy plugins. Auto-loads when reviewing or editing `*_api.h` / `*_api.cpp` files or running API…
Guidelines for using Context7, web search, and other research tools to find solutions outside the Scopy codebase. Loaded when the…
How to create IIOWidgets for device attributes using IIOWidgetBuilder. Covers spinbox, combo, checkbox, and read-only patterns.…
API class conventions for Scopy plugins including ApiObject inheritance, Q_INVOKABLE patterns, and IIOWidgetGroup access.…
Core Scopy architecture knowledge including plugin lifecycle, library dependencies, build system, and key design patterns. Loaded…
How Scopy libraries depend on each other, plugin commonalities, MessageBroker topics, shared widgets, style system flow, and…