All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Building Continuous Claude: A CLI Tool for Iterative AI Code Generation with Persistent Context

By

Kerrick

5mo ago· 6 min readen

Summary

The article describes the development of Continuous Claude, a CLI tool created to automate unit test generation for a large codebase. The author was contractually required to achieve 80%+ test coverage on hundreds of thousands of lines of code within weeks. Continuous Claude addresses limitations of current AI coding tools by running Claude Code in a loop with persistent context, enabling iterative improvement and self-criticism rather than one-shot completion. The tool represents an approach to AI-assisted programming that maintains continuity across multiple coding iterations.

Key quotes

· 4 pulled
This all started because I was contractually obligated to write unit tests for a codebase with hundreds of thousands of lines of code and go from 0% to 80%+ coverage in the next few weeks - seems like something Claude should do.
Current AI coding tools tend to halt after completing a task once they think the job is done and they don't really have an opportunity for self-criticism or further improvement.
So I built Continuous Claude, a CLI tool to run Claude Code in a loop that maintains a persistent context across multiple iterations.
And this one-shot pattern then makes it difficult to tackle
Snippet from the RSS feed
This all started because I was contractually obligated to write unit tests for a codebase with hundreds of thousands of lines of code and go from 0% to 80%+ coverage in the next few weeks - seems like something Claude should do. So I built Continuous Clau

You might also wanna read