Using superpowers

From andreaswasita/copilot-agents-dojo · View interactive version

Using superpowers is an AI agent skill from the GitHub repository andreaswasita/copilot-agents-dojo. Activates the dojo framework at the start of a session.

How to use this skill

Skill file

Using Superpowers Skill

Loads the dojo framework at session start: confirms the core disciplines are active, surfaces relevant lessons, and verifies clean state before any work begins. Does NOT replace the underlying skills — it sequences their loading and the session opening ritual.

When to Use

Prerequisites

How to Run

1. Review `tasks/lessons.md` for relevant active lessons.
2. Open `tasks/todo.md` — is there work in progress?
3. Confirm `git status`: right branch, clean tree (or known WIP).
4. Acknowledge: "Dojo framework active. Core disciplines loaded."
5. Hand off to the trigger skill for the user's actual request.

Quick Reference

| Always-on (core) | Why it loads at every session |

|---|---|

| behavioral-foundation | The five non-negotiable prime directives |

| plan-before-code | Forces planning before any multi-step work |

| verify-before-done | Evidence required for any "done" claim |

| self-improvement | Lessons captured every correction |

| demand-elegance | Hacky solutions get challenged |

| autonomous-bug-fix | Full bug cycle without hand-holding |

| safety-guardrails | Destructive commands get a preflight check |

| subagent-strategy | Delegation is a first-class option |

| Workflow chain (practical) | Triggered when |

|---|---|

| brainstorming → plan-before-code → executing-plans → requesting-code-review → finishing-a-development-branch | A non-trivial change begins |

| Workflow scenario | Workflow shape |

|---|---|

| New feature | Full pipeline: brainstorm → finish |

| Bug fix (non-trivial) | Skip brainstorm, start at plan |

| One-line fix | Direct fix + verify-before-done |

| Refactoring | Start at plan, emphasis on test baseline |

| Code review | Use code-review + receiving-code-review |

Procedure

Skill Activation Map

Always active (Core Disciplines):

Workflow skills (activate in sequence):

On-demand skills (load when needed):

Session Start Ritual

Every session begins with:

  1. Read memory/INDEX.md — What knowledge exists in the vault?
  2. Query relevant context — bash scripts/memory-query.sh --type pattern --recent 5
  3. Review tasks/lessons.md — Any un-promoted lessons?
  4. Check tasks/todo.md — Is there work in progress?
  5. Verify git status — Are we on the right branch? Clean state?
  6. Acknowledge active skills — "Dojo framework active. Memory vault loaded. All skills live."

Session End Ritual

Every non-trivial session ends with:

  1. Write session summary — memory/sessions/YYYY-MM-DD-summary.md
  2. Promote patterns — Any lessons at 3+ occurrences? Move to memory/patterns/
  3. Record decisions — Any architectural choices? Log in memory/decisions/
  4. Capture preferences — User corrections about style/approach? Log in memory/preferences/
  5. Rebuild the graph — bash scripts/link-index.sh
  6. Update lessons metrics — tasks/lessons.md

Enforcement Rules

  1. All skills are mandatory — No skipping steps in the workflow
  2. No code without a plan (unless one-liner fix)
  3. No merge without verification — scripts/verify.sh or equivalent
  4. No "done" without proof — Tests, logs, diffs
  5. Every correction becomes a lesson — tasks/lessons.md
  6. Every session ends with a summary — memory/sessions/
  7. Patterns are promoted, not buried — 3+ occurrences → memory/patterns/
  8. Main branch is read-only — Work on feature branches/worktrees

Examples

Session Start:

Agent: "Dojo framework active. Memory vault loaded (4 decisions, 7 patterns,

3 preferences). Reviewed lessons.md (3 active lessons, 1 relevant to today's

task). No work in progress. On main branch, clean state. Ready."

Skill Triggering:

User: "I want to add real-time notifications"

Agent: brainstorming activates → asks Socratic questions → design approved

→ using-git-worktrees activates → creates feature branch

→ plan-before-code activates → writes plan to tasks/todo.md

→ executing-plans activates → works through tasks

→ requesting-code-review activates → self-reviews

→ finishing-a-development-branch activates → presents merge options

Pitfalls

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.