/mokata:bugfrom mokata
Fixes a bug from a reproducer: writes a failing regression test, root-causes the real code, then fixes to green. Tracks progress through reported/reproduced/fixing/verified stages.
Ships in mokata. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Start from a reproducer. Write a failing test that captures the bug, then fix to green and leave the test as a regression guard. Root-cause from the REAL code — read the failing path and trace it with the structural queries before fixing; don't guess at code you haven't read. Labels progress reported -> reproduced -> fixing -> verified; the fix is gated behind a reproducer. Record every test run you make: mokata progress test-run --passed|--failed --command "<the command>" --test tests/test_x.py::TestX::test_y --ac <AC>=tests/test_x.py::TestX::test_y — each test by its FULL id, the node id pytest prints with -rA (or pass that output with --runner-report <file>); a bare name never proves.
A bug fix requires a reproducer and a failing test before the fix.
This command runs on its own — no upstream pipeline phase is required. It applies only its own gate above, and never silently skips a gate of a phase you did run.
7-day visitors to each command page
40 commands in this plugin
/brainstormmokata · Socratic pre-spec exploration — explore approaches WITH the user, one question at a time, and HARD-GATE the spec behind explicit approval. Runs standalone or as the front of mokata's pipeline./chainmokata · Plan a manual chain of skills to run in order — each step keeps its own gate./debugmokata · Reproduce first, capture in a failing test, then fix./decomposemokata · Split the approved spec into independent subtasks + a dependency plan, then confirm to run./developmokata · Implement the minimum to turn a failing test green./docsmokata · The docs pointer — list the published documentation topics with their site URLs, or resolve one topic to its URL. Read-only, never fetches.npx claudepluginhub jasgujral/mokata-oss --plugin mokataOther plugins' commands for the same job