analyze-code
CommandAnalyze code quality, identify issues, and suggest improvements.
Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to independent sessions.
> /plugin marketplace add nimbalyst/nimbalyst> /plugin install nimbalyst-wiki@nimbalyst
name: autofix-issues description: Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to independent sessions.
Survey the issues triaged over a recent window and split them two ways: the ones that can be fixed without a decision from the user, offered as a checklist to fan out to independent sessions, and the ones that need the user's attention, with the reason for each.
Both lists are the deliverable. The second is not a leftover pile — it is where the user finds the decisions waiting on them.
/autofix-issues [timeframe]
Timeframe defaults to the last two weeks. Examples: `/autofix-issues`, `/autofix-issues 1w`, `/autofix-issues 30d`.
The user picks from a checklist. Never launch anything before they have chosen.
Start by reading the last two or three entries in `nimbalyst-local/autofix-log.md`. Past runs record which screening calls turned out wrong; a mistake logged there twice should be applied as a criterion here rather than repeated.
Triage has already done the investigation — do not redo it. Pull from both sides and join them:
Read the triage comment on each candidate. It states what was confirmed and what was left open — both matter for screening.
Two independent bars. **A candidate must clear both.**
Include when the correct behavior is already settled — a stated contract, an in-repo precedent, or an obviously-wrong result nobody would defend.
Exclude when shipping the fix would decide something on the user's behalf:
When an issue is **partly** decidable, split it. #1422 was a genuine bug (custom types rendered a blank Type column, no defensible reading) bundled with a request for a new display option (a real product choice). The bug half is auto-fixable; the option half is not. Propose the half that clears the bar and say plainly what you left out.
Include when a vitest test can express the bug and flip red to green: pure logic, a parser, a comparison, a formatter, an event-handler condition, a reducer.
Exclude when the test would be theatre or absent:
Do not fan these out even with a confirmed root cause. They need a human watching:
For each surviving candidate, list the files it will touch — source *and* tests. Then check the sets against each other.
**Overlapping candidates are one session, not two.** Merge them into a single slice with both issue numbers, or drop the weaker one. Never launch two sessions that touch the same file.
Check the shared files a source-only comparison misses: `CHANGELOG.md`, `package.json`, barrels and `index.ts`, central registries such as `KeyboardShortcutsDialog.tsx`, shared type modules. If a candidate needs one, it owns that file for the batch. See [parallel-sessions.md](../rules/parallel-sessions.md).
`CHANGELOG.md` is always orchestrator-owned. No slice ever touches it.
Use `mcp__nimbalyst__PromptForUserInput` with a `multiSelect` field. One item per candidate:
Do not pad the list to look productive. Four solid candidates beat nine speculative ones — every weak slice costs a review cycle.
Every screened-out issue goes into a second list, presented alongside the checklist. This is not an appendix — an issue correctly refused, with the reason, is worth as much as one fixed, and it is the only place the user learns a decision is waiting on them.
Group by **why it was excluded**, most actionable first:
1. **Waiting on a decision from you** — the highest-value group. State the decision itself, not just the issue title, so it can be
Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.
Analyze code quality, identify issues, and suggest improvements.
Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness…
Triage pnpm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches
Gather details and draft an actionable bug report for developers.
Deploy the collab server, web console and/or metrics console, whichever changed since its last deploy
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…