/stepwise-core:bugmagnetfrom stepwise-core
Analyzes a code module for bugs and test coverage gaps. Writes edge-case tests, runs them, and documents discovered bugs with root cause and proposed fix.
Ships in stepwise-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze a code module, write comprehensive edge-case tests, and document discovered bugs.
Attribution: Adapted from BugMagnet AI Assistant by Gojko Adzic (MIT License).
/bugmagnet <implementation-file-path>
Do NOT modify the implementation file. Only write tests.
When a test reveals unexpected behavior, create a skipped test using the framework's skip mechanism with "- BUG" in the test name:
test.skip('normalizeEmail crashes on input without @ - BUG', () => {
/*
* ROOT CAUSE: destructuring email.split("@") fails when no @ present
* CODE LOCATION: src/validator.ts:49
* PROPOSED FIX: guard with if (!email.includes("@")) before split
* EXPECTED: throws or returns input unchanged
* ACTUAL: TypeError: Cannot read properties of undefined
*/
expect(() => normalizeEmail("nodomain")).not.toThrow();
});
Every skipped BUG test must include: ROOT CAUSE, CODE LOCATION, PROPOSED FIX, EXPECTED vs ACTUAL.
After all tests are written, provide:
## Test Coverage Summary
**Tests Added:** N total
- Category 1 (X tests)
- Category 2 (Y tests)
**Results:** X passing, Y skipped (bugs)
**Bugs Discovered:**
1. Bug name — file:line
- Root cause: ...
- Proposed fix: ...
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/create-planCreate detailed implementation plans through interactive research and iteration/create-plan-liteCreate a short implementation plan (under 80 lines) from a ticket or a description, after researching the codebase. Experimental lighter alternative to create-plan/grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".npx claudepluginhub nikeyes/stepwise-dev --plugin stepwise-coreOther plugins' skills for the same job