← Reddit

How do you use Claude Code with large codebase ?

Reddit · No_Agency_6961 · May 16, 2026
A developer with two months of Claude Code experience for SaaS development seeks community guidance on best practices for working with large codebases, specifically regarding documentation structure, workflow strategies for communicating features to Claude, and context management techniques. The inquiry addresses how to effectively provide Claude with necessary information while avoiding cognitive overload as a codebase grows.

Detailed Analysis

Developers working with Claude Code on large, complex SaaS codebases are increasingly grappling with a shared set of workflow challenges: how to structure documentation that AI coding assistants can effectively consume, how to communicate feature intent across levels of abstraction, and how to manage context windows when a codebase has grown beyond what any single session can hold. A Reddit post from the r/ClaudeAI community captures these practical concerns from a developer roughly two months into using Claude Code professionally, raising questions that reflect a broader maturation in how engineering teams are integrating AI pair-programming tools into production workflows.

The core tension the post identifies is one of scale versus precision. Claude Code, like all large language model-based coding assistants, operates within context window constraints, meaning that the larger a codebase grows, the harder it becomes to ensure the model has the right information at the right time. Practitioners have developed a range of mitigation strategies around this limitation, most commonly centered on structured markdown documentation — files like CLAUDE.md serve as persistent, curated context that developers can selectively include in sessions. The goal is to front-load architectural understanding, coding conventions, and domain-specific business logic into concise reference documents rather than relying on the model to infer these from raw code exploration.

Effective feature communication in this context tends to follow a hierarchical approach. Developers who have found success with Claude Code on complex projects typically begin with a high-level intent document describing *what* a feature is meant to accomplish and *why* from a product perspective, before layering in technical constraints, affected system components, and finally granular implementation details. This mirrors how a senior engineer might onboard a new team member — establishing mental models before diving into specifics. The question of how to scaffold that communication for an AI assistant, as opposed to a human, remains an active area of experimentation in the developer community.

The broader trend this post reflects is the shift from treating AI coding assistants as ad-hoc autocomplete tools toward treating them as persistent engineering collaborators that require deliberate context management strategies. This represents a second-order adoption challenge: the technology itself is no longer the primary barrier; rather, the barrier is organizational and methodological — teams must develop new conventions around documentation, session management, and prompt engineering to extract durable value from tools like Claude Code. The emergence of community discussions about .md file structure and feature communication workflows signals that a body of practical institutional knowledge is beginning to form around these tools, analogous to how DevOps practices coalesced around CI/CD tooling in an earlier era.

As codebases grow and AI tooling matures, the question of context management is likely to become a first-class engineering concern in its own right. Anthropic's continued iteration on Claude Code suggests ongoing investment in making the tool more capable of navigating large repositories autonomously, but in the near term, the burden of curating and structuring context remains with the developer. Teams that invest early in documentation conventions designed specifically for AI consumption — not just human readers — are likely to realize compounding productivity advantages, while those that treat Claude Code as a drop-in replacement for traditional IDE tooling may find its benefits plateau quickly as complexity increases.

Read original article →