Agent handoff.
aislop fix resolves the safe stuff. For the rest — as any casts, oversized functions, complex refactors — it hands off to your coding agent with a prompt containing every remaining diagnostic and where to find it.
How it works
Run aislop fix first — it'll auto-resolve everything that's mechanically safe. Whatever's left is where judgment starts.
Then run aislop fix --<agent>. aislop builds a prompt listing every remaining diagnostic with file paths, line numbers, rule IDs, and severity — then launches your agent's CLI with that prompt pre-filled.
Supported agents
Fourteen agents supported. The flag invokes the agent's local CLI — you need that agent installed.
Agent-agnostic: --prompt
If your agent isn't listed, or you want to paste the prompt into a web UI, use --prompt. aislop prints the full handoff prompt to stdout; pipe it wherever:
What's in the prompt
- The current score and label (Healthy / Needs Work / Critical)
- Every remaining diagnostic, grouped by file, with line numbers and rule IDs
- Short description of what each rule catches, so the agent knows why the issue matters
- Priority hint — errors first, then high-severity warnings, then the rest
- Instruction to leave auto-fixable items alone (aislop fix handles those)