Skip to content

ak-eyther/model-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Code Project Template

🎯 Your universal starting point for any new project

Transform this template into your custom project in 5 minutes. Includes Next.js 14 + FastAPI, 15 AI agents, auto-setup scripts, and intelligent project customization that configures everything for your specific use case.


πŸš€ Quick Start - Start Your New Project

Step 1: Clone This Template

# Use as template on GitHub (recommended)
# β†’ Click "Use this template" button on GitHub
# β†’ Clone your new repository

# OR clone directly
git clone https://github.com/your-org/claude-code-project-template.git my-new-project
cd my-new-project

Step 2: One-Command Setup

./setup.sh

What happens:

  1. βœ… Checks Node.js 18+ and Python 3.8+ installed
  2. βœ… Installs all dependencies (Next.js + FastAPI packages)
  3. βœ… Launches interactive wizard (customizes for YOUR project)

The wizard asks:

  • Project name (e.g., "Task Manager Pro")
  • Tech stack (Next.js + FastAPI by default)
  • Deployment platforms (Vercel + Railway)
  • Domain/industry (Healthcare, SaaS, E-commerce, etc.)
  • Author info

What gets customized:

  • βœ… package.json β†’ Your project name/description
  • βœ… app/layout.tsx β†’ Page titles and metadata
  • βœ… main.py β†’ API title and description
  • βœ… .claude/context/project-context.yaml β†’ All 15 agents know your project
  • βœ… README.md β†’ Updated with your project details

Step 3: Start Developing

# Terminal 1 - Frontend
npm run dev
# β†’ http://localhost:3000

# Terminal 2 - Backend
uvicorn main:app --reload
# β†’ http://localhost:8000
# β†’ API docs: http://localhost:8000/docs

That's it! In 5 minutes you have:

  • βœ… Fully configured Next.js + FastAPI project
  • βœ… 15 AI agents that know your project context
  • βœ… Beautiful landing page with your project name
  • βœ… Working health check endpoints
  • βœ… Auto-generated API documentation

See QUICK_START_NEW_PROJECT.md for detailed guide.


πŸ” Security Notice - API Keys

⚠️ IMPORTANT: This template contains placeholder API keys only. Before deploying:

  1. Get your own API keys:

  2. Where to add them:

    • Railway: Dashboard β†’ Environment Variables
    • Vercel: Dashboard β†’ Environment Variables
    • Local development: Copy .env.example to .env.local
  3. Files with placeholders:

    • .claude/scripts/restore-railway-env-vars.sh - Railway restoration script
    • .env.example - Local development template

Never commit real API keys to git. Use environment variables in your deployment platform.


🎯 What You Get

This template extracts the complete infrastructure from a production project and gives you:

βœ… 15 Specialized AI Agents

  • Orchestrators: Feature planning (DPPM framework), bug coordination
  • Executors: Full-stack code, frontend specialists, AI/ML engineering
  • Validators: Quality gates, test execution, code review
  • Experts: Deployment, architecture, design, debugging, memory management

βœ… Automated Structure Enforcement

  • Git hooks validate file placement on every commit
  • Auto-fix repairs violations automatically
  • Lifecycle rules archive old files (completion reports, test results)
  • Zero-maintenance file organization

βœ… Tri-Tier Memory System

  • Agents remember past work across sessions
  • Hot/Warm/Cold memory tiers (performance-optimized)
  • Weekly consolidation, monthly archival
  • Memory Expert ensures safety

βœ… Quality Gates & Reflection

  • Silent self-reflection (agents self-assess before submission)
  • Tier 1 (agent) + Tier 2 (validator) quality gates
  • 50% reduction in rework
  • Continuous improvement

βœ… Production-Grade Automation

  • Pre-commit structure validation
  • Commit message enforcement
  • Post-merge reminders
  • Automated cleanup (nightly cron jobs)

🎚️ Choose Your Tier

Not all projects need the same infrastructure. Pick your tier:

Feature Minimal Standard Complete
Setup Time 30 minutes 2 hours 1 day
Core Agents 5 15 15
Structure Enforcement Basic Full Full
Auto-Fix ❌ βœ… βœ…
Memory System ❌ βœ… βœ…
Git Hooks Pre-commit only All 3 All 3
Reflection System ❌ ❌ βœ…
Automated Cleanup ❌ ❌ βœ… (cron)
Best For Prototypes, learning Production projects Mission-critical

Unsure? See docs/TIER_COMPARISON.md for a decision tree.

Can I upgrade later? Yes! python setup.py --upgrade-to=standard


πŸ“š Documentation

Getting Started

How-To Guides

Troubleshooting


πŸ—οΈ What's Inside

claude-code-project-template/
β”œβ”€β”€ setup.py                    # Interactive wizard (all the magic)
β”œβ”€β”€ .claude/
β”‚   β”œβ”€β”€ agents/                 # 15 specialized agents
β”‚   β”œβ”€β”€ scripts/                # Portable automation
β”‚   β”œβ”€β”€ hooks/                  # Git hook templates
β”‚   β”œβ”€β”€ structure/              # Canonical structure schema
β”‚   β”œβ”€β”€ memory/                 # Memory system templates
β”‚   └── docs/                   # Protocols & methodologies
β”œβ”€β”€ docs/                       # Comprehensive guides
└── tests/                      # Validation suite

🧬 Agent System Overview

Orchestrators (Planning, No Execution):

  • @atharva-2.0 - Feature orchestrator (DPPM framework)
  • @bug-fix-orchestrator - Bug fix coordination

Executors (Implementation, No Planning):

  • @anand-2.0 - Full-stack code executor
  • @hitesh-2.0 - Frontend specialist (React, Vue, etc.)
  • @sama-2.0 - AI/ML engineering

Validators (Review, No Implementation):

  • @ankur-2.0 - Quality gatekeeper (APPROVE/REVISE/FAIL verdicts)
  • @harshit-2.0 - Test executor (runs tests, reports results)

Domain Experts:

  • @shawar-2.0 - Deployment expert (Vercel, Railway, AWS, etc.)
  • @vidya-2.0 - Solution architect
  • @varsha-2.0 - UI/UX designer
  • @debugger - Bug investigation

Support:

  • @memory-expert - Memory management & curation
  • @reflection-expert - Meta-reflection on agent quality
  • @documentation-manager - Documentation lifecycle

Every agent has:

  • Strict role boundaries (MUST/MUST NOT guardrails)
  • Skills auto-loading (frontend-design, document-skills, etc.)
  • Permission modes (ask, auto-accept, auto-deny)
  • Persistent memory (learns from past work)
  • Auto-context loading (inherits project context automatically)

πŸ”„ Auto-Context System

Problem: When creating new projects from this template, agents need to know project-specific context (name, URLs, tech stack). Manual updates across 15 agent files are error-prone.

Solution: Single source of truth with automatic context propagation.

How It Works

  1. Run initialization script once:

    ./.claude/scripts/init-project.sh
  2. Answer prompts:

    • Project name, slug, description
    • Tech stack (React/Vue, FastAPI/Express, etc.)
    • Deployment (Vercel, Railway, AWS, etc.)
    • URLs, domain context
  3. Script generates: .claude/context/project-context.yaml

  4. All agents auto-load this file via frontmatter:

    context:
      inherit: ".claude/context/project-context.yaml"
  5. Variables interpolated automatically:

    • {{ project.name }} β†’ "Task Manager Pro"
    • {{ tech_stack.frontend.framework }} β†’ "Next.js"
    • {{ deployment.backend.platform }} β†’ "Railway"

Result: Every agent knows your project without manual updates!

Available Commands

# Initialize new project context (Quick wizard)
python3 init-project.py

# Initialize new project context (Full wizard)
./.claude/scripts/init-project.sh

# Validate context completeness
./.claude/scripts/validate-context.sh

# Add context to agent files (auto-run during init)
./.claude/scripts/add-context-to-agents.sh

Documentation


πŸ›‘οΈ What Makes This Special

✨ Zero-Maintenance File Organization

  • Git hooks validate structure on every commit
  • Auto-fix repairs violations automatically
  • Lifecycle rules archive old files (7-45 day retention)
  • Result: Developers never think about file placement

✨ Agent Specialization at Scale

  • 15 agents, each with ONE job
  • Strict boundaries prevent role confusion
  • Explicit handoffs ensure accountability
  • Result: Predictable, high-quality output

✨ Tri-Tier Memory System

  • Hot memory (last 20 events): Always fast
  • Warm memory (events 21-100): Pattern recognition
  • Cold memory (events 101+): Long-term learnings
  • Result: Agents learn without performance degradation

✨ Silent Self-Reflection

  • Agents self-assess before submission (Tier 1)
  • Validator provides calibration feedback (Tier 2)
  • Agents improve over time
  • Result: 50% fewer rejections

✨ Production-Tested

  • Extracted from real production project
  • Battle-tested workflows
  • Conservative defaults
  • Result: Works out-of-the-box

πŸ§ͺ Validation

After setup, run:

python tests/validate_setup.py

Expected output:

Running setup validation...

βœ… Git hooks installed (pre-commit, commit-msg, post-merge)
βœ… Structure validator operational
βœ… All 15 agents have valid frontmatter
βœ… Memory system initialized (15 memory files)
βœ… CLAUDE.md configured for "my-awesome-project"
βœ… Scripts executable
βœ… Configurations valid

πŸŽ‰ All checks passed! Setup complete.

πŸ“¦ Requirements

System Requirements

  • Node.js 18+ (for Next.js frontend)
  • Python 3.8+ (for FastAPI backend and automation scripts)
  • Git (for hooks and version control)
  • Claude Code v2.0.43+ (for skills auto-loading)

Dependencies (Auto-Installed via ./setup.sh)

Node.js packages (via npm):

  • next - Next.js framework
  • react, react-dom - React library
  • typescript - TypeScript compiler
  • tailwindcss - CSS framework
  • playwright - E2E testing
  • eslint - Code linting

Python packages (via pip):

  • PyYAML - Configuration parsing
  • jinja2 - Template rendering
  • questionary - Interactive wizard
  • anthropic - Claude API (optional)
  • requests - HTTP requests (optional)

🀝 Contributing

Contributions welcome! See CONTRIBUTING.md for:

  • How to add new agents
  • How to improve scripts
  • How to enhance documentation

πŸ“„ License

MIT License - See LICENSE


πŸ™ Credits

This template is built on production-tested patterns from real-world projects, which pioneered:

  • Multi-agent orchestration (15 specialized agents)
  • Tri-tier memory system
  • Silent reflection quality gates
  • Automated structure enforcement
  • DPPM orchestration framework

πŸš€ Next Steps

  1. Run setup: ./setup.sh (installs all dependencies)
  2. Initialize project: ./.claude/scripts/init-project.sh
  3. Start development:
  4. Read quick start: docs/QUICK_START_STANDARD.md
  5. Invoke your first agent: @anand-2.0 help me get started
  6. Make a test commit to verify git hooks work

Welcome to production-grade agent orchestration! πŸŽ‰

About

A project to copy paste the entire settings

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published