diff options
| author | Jesse Vincent <jesse@fsck.com> | 2025-11-22 12:29:50 -0800 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2025-11-22 12:29:50 -0800 |
| commit | 6847cf4cfc9e454bb1099fa939f649b67f50e8ed (patch) | |
| tree | 795fa556fcd4a61ab32a220aa899f70505b79528 /.opencode/plugin | |
| parent | 425b40359c1d6ab1e3099795a10215af58899856 (diff) | |
feat: create opencode plugin scaffold
Diffstat (limited to '.opencode/plugin')
| -rw-r--r-- | .opencode/plugin/superpowers.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.opencode/plugin/superpowers.js b/.opencode/plugin/superpowers.js new file mode 100644 index 0000000..2dc613e --- /dev/null +++ b/.opencode/plugin/superpowers.js @@ -0,0 +1,21 @@ +/** + * Superpowers plugin for OpenCode.ai + * + * Provides custom tools for loading and discovering skills, + * with automatic bootstrap on session start. + */ + +const skillsCore = require('../../lib/skills-core'); +const path = require('path'); +const fs = require('fs'); +const os = require('os'); + +const homeDir = os.homedir(); +const superpowersSkillsDir = path.join(homeDir, '.config/opencode/superpowers/skills'); +const personalSkillsDir = path.join(homeDir, '.config/opencode/skills'); + +module.exports = async ({ project, client, $, directory, worktree }) => { + return { + // Custom tools and hooks will go here + }; +}; |
