mirror of
https://github.com/IgorWarzocha/Opencode-Workflows.git
synced 2026-09-14 16:22:53 +08:00
052e5d0266
Add CODING-TS.MD with coding architecture principles. Require plugins to use subdirectories (plugin-name/index.ts) and split complex plugins into multiple files under 150 lines each.
735 B
735 B
description
| description |
|---|
| Create an OpenCode plugin from a description |
Load the create-opencode-plugin skill and use it to create a plugin based on the user's requirements.
User's Plugin Idea
$ARGUMENTS
Instructions
- Follow the skill's procedure exactly - start with Step 1 (verify SDK reference)
- Validate feasibility before implementing
- Guide the user through design decisions if the idea is ambiguous
- Create the plugin file in the correct location:
- Project plugins:
.opencode/plugin/<plugin-name>/index.ts - Global plugins:
~/.config/opencode/plugin/<plugin-name>/index.tsThe plugin file MUST be inside a subdirectory named after the plugin.
- Project plugins:
- Provide testing instructions when complete