|
|
@@ -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
|
|
|
+ };
|
|
|
+};
|