LitClaude is an add-on for Claude Code. It makes Claude check its own work before it says "done", and leaves a note so the next session starts where this one stopped.
You ask Claude for a feature. It writes the code and says it is finished, and a day later you find the tests
never ran. You open a new session and explain the whole project again.
With LitClaude you add lit to the same request. Claude first writes down what "finished" means for this
task, adds a test that fails, makes it pass, and ends by telling you what it checked and what it could not.
When you stop, type handoff. Claude saves a note, and the next session reads it and carries on.
The loop above is one request from start to finish. You type lit and the request, the hook names the route, and the LIT card above the prompt lights its map. Claude pins one criterion it can check, three helper lanes work side by side, the new test fails first and then passes, and the card ends on COMPLETE.
The card, the hook text and the status line are LitClaude's own output; the Claude Code chat around them is redrawn.
Two ways to use it
The easy way. Write your request as usual and put lit at the start or at the end:
fix the date parsing bug in src/dates.js lit
Claude sets the goal, writes a failing test, fixes the bug, checks the result and tells you what it checked.
Most tasks need nothing more.
The end of the request works just like the start. When the project has a test command, Claude first asks once
whether to set Claude Code's goal to the words before lit, and you answer yes, edit or no. lit-loop
and litwork also work at either end and start the same workflow wherever you put them. lit continue picks
up the work you already have and asks no new question.
The full workflow. For a bigger job, go one step at a time. Each step leaves a file the next step reads,
and you can skip any step you do not need.