Bible Network Crypto DeFi Onchain RWA AI Agent Stablecoin Chain SAFU CryptoTax DeFAI AGI Claude Me Claude Skill Claude Design Claude Cowork
Independent Media
Not affiliated with any project
Learn Claude Skills. Do Everything Better.
claudeskill-me.com
LATEST
Reviewing Superpowers: A TDD Framework That Literally Deletes Code Written Before Tests Exist  ·  CLAUDE.md, Rules, Skills, Hooks, Subagents — Which One? Anthropic's Official Seven-Method Decision Framework  ·  Reviewing Anthropic's Frontend Design Skill: Why Is It Installed 57× More Than the Runner-Up?  ·  Building Your First Skill: Turn Something You've Explained Three Times Into One Command  ·  Writing Your First System Prompt: From "You Are an Assistant" to a Role Setup That Actually Works  ·  Claude Code Adds Owner-Wildcard Marketplace Controls, Letting One Rule Allow or Block an Entire GitHub Org
reviews

Reviewing Superpowers: A TDD Framework That Literally Deletes Code Written Before Tests Exist

30-Second Version · For the impatient
Most frameworks tell you how to write tests. Superpowers writes "no implementation without a test" as a literal deletion rule — that's the difference between advice and enforcement.

Full Explanation +
01 · Why did this happen?

How does the "delete non-compliant code" rule actually work — is there a risk of accidentally deleting code that's already written well but just hasn't gotten its test yet?

The rule triggers on "implementation code exists before its corresponding test" — meaning it targets the development sequence itself, not a judgment of code quality after the fact. In practice, this means the workflow Superpowers expects is that every piece of implementation starts with a failing test already in place, and only then is code written to make it pass. If your habit is writing a large chunk of functionality first and coming back to add tests afterward, this rule directly conflicts with that habit, because "the functionality written first" already violates the sequence the rule defines, before the test ever gets added.

This is indeed a relatively aggressive design choice. The upside is that it thoroughly prevents the common TDD failure mode of "tests bolted on afterward, more form than substance"; the cost is that it requires the user (or team) to genuinely commit to working in the red-green-refactor sequence, not just treating TDD as a slogan. If your team doesn't already have the habit of writing code strictly in this order, adopting this rule directly will involve a noticeable adjustment cost upfront.

02 · What is the mechanism?

How is Subagent-driven development substantively different from ordinary multi-person collaborative development, and why does keeping context clean need special emphasis?

Ordinary multi-person collaboration splits different tasks among different people, each maintaining their own mental model of the project. Subagent-driven development looks similar on the surface, but the difference lies in the fact that context itself is a limited resource that gets progressively consumed — the more information, and the more varied that information, Claude has to handle in a single conversation, the more the space available for making correct judgments gets squeezed. If database migrations, frontend styling, and API routing — entirely unrelated work — all get crammed into the same Context Window, even if each task individually isn't hard, mixing them together means leftover detail from the prior task still occupies space and interferes with focus on the current one.

Subagent-driven development solves exactly this: each engineering task gets handed to a separate, clean, independent subagent that carries only the information necessary to complete that specific task, reporting only the result back to the main thread once done, rather than leaving every intermediate detail generated along the way sitting in the main conversation. This differs from simply dividing labor — division of labor only solves "who does what"; subagent-driven development also solves "how to make sure that whoever (or whichever subagent) is doing the work isn't having their judgment interfered with by irrelevant noise."

03 · How does it affect me?

Cross-tool portability sounds appealing, but if some team members use Claude Code and others use different tools, will there be a real gap in how they collaborate?

Yes, there will be, and the official documentation itself acknowledges this — while the core workflow (brainstorming, TDD enforcement, the basic Skill set) runs on every supported platform, Claude Code has platform-specific features like sandboxed tool-use scope, automatic Plugin updates, and native Subagent support, meaning some advanced features (particularly subagent-driven development) won't necessarily perform equally well on other platforms. Other tools get the core workflow, but not the most advanced orchestration mechanism.

For a team with a mixed toolset, a more realistic expectation is that everyone benefits from the methodology-level consistency — enforced TDD discipline, brainstorming to clarify requirements upfront — but if some members' work heavily relies on advanced features like subagents processing complex tasks in parallel, people on a non-Claude-Code platform will have a real gap in that particular experience compared to people using Claude Code. If your team decides to adopt Superpowers, it's worth first confirming whether the core collaboration scenario mainly sits at the "consistent methodology" level, rather than depending on everyone getting an identical advanced-feature experience.

04 · What should I do?

If I'm an individual developer rather than working on a team, does this framework's enforcement help me or burden me?

It depends on how large the gap is between your current coding habits and the discipline Superpowers expects. If you already have a habit of writing tests, just without this strict a process, adopting Superpowers is more about formalizing an existing habit, and the friction will be relatively low. But if you tend to write out functionality quickly with tests bolted on afterward or often skipped entirely, directly applying this framework will feel like being blocked by rules at every turn early on — tasks you could previously finish quickly now have to go through brainstorming, writing a plan, and the red-green cycle before you can actually start.

A more practical way to judge this is thinking through the nature of the project you're currently working on. For a project that needs long-term maintenance, might be handed off to someone else later, or has inherently complex, error-prone logic, the extra discipline cost upfront usually pays for itself in reduced debugging and rework time down the line — the official documentation itself notes that while brainstorming and planning add roughly 10 to 20 minutes of overhead upfront, fewer errors and less rework during implementation across the whole project can actually make development 2 to 3 times faster than a traditional approach. But if you just want to quickly validate an idea with a short project lifespan, this framework's enforcement might well be unnecessary friction, and plain Claude Code with no extra rules is a better fit.

Full Content +

Built by developer Jesse Vincent (GitHub handle obra), Superpowers is currently one of the most-starred Claude Code Skill projects on GitHub. Add it to the marketplace with /Plugin marketplace add obra/superpowers-marketplace, then install it with /plugin install superpowers@superpowers-marketplace. It isn't a single skill — it's a full methodology framework bundling more than twenty skills together, with a direct core aim: turning "vibe coding" — loosely prompting an AI and hoping it guesses the correct implementation — into a disciplined engineering process.

The most aggressive mechanism: non-compliant code gets deleted outright

The most striking part of Superpowers, and the clearest signal of how far it takes "serious," is how it enforces TDD (test-driven development). The standard TDD cycle is red (write a failing test), green (write the minimal implementation to pass it), refactor. Superpowers writes this into an enforced rule — and enforced literally: the framework's instructions explicitly require that if Claude (or the user) writes implementation code before its corresponding test exists, that code gets deleted outright to preserve project integrity. This isn't a warning or a suggestion — it's a concrete behavioral requirement written directly into the skill's instructions.

Subagent-driven development: farming big tasks out to clean context

Another core design is driving the entire development process with subagents, rather than cramming database migrations, frontend styling, and API routing — completely different in nature — all into the same Context Window. Once the user says "go," Superpowers launches a subagent-driven development process, having Claude delegate each engineering task to a separate subagent that inspects and reviews its own piece of work, keeping the main thread's context clean and focused rather than flooded with unrelated implementation detail. Paired with this is git worktree isolation — before implementation genuinely begins, an isolated workspace is set up on a new branch, preventing experimental changes from directly affecting the main codebase.

Cross-tool portability

Since version 5.0, Superpowers natively supports more than just Claude Code — Cursor, Gemini CLI, GitHub Copilot CLI, Codex, and OpenCode are all included, letting the same set of skills travel across different tools. Even with multi-platform support, though, Claude Code remains the most deeply integrated — sandboxing tool-use scope with allowed-tools, automatic plugin updates, and native subagent support all mean some advanced features (particularly subagent-driven development) perform better on Claude Code than elsewhere; other tools get the core workflow but not the most advanced orchestration.

What This Means for Your Work

If your team already has clear engineering standards and wants to ensure everyone writing code with Claude Code follows the same discipline, Superpowers offers a ready-made, battle-tested skeleton — no need to build a TDD enforcement mechanism from scratch. But that enforcement is itself a tradeoff: a rule like "non-compliant code gets deleted" is an asset for serious production projects that genuinely need rigorous discipline, but could be unnecessary friction for rapid prototyping or exploratory experiments. Before installing, it's worth confirming what the task at hand genuinely needs: discipline, or speed.

Diagram
Superpowers 強制執行的 TDD 循環呈現紅燈(寫失敗測試)、綠燈(寫最小實作通過測試)、重構三階段循環,並在底部標註若程式碼在對應測試存在前就被寫出,會被直接刪除以維持順序,這是 Superpowers 與一般 TDD 建議最大的差異所在。Superpowers Enforced TDD CycleREDWrite failing testGREENMinimal code to passREFACTORClean up, commitCode written before test exists→ deleted to enforce sequenceClaude Skill Me · claudeskill-me.com
Feel free to share. Please credit the source.
Ask a Question
Please enter at least 10 characters
Related Articles
CLAUDE.md, Rules, Skills, Hooks, Subagents — Which One? Anthropic's Official Seven-Method Decision Framework
advanced · Aug 15
Reviewing Anthropic's Frontend Design Skill: Why Is It Installed 57× More Than the Runner-Up?
reviews · Aug 15
Building Your First Skill: Turn Something You've Explained Three Times Into One Command
practice · Aug 14
A Developer's First Code Review with Claude Code: The Full Walkthrough and Common Pitfalls
beginners · Aug 14
Related News
More Related Topics