summaryrefslogtreecommitdiff
path: root/.opencode/plugin
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-11-22 12:29:50 -0800
committerJesse Vincent <jesse@fsck.com>2025-11-22 12:29:50 -0800
commit6847cf4cfc9e454bb1099fa939f649b67f50e8ed (patch)
tree795fa556fcd4a61ab32a220aa899f70505b79528 /.opencode/plugin
parent425b40359c1d6ab1e3099795a10215af58899856 (diff)
feat: create opencode plugin scaffold
Diffstat (limited to '.opencode/plugin')
-rw-r--r--.opencode/plugin/superpowers.js21
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
+ };
+};