1
0

index.js 979 B

1234567891011121314151617181920212223
  1. const SUPERPOWERS_GUIDANCE = `## Superpowers
  2. You have access to the Superpowers skill framework through OpenClaw's native skill system.
  3. Before responding to software development work, check whether one of those skills applies.
  4. If a Superpowers skill fits the task, invoke it before proceeding.
  5. Start with \`using-superpowers\` when you need the overall workflow. Common follow-on
  6. skills include \`brainstorming\`, \`writing-plans\`, \`test-driven-development\`,
  7. \`systematic-debugging\`, \`dispatching-parallel-agents\`, and
  8. \`verification-before-completion\`.
  9. When Superpowers instructions mention generic tools, use the closest native OpenClaw
  10. tool or workflow.`;
  11. export default {
  12. id: "superpowers-openclaw",
  13. name: "Superpowers for OpenClaw",
  14. description: "Expose the Superpowers skill pack through OpenClaw's native plugin skill discovery.",
  15. register(api) {
  16. api.on("before_prompt_build", async () => ({ prependSystemContext: SUPERPOWERS_GUIDANCE }));
  17. },
  18. };