repowiseobra/superpowers

Code health of obra/superpowers

Repowise scores obra/superpowers at 8.1 out of 10 for code health, which reads as good, alongside maintainability 8.7 and static performance 9.8 on the same scale. There are 84 open findings across the three pillars, and the lowest-scoring file is server.cjs at 3.8. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

14 critical, 19 high, 26 medium, 25 low.

Hotspots

6 files are flagged as hotspots. The top 5:

  • tests/claude-code/test-sdd-workspace.sh: 3 commits in the last 90 days from 1 contributor with 2 recent bug fixes
  • scripts/sync-to-codex-plugin.sh: 4 commits in the last 90 days from 2 contributors with 6 recent bug fixes
  • tests/brainstorm-server/server.test.js: 3 commits in the last 90 days from 3 contributors with 4 recent bug fixes
  • tests/codex-plugin-sync/test-sync-to-codex-plugin.sh: 3 commits in the last 90 days from 2 contributors with 4 recent bug fixes
  • tests/claude-code/test-executing-plans-scripts.sh: 3 commits in the last 90 days from 1 contributor with 2 recent bug fixes

Lowest-scoring files

  • tests/brainstorm-server/server.test.js: 3.0 out of 10 with 4 bug fixes in the last 180 days
  • skills/brainstorming/scripts/server.cjs: 3.8 out of 10 with 7 bug fixes in the last 180 days
  • tests/brainstorm-server/lifecycle.test.js: 3.9 out of 10 with 5 bug fixes in the last 180 days
  • tests/claude-code/test-sdd-workspace.sh: 4.0 out of 10
  • .opencode/plugins/superpowers.js: 4.8 out of 10

Checked against bug fixes

Of the 20 files Repowise scores lowest, 10 had a bug fix in the last 180 days. Across all 85 scored files, 11.8% had a bug fix in that window.

Dead code and refactoring

Repowise found 4 unused exports. 2 refactoring targets across 2 files would raise the score.

More on superpowers: summary and FAQ, codebase overview, architecture.