BattlecatAI
HomeBrowsePathsToolsLevel UpRewardsBookmarksSearchSubmit

Battlecat AI — Built on the AI Maturity Framework

The Four-File Framework That Transforms Chaotic AI Coding Into Professional Project Management
L3 SupervisorPracticeintermediate6 min read

The Four-File Framework That Transforms Chaotic AI Coding Into Professional Project Management

Most developers treat AI coding like a casual conversation, then wonder why their projects spiral into context-switching chaos. This systematic four-file approach transforms your **Claude** sessions from vibe-coding into legitimate software engineering workflows.

agentic codingproject managementcontext engineeringdocumentationClaude

Your AI coding agent just lost track of what it was building. Again. You're three hours into a Claude session, the context window is bloated with scattered thoughts, and you're explaining the same requirements for the fourth time. Sound familiar?

This isn't a tool problem—it's a process problem. The difference between developers who ship real projects with AI agents and those who get stuck in endless "vibe coding" loops comes down to one thing: systematic context engineering.

Why This Matters: The Hidden Cost of Unstructured AI Development

Here's what happens when you treat AI coding like a casual ChatGPT conversation: Your agent forgets key requirements. Your project scope creeps in seventeen directions. You restart from scratch when the context window fills up. You end up with half-built prototypes instead of production-ready code.

The solution isn't more sophisticated prompting tricks or better models. It's project management discipline adapted for agentic workflows. Professional software teams don't wing it—they document requirements, research constraints, plan implementations, and track progress. Your AI coding workflow should too.

The most successful AI-assisted developers aren't the ones with the cleverest prompts—they're the ones who bring traditional software engineering rigor to agent collaboration.

This matters more as projects scale. A simple script? Sure, wing it. But anything involving multiple files, external APIs, or complex business logic needs structure. Without it, you're just burning tokens and time.


The Four-File Framework: From Chaos to Control

The framework is deceptively simple: four Markdown files that transform scattered AI conversations into structured development workflows. Each file serves a specific purpose in the project lifecycle, creating a paper trail that keeps both you and your coding agent aligned.

Here's how the system works:

  1. discovery.md - Capture requirements through systematic questioning
  2. research.md - Document technical findings and constraints
  3. plan.md - Synthesize everything into an actionable roadmap
  4. progress.md - Track implementation status across context switches

The magic happens in the handoffs between phases. Instead of jumping straight from "I want to build X" to "start coding," you create a documented foundation that prevents scope creep and context loss.

Discovery.md: The Requirements Interrogation

This is where most developers go wrong. They give Claude a vague project description and expect magic. Professional discovery means your agent becomes a business analyst, asking probing questions until the requirements are crystal clear.

Your discovery.md should capture:

  • Functional requirements: What exactly should this do?
  • Technical constraints: What platforms, languages, or frameworks?
  • User experience expectations: Who uses this and how?
  • Success criteria: How do you know when it's done?
  • Edge cases and error handling: What could go wrong?

Pro tip: Instruct your agent to ask at least 20-30 discovery questions before moving to research. Good requirements gathering feels excessive at first, but it prevents hours of rework later.

Real example from a recent project: Instead of "build a data dashboard," discovery revealed needs for real-time updates, mobile responsiveness, role-based permissions, and integration with three specific APIs. That's the difference between a weekend hack and a production system.

Research.md: Technical Due Diligence

Once requirements are locked, deploy your agent as a research team. This phase prevents you from coding yourself into technical debt or choosing the wrong architecture.

For complex projects, Claude can simulate multiple specialized agents researching different domains:

  • Backend research: Database schemas, API design patterns, scalability considerations
  • Frontend research: UI frameworks, state management, responsive design approaches
  • Integration research: Third-party APIs, authentication flows, data formats
  • DevOps research: Deployment strategies, monitoring tools, CI/CD pipelines

The key is verbatim documentation. Don't just ask for recommendations—have your agent document the why behind each technical choice. When you're debugging at 2 AM, you'll want to remember why you chose PostgreSQL over MongoDB.

Plan.md: The Implementation Roadmap

This is where requirements and research crystallize into executable work. Your plan.md becomes the single source of truth for project scope and sequencing.

A solid plan includes:

  • Phase breakdown: Major development milestones
  • Task dependencies: What must happen before what
  • File structure: Where code will live
  • Testing strategy: How you'll validate each component
  • Integration points: How pieces connect

The planning phase should feel like overkill. If your plan.md seems too detailed, you're probably doing it right. Agentic coding works best with explicit instructions.

Spend serious time refining this document. Go back and forth with your agent. Challenge assumptions. Ask "what if" questions. A thorough plan saves exponentially more time than it costs.

Progress.md: Context Continuity

Here's where the framework pays dividends. Large projects inevitably hit context window limits or span multiple coding sessions. Without progress tracking, you're starting from scratch each time.

Your progress.md maintains:

  • Completed phases: What's already done
  • Current focus: What's being worked on now
  • Blockers and decisions: What's stuck and why
  • Next steps: What comes after the current task
  • Code locations: Where to find specific implementations

When starting a fresh Claude session, you simply upload these four files. Your new agent context immediately understands the project history, current status, and next priorities. No repeated explanations. No lost context. Just continuation.


Putting It Into Practice: A Real Workflow

Here's how this looks in practice:

  1. Session 1: Create discovery.md by having Claude interrogate your project idea
  2. Session 2: Build research.md through targeted technical investigation
  3. Session 3: Synthesize findings into a detailed plan.md
  4. Sessions 4+: Implement according to plan, updating progress.md continuously

Each file becomes a living document. Discovery might reveal new requirements during implementation. Research might uncover better technical approaches. Plans need iteration. Progress needs constant updates.

The framework isn't rigid—it's adaptive structure. You're not following a waterfall methodology, you're creating documentation that makes iterative development sustainable.

The goal isn't perfect upfront planning—it's creating enough structure that changes and pivots don't derail the entire project.


The Bottom Line

Most developers approach AI coding like a conversation. But conversations don't scale to complex projects, multiple sessions, or production systems. The four-file framework transforms casual AI interactions into professional development workflows by borrowing proven practices from traditional software engineering: requirements gathering, technical research, implementation planning, and progress tracking. It's the difference between building impressive demos and shipping real products. The extra structure feels heavyweight at first, but it's what separates successful AI-assisted developers from those stuck in endless prototype loops.

Try This Now

  • 1Create a template workspace with discovery.md, research.md, plan.md, and progress.md files for your next AI coding project
  • 2Practice requirements discovery by having Claude ask 25+ questions about a current project idea before writing any code
  • 3Set up a structured workflow in your preferred IDE or notes app to maintain these four files across multiple coding sessions

How many Orkos does this deserve?

Rate this tutorial

Sources (1)

  • https://www.tiktok.com/t/ZP89FUU2N
← All L3 tutorialsBrowse all →