dms_tailscalectl/skills/dms-plugin-dev/templates/desktop
vybe 01ac7e9041 feat: add dms-plugin-dev agent skill for Dank Material Shell plugin development
- Introduces a general-purpose opencode skill to help agents build, debug, and publish DMS plugins.
- Includes orientation, decision trees (plugin types), condensed cheat sheets, ecosystem map, and four generic vertical-slice starter templates (bar widget, popout widget, launcher, desktop widget).
- Skill is versioned here for this project while remaining available as a global opencode skill.
- Updated .gitignore to ignore globally-installed copies of the skill.

Written by AI agent working for @jtmorris. Model: grok-build-0.1.
2026-05-24 09:31:06 +00:00
..
DesktopWidget.qml feat: add dms-plugin-dev agent skill for Dank Material Shell plugin development 2026-05-24 09:31:06 +00:00
plugin.json feat: add dms-plugin-dev agent skill for Dank Material Shell plugin development 2026-05-24 09:31:06 +00:00
README.md feat: add dms-plugin-dev agent skill for Dank Material Shell plugin development 2026-05-24 09:31:06 +00:00
Settings.qml feat: add dms-plugin-dev agent skill for Dank Material Shell plugin development 2026-05-24 09:31:06 +00:00

Example Desktop Widget Template

A minimal free-floating, user-movable and resizable widget that lives on the desktop background layer.

Key Points

  • Uses DesktopPluginComponent (not PluginComponent)
  • Set minWidth/minHeight (and optionally defaults)
  • Read widgetWidth, widgetHeight for responsive behavior
  • Position and size are persisted automatically per screen
  • User interaction: right-click + drag anywhere to move, right-click + drag the bottom-right corner to resize

Usage

Copy the folder, update plugin.json, customize the visual content.

Add real settings as needed. The template already demonstrates PluginSettings + StringSetting + SliderSetting.

See the official development guide for the full DesktopPluginComponent surface (including getData/setData helpers and time-based update patterns using SystemClock).