- 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. |
||
|---|---|---|
| .. | ||
| Launcher.qml | ||
| plugin.json | ||
| README.md | ||
Example Launcher Plugin Template
Minimal correct launcher extension.
Important Differences from Widget Plugins
- Root element must be a
QtObject, not anItemorPluginComponent. - You implement
getItems(query)andexecuteItem(item). - No visual UI of your own — you return data that the launcher renders.
Usage
- Copy the folder.
- Update
plugin.json— especially thetrigger(what the user types to activate you). - Implement real search logic in
getItems. - Handle actions in
executeItem(copy, open URL, run command, etc.).
See the official docs for paste support (getPasteText/getPasteArgs), dynamic categories, and requesting launcher updates after async work.
Good real-world references: DankGifSearch and DankStickerSearch in the first-party plugins repo.