Extension skills for the superpowers suite, providing quality gates and development workflow skills for web application development. It includes five skills:
- regression-test -- Comprehensive regression testing using the Microsoft Playwright MCP server, combining existing test suite execution with AI-powered visual and functional browser testing.
- pre-push-review -- A structured branch review that diffs against the base branch and gates on plan adherence, code quality, commit hygiene, and regression testing, producing a PASS/FAIL verdict with a prioritized remediation plan on failure.
- refactor-analysis -- Transitive impact analysis for complex refactorings. Maps all affected files, classifies breaking vs cosmetic changes, identifies risks, and produces a safe execution order with checkpoint boundaries before writing implementation plans.
- decision-tracker -- Persistent cross-cutting decision tracking using LongtermMemory-MCP. Automatically extracts architectural decisions, conventions, and constraints during brainstorming and planning, persists them to semantic long-term memory, and recalls them at session start and subagent dispatch to prevent decision amnesia.
- roslyn-codelens-integration -- Superpowers integration for Roslyn CodeLens intelligence. Enhances brainstorming with semantic .NET code context and upgrades refactor-analysis with Roslyn-powered dependency mapping, transitive closure, and reflection-aware risk detection.
When invoked, Claude follows a structured 4-phase process:
-
Discovery -- Scans your project for existing test frameworks (Playwright, Cypress, Jest, Vitest, Mocha, Karma), test files, route definitions, and the application URL.
-
Existing Test Execution -- Runs any discovered test suites and captures pass/fail/skip results. Failures are recorded but don't block the next phases.
-
Browser-Based Testing -- Uses Playwright MCP tools to:
- Navigate every discovered page
- Handle authentication (prompts for credentials when a login form is detected)
- Check for console errors and failed network requests
- Verify element visibility and content with
browser_verify_*assertion tools - Take screenshots at 3 viewport sizes (Desktop 1920x1080, Tablet 768x1024, Mobile 375x812)
- Evaluate each screenshot for layout, spacing, typography, color/contrast, responsiveness, visual completeness, and overall polish using Claude's vision
-
Reporting -- Generates a timestamped markdown report with embedded screenshots, page-by-page findings, and prioritized recommendations. Also prints a concise summary in the conversation.
Invoke the skill by asking Claude:
- "Regression test my web app at
http://localhost:3000" - "Run a visual regression check on this application"
- "Smoke test the UI before we deploy"
/regression-test
The skill produces:
- Screenshots saved to
docs/regression-screenshots/YYYY-MM-DD-HHmm/with filenames likehome-desktop.png,dashboard-mobile-full.png - Markdown report saved to
docs/regression-report-YYYY-MM-DD-HHmm.mdwith summary table, existing test results, page-by-page findings, and recommendations - Conversation summary with overall status, issue counts, and top 3 findings
The pre-push review skill provides a comprehensive, structured branch review to run before pushing code or creating a pull request. It reviews every change across four dimensions and produces a clear PASS or FAIL verdict.
The review covers four dimensions:
- Plan Adherence -- Verifies that planned work was completed and nothing unplanned snuck in. Compares the diff against plan documents found in
docs/plans/. - Code Quality -- Reviews the diff against 7 code quality rules: security (OWASP Top 10), YAGNI/over-engineering, debug/temporary code, dead code/unused imports, error handling, naming/readability, and test coverage.
- Commit Hygiene -- Checks commits for secrets, large files, unintended files (node_modules, build artifacts), merge conflict markers, and commit message quality.
- Regression Testing -- Runs existing test suites and optionally invokes browser-based regression testing via the regression-test skill.
| Phase | Description |
|---|---|
| Phase 1: Setup & Context | Auto-detect base branch, gather the diff, find plan docs and project rules |
| Phase 2: Plan Adherence | Compare changes against the plan document (skipped if no plan found) |
| Phase 3: Code Quality | Review diff for security, YAGNI, debug code, dead code, error handling, naming, test coverage |
| Phase 4: Commit Hygiene | Check commits for secrets, large files, unintended files, conflict markers, message quality |
| Phase 5: Regression Testing | Run existing test suites; optionally invoke browser-based testing |
| Phase 6: Verdict & Report | Generate report with PASS/FAIL verdict and remediation plan if needed |
| Condition | Verdict |
|---|---|
| Any Blocker finding in any phase | FAIL |
| Three or more Warning findings across all phases | FAIL |
| Fewer than 3 warnings and no blockers | PASS |
On FAIL, the report includes a prioritized remediation plan with specific file/line references, suggested fixes, and effort estimates.
Invoke the skill by asking Claude:
- "Review this branch before I push"
- "Run a pre-push quality check"
- "Is this branch ready for a PR?"
/pre-push-review
The skill produces:
- Markdown report saved to
docs/pre-push-review-YYYY-MM-DD-HHmm.mdwith header metrics, per-phase findings, and remediation plan (on FAIL) - Conversation summary with verdict, issue counts, top 3 findings, and report path
When invoked, Claude follows a structured 7-phase process:
-
Scope Definition -- Reads the design doc, identifies all refactor targets (classes, functions, modules, files), classifies the refactor type (rename, move, extract, inline, change interface, architectural), and confirms with the user.
-
Direct Dependency Mapping -- Searches the codebase for all direct references to each target: imports, type annotations, function calls, configuration references, string-based references, and test file references.
-
Transitive Closure -- Expands beyond direct dependencies by checking if each affected file's public interface changes. If so, treats those exports as new targets and repeats the search until no new files are discovered.
-
Impact Classification -- Classifies each affected file as Breaking (will fail without changes), Update Required (functions but incorrect), Test Impact (tests need updating), or Cosmetic (optional cleanup).
-
Risk Identification -- Flags dynamic references, cross-boundary impacts, circular dependencies, high fan-in nodes, implicit coupling, runtime registration, external consumers, and serialized state.
-
Safe Execution Order -- Produces a topologically sorted sequence of change groups with checkpoint boundaries where tests can run and commits can be made.
-
Output -- Generates a timestamped markdown impact analysis document with summary metrics, a Graphviz dependency graph, annotated file list, risk register, and execution order. Then transitions to writing-plans.
Invoke the skill by asking Claude:
- "Analyze the impact of this refactoring"
- "What files will be affected if I rename this module?"
- "Run a refactor impact analysis before we start"
/refactor-analysis
The skill produces:
- Impact analysis document saved to
docs/plans/YYYY-MM-DD-<topic>-impact-analysis.mdwith summary table, dependency graph, annotated file list, risk register, and execution order - Conversation summary with refactor type, affected file counts by classification, top risks, and document path
The decision tracker skill provides persistent cross-cutting decision tracking that integrates with the superpowers brainstorming and planning workflow. It uses LongtermMemory-MCP as its persistence layer.
The skill operates in two modes:
-
Recall -- At session start, searches long-term memory for decisions tagged with the current project and presents them grouped by category (architectural, convention, task-specific).
-
Extract -- During brainstorming, writing-plans, and refactor-analysis, automatically identifies cross-cutting decisions and saves them to long-term memory with appropriate tags, types, and importance levels.
| Category | Importance | Decay | Example |
|---|---|---|---|
| Architectural | 9 | 120 days | "We use the repository pattern with unit of work" |
| Convention | 7 | 120 days | "All DTOs go in the Contracts project" |
| Task-specific | 5 | 30 days | "UserService refactor must preserve v2 API compat" |
When subagent-driven-development dispatches parallel agents, the skill injects only the 2-3 most relevant decisions into each agent's prompt using semantic search -- keeping context focused rather than flooding agents with every decision.
Without LongtermMemory-MCP installed, the skill still identifies decisions and embeds them in plan documents. It nudges the user to install LongtermMemory-MCP for cross-session persistence.
The skill activates automatically during superpowers workflows. No explicit invocation needed. You can also invoke it directly:
/decision-tracker
The roslyn-codelens-integration skill enhances brainstorming and refactor-analysis with semantic .NET code intelligence when roslyn-codelens MCP tools are available. It activates automatically -- no explicit invocation needed.
The skill upgrades text-based code search with semantic Roslyn queries:
-
During brainstorming: Calls
get_project_dependenciesfor solution architecture,get_symbol_contextfor types mentioned in the request,find_implementationsandfind_callersto ground clarifying questions in actual code, andget_di_registrations/find_reflection_usagewhen proposing approaches. -
During refactor-analysis: Replaces Grep with
find_callersandfind_implementationsin Phase 2 (dependency mapping), usesget_type_hierarchyandget_project_dependenciesfor Phase 3 (transitive closure), and addsfind_reflection_usagefor Phase 5 (risk identification) to catch hidden dynamic coupling.
If roslyn-codelens MCP tools are not available, the skill is completely inert. Brainstorming and refactor-analysis fall back to their standard Grep/Glob-based approach with no errors or warnings.
Superpowers Extensions serves as the single entrypoint for the entire superpowers extension ecosystem. One install pulls in the core superpowers skills and all companion plugins:
| Dependency | Repository | Purpose |
|---|---|---|
| superpowers | obra/superpowers | Core superpowers skills framework -- brainstorming, writing-plans, subagent-driven-development, TDD, debugging, and more |
| LongtermMemory-MCP | MarcelRoozekrans/LongtermMemory-MCP | Semantic long-term memory for AI agents -- persistence layer for decision-tracker |
| roslyn-codelens-mcp | MarcelRoozekrans/roslyn-codelens-mcp | Roslyn-based .NET code graph intelligence -- enhances brainstorming and refactor-analysis with semantic code understanding |
These skills can also be used with GitHub Copilot via Copilot Skill Bridge -- a VS Code extension that discovers Claude marketplace skills, converts them to Copilot-compatible prompt/instruction files, and imports MCP server configurations. Add this repo as a marketplace source and the bridge will resolve all dependencies transitively.
Install directly from GitHub -- this single command pulls in superpowers core skills, LongtermMemory-MCP, and roslyn-codelens-mcp as transitive dependencies:
claude install gh:MarcelRoozekrans/superpowers-extensionsThen install the plugins you need from the marketplace:
# Install all five extension skills
claude plugin install regression-test
claude plugin install pre-push-review
claude plugin install refactor-analysis
claude plugin install decision-tracker
claude plugin install roslyn-codelens-integrationThe regression-test plugin automatically configures the Playwright MCP server with --caps=testing. The pre-push-review plugin requires only git and no additional MCP servers for its core review.
Clone the repository and install as a local marketplace:
git clone https://github.com/MarcelRoozekrans/superpowers-extensions.git
claude install /path/to/superpowers-extensions
# Install one or more plugins
claude plugin install regression-test
claude plugin install pre-push-review
# Install the refactor analysis skill
claude plugin install refactor-analysisIf you prefer manual setup:
1. Add the Playwright MCP server (required for regression-test, optional for pre-push-review):
claude mcp add playwright -- npx @playwright/mcp@latest --caps=testingThe --caps=testing flag enables assertion tools (browser_verify_*, browser_generate_locator) used during functional checks.
2. Copy the skill files:
# Windows -- regression-test
xcopy /E /I plugins\regression-test\skills\regression-test %USERPROFILE%\.claude\skills\regression-test
# Windows -- pre-push-review
xcopy /E /I plugins\pre-push-review\skills\pre-push-review %USERPROFILE%\.claude\skills\pre-push-review
# macOS / Linux -- regression-test
cp -r plugins/regression-test/skills/regression-test ~/.claude/skills/regression-test
# macOS / Linux -- pre-push-review
cp -r plugins/pre-push-review/skills/pre-push-review ~/.claude/skills/pre-push-review
# Windows -- refactor-analysis
xcopy /E /I plugins\refactor-analysis\skills\refactor-analysis %USERPROFILE%\.claude\skills\refactor-analysis
# macOS / Linux -- refactor-analysis
cp -r plugins/refactor-analysis/skills/refactor-analysis ~/.claude/skills/refactor-analysis
# Windows -- decision-tracker
xcopy /E /I plugins\decision-tracker\skills\decision-tracker %USERPROFILE%\.claude\skills\decision-tracker
# macOS / Linux -- decision-tracker
cp -r plugins/decision-tracker/skills/decision-tracker ~/.claude/skills/decision-tracker
# Windows -- roslyn-codelens-integration
xcopy /E /I plugins\roslyn-codelens-integration\skills\roslyn-codelens-integration %USERPROFILE%\.claude\skills\roslyn-codelens-integration
# macOS / Linux -- roslyn-codelens-integration
cp -r plugins/roslyn-codelens-integration/skills/roslyn-codelens-integration ~/.claude/skills/roslyn-codelens-integrationNote: decision-tracker and roslyn-codelens-integration require their companion MCP servers. Install them separately:
- decision-tracker:
claude mcp add longterm-memory -- npx -y longterm-memory-mcp - roslyn-codelens-integration:
dotnet tool install -g roslyn-codelens-mcp && claude mcp add roslyn-codelens -- roslyn-codelens-mcp
# Headed mode (see the browser window)
claude mcp add playwright -- npx @playwright/mcp@latest --caps=testing --headless=false
# All capabilities (testing + PDF export + vision-based coordinates)
claude mcp add playwright -- npx @playwright/mcp@latest --caps=testing,pdf,visionIn Claude Code, the skills should appear when you type /regression-test, /pre-push-review, /refactor-analysis, /decision-tracker, or /roslyn-codelens-integration, or when you ask Claude to perform regression testing, a pre-push review, a refactor impact analysis, decision tracking, or .NET code graph analysis.
superpowers-extensions/
├── .claude-plugin/
│ └── marketplace.json # Marketplace catalog (all plugins)
├── plugins/
│ ├── regression-test/
│ │ ├── .claude-plugin/
│ │ │ └── plugin.json # Plugin metadata
│ │ ├── .mcp.json # Playwright MCP server config
│ │ └── skills/
│ │ └── regression-test/
│ │ ├── SKILL.md # Main skill -- 4-phase workflow
│ │ ├── visual-criteria.md # Visual evaluation rubric (7 criteria)
│ │ └── test-framework-detection.md # Framework & route detection
│ ├── pre-push-review/
│ │ ├── .claude-plugin/
│ │ │ └── plugin.json # Plugin metadata
│ │ └── skills/
│ │ └── pre-push-review/
│ │ ├── SKILL.md # Main skill -- 6-phase workflow
│ │ ├── code-quality-rules.md # 7 code quality review rules
│ │ └── commit-hygiene-rules.md # Commit hygiene checks
│ ├── refactor-analysis/
│ │ ├── .claude-plugin/
│ │ │ └── plugin.json # Plugin metadata
│ │ └── skills/
│ │ └── refactor-analysis/
│ │ ├── SKILL.md # Main skill -- 7-phase workflow
│ │ └── reference-types.md # Reference types catalog
│ ├── decision-tracker/
│ │ ├── .claude-plugin/
│ │ │ └── plugin.json
│ │ └── skills/
│ │ └── decision-tracker/
│ │ └── SKILL.md
│ └── roslyn-codelens-integration/
│ ├── .claude-plugin/
│ │ └── plugin.json
│ └── skills/
│ └── roslyn-codelens-integration/
│ └── SKILL.md
└── docs/
└── plans/ # Design documents
Playwright, Cypress, Jest, Vitest, Mocha, Karma, Nightwatch, WebdriverIO
React Router, Next.js (App Router & Pages Router), Angular, Vue Router, SvelteKit
- Claude Code
- Node.js 18+
- For regression-test: Microsoft Playwright MCP server (
@playwright/mcp) and a running web application to test - For pre-push-review: A git repository with a feature branch. Playwright MCP server is optional (enables browser-based regression testing as part of the review).
- For refactor-analysis: A git repository with code to analyze. No additional tools required.
- For decision-tracker: LongtermMemory-MCP for cross-session persistence (installed automatically via marketplace dependencies). Works without it in degraded mode.
- For roslyn-codelens-integration: roslyn-codelens-mcp MCP server (installed automatically via marketplace dependencies). Skill is inert without it.
MIT