Skip to content

πŸš€ Production-ready starter template for AI-Driven Development projects. Pre-configured with AI agents, context management, and best practices.

Notifications You must be signed in to change notification settings

x0rium/aidd-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AIDD Boilerplate

A production-ready starter template for AI-Driven Development projects.

πŸ‡·πŸ‡Ί Русская вСрсия | πŸ“– Full Guide | πŸ“œ Manifesto

What is this?

This is a boilerplate repository for quickly starting projects using the AI-Driven Development (AIDD) methodology. It includes:

  • βœ… Pre-configured project structure for AIDD workflow
  • βœ… AI agent configurations for Claude Code
  • βœ… Context management templates
  • βœ… Specification examples
  • βœ… TypeScript + Jest setup
  • βœ… Best practices documentation

Quick Start

1. Clone the boilerplate

# Clone to your project
cp -r ~/AI/boiler ~/projects/my-new-project
cd ~/projects/my-new-project

# Remove git history
rm -rf .git
git init

2. Install dependencies

npm install

3. Configure your project

Update CLAUDE.md with your project context:

# Project: [Your Project Name]

## Description
[What your project does]

## Tech Stack
- TypeScript 5.x
- Node.js 20.x
- [Your database]
- [Your frameworks]

4. Start with Claude Code

claude-code .

5. Begin AIDD workflow

# Start with a specification
"Let's follow AIDD methodology. Create a spec for [your feature]"

# Plan implementation
"Use the planner agent to create an implementation plan"

# Develop
"Use the backend-developer agent to implement the plan"

# Test
"Use the test-runner agent to create and run tests"

Project Structure

.
β”œβ”€β”€ CLAUDE.md                 # 🧠 Main AI context (auto-loaded)
β”œβ”€β”€ .claude/                  # πŸ€– AI configuration
β”‚   β”œβ”€β”€ agents/              # Specialized AI agents
β”‚   β”‚   β”œβ”€β”€ planner.md       # Planning & architecture
β”‚   β”‚   β”œβ”€β”€ backend-developer.md  # Implementation
β”‚   β”‚   β”œβ”€β”€ test-runner.md   # Testing & quality
β”‚   β”‚   └── code-reviewer.md # Code review
β”‚   └── commands/            # Custom commands
β”œβ”€β”€ ai-docs/                 # πŸ“š AI knowledge base
β”‚   β”œβ”€β”€ context.md          # Detailed project context
β”‚   β”œβ”€β”€ conventions.md      # Coding standards
β”‚   β”œβ”€β”€ current-task.md     # Current work tracking
β”‚   └── decisions/          # Architectural decisions
β”œβ”€β”€ specs/                   # πŸ“‹ Specifications (write first!)
β”‚   β”œβ”€β”€ features/           # Feature specifications
β”‚   └── api/                # API specifications
β”œβ”€β”€ src/                     # πŸ’» Source code (AI-generated)
β”‚   β”œβ”€β”€ domain/             # Business logic (DDD)
β”‚   β”œβ”€β”€ api/                # API endpoints
β”‚   └── infrastructure/     # External services
β”œβ”€β”€ tests/                   # πŸ§ͺ Tests (AI-generated)
└── docs/                    # πŸ“– Human documentation

What's Included

Pre-configured Tools

  • TypeScript with strict mode
  • Jest for testing
  • ESLint & Prettier for code quality
  • Node.js 20+ runtime

AI Agents

  • Planner - Breaks down specs into tasks
  • Backend Developer - Implements features
  • Test Runner - Creates and runs tests
  • Code Reviewer - Reviews code quality

Templates

  • CLAUDE.md - Main context template
  • ai-docs/context.md - Extended context
  • ai-docs/conventions.md - Coding standards
  • specs/examples/ - Specification examples

AIDD Workflow

graph LR
    A[Write Spec] --> B[AI Plans]
    B --> C[AI Implements]
    C --> D[AI Tests]
    D --> E[AI Reviews]
    E --> F[Human Validates]
    F --> G[Deploy]
Loading

Best Practices

1. Start with Specifications

# specs/features/user-auth.md

## Feature: User Authentication
- JWT-based authentication
- Email/password login
- Session management
- Password reset flow

2. Let AI Plan First

"Read specs/features/user-auth.md and create an implementation plan"

3. Use Specialized Agents

"Use the backend-developer agent to implement authentication"
"Use the test-runner agent to test the auth module"

4. Maintain Context

  • Keep CLAUDE.md under 200 lines
  • Update current-task.md daily
  • Document decisions in ai-docs/decisions/

Example Commands

# Planning
"Use the planner agent to break down the payment feature"

# Development
"Use the backend-developer to implement the user service"

# Testing
"Use test-runner to achieve 90% test coverage"

# Review
"Use code-reviewer to check for security issues"

# Documentation
"Update the API documentation with the new endpoints"

Customization

Adding Custom Agents

Create .claude/agents/your-agent.md:

---
name: your-agent
tools: Read, Write, Bash
---

You are a specialized agent for [purpose].
Your responsibilities:
- [Responsibility 1]
- [Responsibility 2]

Custom Commands

Create .claude/commands/your-command.md:

---
name: your-command
description: Does something specific
---

Steps:
1. [Step 1]
2. [Step 2]

Requirements

  • Node.js 20+
  • npm or yarn
  • Claude Code subscription
  • Git

Resources

Contributing

This boilerplate is open for improvements. Feel free to:

  • Add new agent configurations
  • Improve project structure
  • Share specification templates
  • Report issues

License

MIT - Use freely in your projects


Start your AIDD journey today! πŸš€

# Your first AIDD command:
"Let's build something amazing using AIDD methodology"

About

πŸš€ Production-ready starter template for AI-Driven Development projects. Pre-configured with AI agents, context management, and best practices.

Topics

Resources

Stars

Watchers

Forks