lustra.

A code-hygiene skill for AI coding agents

Your AI ships
code that lies.

It runs. It looks fine. It is quietly wrong. Lustra makes your agent run the real tooling, then triage the output with judgment, so the slop never reaches main.

npx skills add breim/lustra
View on GitHub

1 skill. 15 commands. From first commit to technical due diligence.

A green pipeline that gates nothing.
Tests that pass while asserting nothing.
Error handling that swallows the error.
An any cast where the bug was.

This is what AI-assisted code looks like at scale. Not broken enough to fail. Just wrong enough to cost you later. The layer nobody looks at is the one that decides whether the work is sound.

Linters catch a slice.

The rest needs judgment on top of real tools. Here is the slice they miss, the one that compounds.

  • abstractionDead abstractions: an interface with one implementation, a factory that builds one thing.
  • errorsFake error handling: a try/catch that logs and rethrows, or worse, swallows.
  • testsTests that run, go green, and assert nothing of consequence.
  • depsDependencies nobody imports, and one with a known CVE nobody noticed.
  • typesA type error made quiet with any instead of made correct.
  • ciA pipeline that is green because the gate never actually ran.

How it works

It does not guess where a tool would. It runs the tool and applies judgment.

01

It runs the actual tools

npm audit, knip, eslint, tsc, your test runner, prettier, license-checker. Real output, not a guess about what a tool would say.

02

It triages the output

Filters false positives. Ranks by real risk, not severity theater. Separates what is mechanically safe from what needs a human.

03

It fixes, or proposes

Auto-applies only the safe changes. Everything that needs judgment arrives as a reviewable diff. No silent scope creep.

One skill, the whole lifecycle

From the first commit to technical due diligence.

Day one

Assess / Start

I inherited this. What is actually in here?

While building

Iterate

Is this diff sound before it lands?

Before ship

Polish

What breaks in production that nobody saw?

Ongoing

Maintain

Is the pipeline still gating anything?

The 15 commands

Each one wraps real tooling.

Full reference

Install

One command. It finds your agents.

Add it through the skills CLI, or install globally and let it auto-detect every harness you already have.

npx skills add breim/lustra
npm i -g lustra-cli && lustra help

Auto-detected harnesses

  • Claude Code~/.claude
  • Cursor~/.cursor
  • Gemini CLI~/.gemini
  • Codex CLI~/.codex
  • VS Code Copilot~/.github
  • Kiro~/.kiro
  • OpenCode~/.opencode
  • Qoder~/.qoder

The rules it operates under.

Surgical, not bulk

It touches only what the command targeted. No drive-by refactors riding along with a lint fix.

Confirm before it cuts

Deleting code or a dependency is proposed and confirmed, never silently decided.

Honest when blind

If a tool is missing, it says so instead of pretending the scan was complete.

Runs on your machine

A skill inside your existing harness, invoking local tooling. No service, nothing uploaded.

Questions worth asking.

Make it clean up after itself.

Free, open source, MIT licensed. It runs the tool and applies judgment, so you do not have to read every line your agent wrote.

npx skills add breim/lustra
GitHub