aggregate-logs
Generate LEARNINGS.md from skill execution logs over a configurable time window.
Fix broken functionality from pasted error output, stack traces, or
> /plugin marketplace add athola/claude-night-marketHow it fires
How this command gets triggered: by you, by Claude, or both.
/fixitContext preview
What this command does when you run it.
Fix broken functionality from pasted error output, stack traces, or
name: fixit description: Fix broken functionality from pasted error output, stack traces, or failing-behavior descriptions using research, TDD, and proof-of-work evidence. usage: /fixit <pasted-error-or-description> [--file <path>] [--scope auto|minor|medium|major] [--from <step>] [--to <step>] [--research|--no-research] [--strict|--quick] [--commit] [--dry-run] extends: "imbue:proof-of-work"
A progressive workflow for fixing broken functionality from a pasted body of output: error codes, stack traces, failing test logs, incorrect program output, or a freeform description of "this is wrong, here's what I expected." Follows the sanctum pattern:
**triage** → **reproduce** → **research** → **hypothesize** → **test (RED)** → **fix (GREEN)** → **verify** → **report**
Use this command when you need to:
drive it to a verified fix
diagnostic path
defect: use `/sanctum:fix-workflow`
or read the code directly
/fixit "TypeError: 'NoneType' object is not subscriptable at parser.py:88" /fixit --file /tmp/build.log # Read input from a file /fixit --scope minor --quick # Skip research, allow direct fix /fixit --from hypothesize # Already reproduced, jump to ladder /fixit --to test # Stop after RED test (dry-run-ish) /fixit --strict # Force Iron Law even with --quick /fixit --research # Force tome:research even on minor /fixit --commit # Auto-commit via sanctum:acp on green /fixit --dry-run # Plan only, no edits or commands
| # | Step | Purpose | Skill invoked | Skip when | |---|------|---------|---------------|-----------| | 1 | Triage | Parse input, classify failure type, extract artifacts | inline classifier (see below) | `--from` overrides | | 2 | Reproduce | Capture failing state as evidence `[E1]` | `Skill(imbue:proof-of-work)` | failure already running | | 3 | Research | Find prior art for novel errors | `Skill(tome:code-search)` or `Skill(tome:research)` | scope=minor or `--no-research` | | 4 | Hypothesize | Build hypothesis ladder, pick most-likely cause | `Skill(superpowers:systematic-debugging)` | cause is obvious from triage | | 5 | Test (RED) | Write the failing test that captures the bug | `Skill(superpowers:test-driven-development)` and `Skill(imbue:proof-of-work)` iron-law-red | never (Iron Law) | | 6 | Fix (GREEN) | Smallest change to make the test pass | `Skill(imbue:karpathy-principles)` (surgical-edits) | never | | 7 | Verify | Run tests and capture evidence `[E2]`; confirm regression-free | `Skill(superpowers:verification-before-completion)` and `Skill(imbue:proof-of-work)` iron-law-green | never | | 8 | Report | Summarize fix with evidence; optional commit | `Skill(sanctum:commit-messages)` and `/sanctum:acp` (with `--commit`) | default no-commit |
NO IMPLEMENTATION WITHOUT A FAILING TEST FIRST
This command always enforces Iron Law. The only flag that softens it is `--quick`, and even that requires the RED test. `--quick` only skips Research and lets Triage feed Hypothesize directly; it does not skip the test.
If you find yourself wanting to skip the test, consult `Skill(imbue:proof-of-work)` module `iron-law-enforcement.md` and `Skill(imbue:rigorous-reasoning)` to check whether you are rationalizing.
Auto-detected scope shapes which phases run. Override with `--scope`.
**Minor scope** (typo, single-character fix, obvious signature mismatch, trivial off-by-one):
**Medium scope** (logic bug with clear repro, single-file scope, known library behavior):
**Major scope** (novel error, unfamiliar library, multi-file blast radius, concurrency or platform issue):
/fixit "..." --scope auto # Detect from triage signals /fixit "..." --scope minor # Force minor /fixit "..." --scope medium /fixit "..." --scope major
**Purpose**: Parse the pasted input and classify it into a failure shape that points the RED test at a specific assertion.
The input is `$ARGUMENTS` (a paste) or the contents of `--file <path>`. Strip ANSI color codes and trim trailing whitespace. Identify and record:
wrong output, hang or timeout, resource error, behavior mismatch
toolchain names (rustc, pytest, tsc, cargo, go, mypy, etc.)
stack frames, function or symbol names
inputs that triggered it (if visible)
Score the failure on three dimensions, then pick the scope:
| Signal | Minor | Medium | Major | |--------|-------|--------|-------| | Files touched (estimate) | 1 | 1 to 3 | 4 or more | | Familiar error code? | yes | yes | no or rare | | Library or platform involved? | std-lib only | known dep | unfamiliar
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Generate LEARNINGS.md from skill execution logs over a configurable time window.
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Scaffold new Claude Code skills with brainstorming, TDD methodology, and proper frontmatter and module structure.