A production-ready project structure optimized for AI agents (local Ollama, Claude, OpenCode) to help you build software projects with maximum productivity.
.
├── docs/
│ ├── PRD.md # Product Requirements Document (SOURCE OF TRUTH)
│ ├── ARCHITECTURE.md # File map, data flow, responsibilities
│ ├── CONTEXT.md # Coding standards, constraints, forbidden patterns
│ └── decisions/ # Architecture Decision Records (ADRs)
│
├── src/ # 🔵 Python (FastAPI) stack
│ ├── core/ # Config, models, database
│ ├── api/ # Routes, schemas, dependencies
│ ├── services/ # Business logic
│ ├── utils/ # Validators, exceptions, logger
│ └── main.py # Application entry point
│
├── nodejs/ # 🟢 Node.js/TypeScript (Express) stack
│ ├── src/
│ │ ├── controllers/ # HTTP route handlers
│ │ ├── services/ # Business logic
│ │ ├── routes/ # Route definitions
│ │ ├── middleware/ # Express middleware
│ │ ├── models/ # Prisma schemas / Zod models
│ │ └── utils/ # Logger, errors, validators
│ ├── tests/
│ ├── package.json
│ ├── tsconfig.json
│ └── vitest.config.ts
│
├── cpp/ # ⚪ C++23 stack
│ ├── include/ # Header files
│ │ ├── core/ # Config, models
│ │ ├── api/ # Route definitions
│ │ └── utils/ # Logger, exceptions, validators
│ ├── src/ # Implementation files
│ ├── tests/ # GoogleTest files
│ ├── CMakeLists.txt # Build configuration
│ └── scripts/ # Build scripts
│
├── csharp/ # 🔵 C# / .NET 8 stack
│ ├── src/
│ │ ├── Core/ # Configuration, models, exceptions
│ │ ├── Api/ # Controllers, middleware
│ │ ├── Services/ # Business logic
│ │ └── Utils/ # Helpers
│ ├── tests/ # xUnit tests
│ ├── ai-dev-project.csproj
│ ├── appsettings.json
│ └── .editorconfig
│
├── web/ # 🟣 React + TypeScript + Tailwind stack
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── styles/ # Tailwind CSS + custom
│ │ ├── hooks/ # Custom React hooks
│ │ ├── api/ # API client + React Query
│ │ ├── types/ # TypeScript types
│ │ └── utils/ # Formatters, helpers
│ ├── tests/ # Component + unit tests
│ ├── public/ # Static assets
│ ├── index.html
│ ├── vite.config.ts
│ └── tailwind.config.js
│
├── agents/
│ ├── smolagent_runner.py # Single agent with local Ollama
│ └── multiagent_workflow.py # Multi-agent team (architect→coder→tester→reviewer)
│
├── scripts/
│ ├── setup.sh # One-command environment setup (all stacks)
│ ├── start-ollama.sh # Start optimized local Ollama server
│ ├── nodejs/setup.sh # Node.js setup
│ ├── cpp/setup.sh # C++ build + test
│ ├── csharp/setup.sh # C# restore + build
│ └── web/setup.sh # Web frontend setup
│
├── .cursorrules # Cursor IDE AI instructions
├── .claude.md # Claude Code AI instructions
├── mcp.json # MCP server configuration
├── opencode.json # OpenCode local model config
├── pyproject.toml # Python project + tool configuration
└── .gitignore
1 git clone https://huggingface.co/Jordandevlog/ai-dev-template my-project
2 cd my-project
3 chmod +x scripts/*.sh scripts/*/*.sh
4
5 # Setup EVERYTHING (Python + Node.js + C++ + C# + Web)
6 ./scripts/setup.sh
7
8 # Or setup a specific stack only:
9 ./scripts/setup.sh --python
10 ./scripts/setup.sh --nodejs
11 ./scripts/setup.sh --cpp
12 ./scripts/setup.sh --csharp
13 ./scripts/setup.sh --web
1 # Edit requirements
2 nano docs/PRD.md
3
4 # Edit architecture
5 nano docs/ARCHITECTURE.md
6
7 # Edit coding standards
8 nano docs/CONTEXT.md
9
10 # Set environment variables
11 cp .env .env.local && nano .env.local
1 # Start Ollama with optimized settings
2 ./scripts/start-ollama.sh gemma4:4b
3
4 # Verify it's running
5 curl http://localhost:11434/api/tags
1 source .venv/bin/activate
2 python agents/smolagent_runner.py "Create a user registration API endpoint"
1 # Python
2 python agents/multiagent_workflow.py "Build a blog API" --stack python
3
4 # Node.js
5 python agents/multiagent_workflow.py "Build a real-time chat API" --stack nodejs
6
7 # C++
8 python agents/multiagent_workflow.py "Build a high-performance data pipeline" --stack cpp
9
10 # C#
11 python agents/multiagent_workflow.py "Build a microservices API" --stack csharp
12
13 # Web
14 python agents/multiagent_workflow.py "Build a dashboard UI" --stack web