Claude Code Superpowers: Add Skills That Plan Before Coding

Superpowers is a plugin for Claude Code that enforces planning, TDD, and debugging workflows. Setup guide with real examples.

Trevor I. Lasn Trevor I. Lasn
Updated 5 min read

I’ve been building skillcraft.ai with Claude for the past few months. Claude’s great at writing code fast, but it has a problem: it skips steps constantly.

I’ll ask Claude to help migrate something big, and it starts suggesting changes immediately. No planning phase. No “let me find every file that needs updating first.” Just diving straight into code changes and hoping for the best.

That’s how you miss files. That’s how you ship bugs.

Superpowers is a plugin that fixes this. It’s basically a library of structured workflows—testing, debugging, planning—that Claude Code loads automatically and actually follows.

Update: Superpowers dropped its slash commands

Superpowers 5.1 (April 2026) removed the /brainstorm, /write-plan and /execute-plan commands. The skills start on their own, or you can ask for one by name, such as superpowers:writing-plans (release notes).

Plans now save to docs/superpowers/plans/ in your project.

Superpowers is a plugin of skills, not an MCP server, and the official marketplace has it:

Terminal window
/plugin install superpowers@claude-plugins-official

Claude Code has no .claude/plugins.json, so I’ve changed the manual setup below to a project-scope install. That install records the plugin under enabledPlugins in .claude/settings.json (plugin docs).

A skill in Claude Code is a folder with instructions, scripts, and resources that Claude loads when needed. It’s part of Anthropic’s Agent Skills feature that works across Claude apps, Claude Code, and the API. Each skill defines when it applies, what process to follow, and what shortcuts not to take. When you start a task that matches a skill, Claude scans available skills, finds the match, and loads it automatically.

I use three slash commands constantly:

Command What it does
/superpowers:brainstorm Refining rough ideas before coding
/superpowers:write-plan Creating detailed implementation plans
/superpowers:execute-plan Running plans in batches with review checkpoints

I added Superpowers to my CLAUDE.md so it loads automatically on every session:

# Project Setup
Use the Superpowers MCP for all development work. Load it at session start.

This is huge for token efficiency—instead of Claude burning through context trying to hold everything in memory, it splits work into 5-minute chunks and writes progress to markdown files. You never lose context between sessions because the plan is right there in a file, not locked in some conversation that hit the token limit three hours ago.

Here’s what the generated files look like:

~/.config/superpowers/
└── plans/
└── nextjs-16-migration/
├── PLAN.md # Complete migration roadmap
├── progress.md # Current status and completed tasks
└── verification.md # Test commands and success criteria

The PLAN.md file contains everything:

Section What it includes
Overview What needs to change and why
Phase 1 API route refactoring (23 files)
Phase 2 Component time-sensitivity fixes
Phase 3 Context provider Suspense boundaries
Phase 4 Enable cacheComponents
Phase 5 Testing & verification
Rollback What to do if it breaks

Skillcraft runs on Next.js, and I wanted to enable the new cacheComponents feature in Next.js 16. This thing breaks patterns everywhere—API routes that access searchParams, components using new Date(), context providers without Suspense boundaries.

I ran /superpowers:write-plan and got back a 500-line plan. Not some vague outline, but a complete roadmap: all 23 API route files that needed changes, the two components using new Date() that would break prerendering, specific context providers needing Suspense boundaries, and a 4-day timeline with testing checkpoints.

The plan included verification commands for each phase:

Terminal window
# Test specific endpoints after API refactoring
curl http://localhost:3000/api/leaderboard
curl http://localhost:3000/api/courses/recent
curl http://localhost:3000/api/topics

It documented before/after patterns:

// Before: Incompatible with cacheComponents
export const runtime = 'nodejs'
export const dynamic = 'force-dynamic'
// After: Clean (API routes are dynamic by default)
// Note: With cacheComponents enabled, API routes are dynamic by default

It even defined success criteria (build succeeds, CLS stays at 0.000, Lighthouse score ≥ 95) and a rollback plan.

Without this, I would’ve enabled cacheComponents, hit errors, fixed them one by one, and definitely missed edge cases. The migration would’ve taken days of reactive debugging. With the plan, I had a complete roadmap before touching any code.

The library includes multiple skills for testing, debugging, and development workflows:

Skill What it enforces
test-driven-development RED-GREEN-REFACTOR: write test, watch it fail, write code
systematic-debugging 4-phase approach: root cause investigation → pattern analysis → hypothesis testing → implementation
verification-before-completion Run verification commands and confirm output before claiming work is done

These skills literally block you from skipping steps. No more “I think it works” without proof.

If you’re doing a migration and need to find every instance of a pattern, Superpowers will find them all. If you’re debugging and about to guess at a fix, it stops you and makes you investigate the root cause first. If missing one file will break production, it makes you verify everything before you’re done.

Installation

Superpowers works with Claude Code (the CLI tool). Install it via the Plugin Marketplace:

Terminal window
# In Claude Code
/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers@superpowers-marketplace

Or install it for everyone in a project. This adds it to enabledPlugins in .claude/settings.json, which you commit, and each collaborator runs the same command once:

Terminal window
claude plugin install superpowers@claude-plugins-official --scope project

When Claude Code starts, you’ll see confirmation that skills loaded. Then just use the slash commands: /superpowers:brainstorm before starting complex features, /superpowers:write-plan for migrations or multi-file refactors, /superpowers:execute-plan to run those plans in batches.


Trevor I. Lasn

Trevor I. Lasn

Building whiteheap.com and 0xinsider.com.



Related Articles

Check out these related articles that might be useful for you. They cover similar topics and provide additional insights.

Developer tools
20 min read

residue-cli removes a Git worktree only when nothing in it would be lost. How its 15 checks decide, how it deletes and restores, and residue-ui for the Mac.

Nov 9, 2026
Read article
MCP
5 min read

Context7 MCP server pulls version-specific library docs into Claude Code, Cursor, and other AI editors. Setup guide and how it works.

Nov 1, 2025
Read article
MCP
5 min read

The sequential thinking MCP server has an AI agent reason one numbered thought at a time, revising or branching as it goes. What it does and when it helps.

Sep 7, 2025
Read article
MCP
6 min read

Build an MCP server in a Next.js route with mcp-handler and createMcpHandler, then connect it to Claude Code, Gemini CLI, Cursor and other MCP clients.

Jan 28, 2026
Read article
AI agents
5 min read

An exploration of Google's new open protocol that enables different AI systems to exchange information and collaborate

Apr 13, 2025
Read article
Tech companies
20 min read

Anthropic's IPO values it near $1.4 trillion. What a moat is, why the Claude models don't have one, whether a rival can crush it, and why I wouldn't short it.

Nov 10, 2026
Read article
AI agents
11 min read

residue-cli is an open-source Rust CLI that finds the Git worktrees coding agents leave on disk and removes one only when nothing in it would be lost.

Nov 6, 2026
Read article
AI agents
7 min read

What AI agents are, how the agent loop works, and why they're different from chatbots.

Jan 30, 2026
Read article
AI agents
6 min read

ARD is a new proposal from Google, Microsoft and Hugging Face for how agents find tools. What's in it, what 0xinsider publishes, and what a registry returns.

Sep 23, 2026
Read article

This article was originally published on https://www.trevorlasn.com/blog/superpowers-claude-code-skills. It was written by a human and polished using grammar tools for clarity.