Development

Development guides, coding standards, and best practices for AICodeRally.

Documentation

Coding Standards

Best practices and patterns for AICodeRally development.

Covers:

Testing

Comprehensive testing infrastructure and strategies.

Includes:

Contributing

How to contribute to AICodeRally development.

Topics:

Prompt Library

Architecture-aware prompts for AI agents to create compliant components.

Includes:

Agent Protocol

AI agent coordination and handoff protocol for multi-agent workflows.

Covers:

Custom Agents

Specialized Claude Code agents for AICodeRally development.

Includes:

Quick Start

Local Setup

# Clone repository
git clone https://github.com/AICodeRally/aicoderally-stack.git
cd aicoderally-stack

# Install dependencies
pnpm install

# Set up environment
cp apps/studio/.env.example apps/studio/.env.local
# Add your database URL and API keys

# Start development server
pnpm --filter edge dev

Development Commands

# Start dev server
pnpm dev

# Build for production
pnpm build

# Type check
pnpm typecheck

# Database commands
npx prisma studio      # Open database GUI
npx prisma generate    # Generate Prisma client
npx prisma db push     # Push schema changes

Development Workflow

  1. Create Branchgit checkout -b yourname/feature-name
  2. Make Changes → Write code following standards
  3. Test Locallypnpm build and manual testing
  4. Commitgit commit -m "feat: description"
  5. Pushgit push origin yourname/feature-name
  6. Create PR → GitHub pull request
  7. Code Review → Team reviews changes
  8. Merge → Deployed automatically to production

Code Quality

Pre-Commit Checks

TypeScript Standards

Testing Requirements

Module Development

Creating a New Module

  1. Define module metadata in packages/modules/your-module/index.ts
  2. Create UI page in apps/edge/app/modules/your-module/page.tsx
  3. Add Prisma models if needed
  4. Register module in packages/modules/index.ts
  5. Test thoroughly
  6. Submit pull request

See: Contributing Guide

Tech Stack

See: Tech Stack Overview

Resources


Build with confidence. Code with clarity. Ship with quality.