superpowers.js 621 B

123456789101112131415161718192021
  1. /**
  2. * Superpowers plugin for OpenCode.ai
  3. *
  4. * Provides custom tools for loading and discovering skills,
  5. * with automatic bootstrap on session start.
  6. */
  7. const skillsCore = require('../../lib/skills-core');
  8. const path = require('path');
  9. const fs = require('fs');
  10. const os = require('os');
  11. const homeDir = os.homedir();
  12. const superpowersSkillsDir = path.join(homeDir, '.config/opencode/superpowers/skills');
  13. const personalSkillsDir = path.join(homeDir, '.config/opencode/skills');
  14. module.exports = async ({ project, client, $, directory, worktree }) => {
  15. return {
  16. // Custom tools and hooks will go here
  17. };
  18. };