Plan-Based AI Workflow
Summary
A structured AI development workflow that guides AI coding assistants through investigation, planning, and phased implementation. Includes CLAUDE.md, 6 portable docs, plan templates, and git safety rules. Designed for human-in-the-loop collaboration.
A structured AI-assisted development workflow with investigation plans, phased implementation, and human-in-the-loop validation. Works with Claude Code and other AI coding assistants.
Quick Start
-
Update your terminal (if tools were installed):
source ~/.bashrc -
Read the AI developer guide:
cat docs/ai-developer/README.md -
Create your first plan:
- Create an
INVESTIGATE-*.mdorPLAN-*.mdindocs/ai-developer/plans/backlog/ - Or tell your AI assistant: "I want to add feature X"
- Create an
-
If your project already had a
CLAUDE.md:- A template is at
docs/ai-developer/CLAUDE-template.md - Ask your AI assistant: "Merge CLAUDE-template.md into my CLAUDE.md"
- A template is at
Prerequisites
No development tools are required. This template installs documentation and workflow files only.
What's Included
-
6 portable docs in
docs/ai-developer/:README.md— AI developer entry pointWORKFLOW.md— End-to-end flow from idea to implementationPLANS.md— Plan structure, templates, and best practicesDEVCONTAINER.md— How to work inside the devcontainerGIT.md— Git safety rules and platform operationsTALK.md— AI-to-AI testing protocol
-
Plan folder structure:
docs/ai-developer/plans/backlog/— Approved plans waiting for implementationdocs/ai-developer/plans/active/— Currently being worked ondocs/ai-developer/plans/completed/— Done, kept for reference
-
CLAUDE.md — Project instructions for Claude Code, pointing to the docs
-
project-TEMPLATE.md — Skeleton for documenting project-specific setup (rename to
project-<your-project>.md)
How It Works
The workflow follows three stages:
- Investigate — Research the problem, evaluate options, document findings in
INVESTIGATE-*.md - Plan — Define the solution with phases, tasks, and validation steps in
PLAN-*.md - Implement — Work through phases in order, with human confirmation after each phase
Plans move through folders as they progress: backlog/ → active/ → completed/
The AI assistant creates plans, asks for your review, implements phase by phase, and checks in after each phase. You stay in control.
Project Structure
docs/ai-developer/
├── README.md # Start here — entry point for AI assistants
├── WORKFLOW.md # The full development workflow
├── PLANS.md # How to write plans
├── DEVCONTAINER.md # Devcontainer guide
├── GIT.md # Git safety rules
├── TALK.md # AI-to-AI testing protocol
└── plans/
├── backlog/ # Plans waiting to start
├── active/ # Plans in progress
└── completed/ # Done