How They Use AI  |  Newest

<< Home  |  Tech

126,000 lines of Kotlin app in 4 months

AreaTech
AI usedClaude Code
Sourcer/BuildWithClaude
Posted2026-05-30

The move

Create a CLAUDE.md file to store project rules and architectural constraints that the AI must follow in every session.

Steps

  1. Create a CLAUDE.md file to document project architecture, coding standards, and lessons learned.
  2. Define technical specifications for every feature before prompting the AI to write code.
  3. Use custom commands to load project context at the start of each session.
  4. Review AI-generated code with a different LLM to ensure quality and catch errors.
  5. Update CLAUDE.md after every session to include new rules or fixes for mistakes made.

Prompt for your AI

Act as a senior software engineer. We are building [Project Name]. Before writing any code, review the rules in CLAUDE.md. Based on the following technical specification: [Paste Specification], generate the implementation for [Specific Feature]. Ensure the code adheres to our existing architecture and includes unit tests.

What happened

A developer with no Kotlin experience built a complex Android monitoring app by treating AI as an engineering partner rather than a code generator. They used a strict documentation-first workflow, capturing every lesson learned into a persistent rules file. This process allowed them to build 126,000 lines of code and 3,000 unit tests without writing a single line of Kotlin manually.

Watch out

The AI can still make mistakes, so a robust testing and review process is mandatory. Relying solely on 'vibecoding' without a structured specification will lead to inconsistent code.

Give it to your agent

Read https://howtheyuse.ai/p/126-000-lines-of-kotlin-app-in-4-months.md and help me do this.

Sources



Last updated November 26, 2026.