05

AI Project Configuration

> configure_ai_for_your_project()

Configure AI coding assistants for maximum effectiveness. Learn CLAUDE.md templates that work, hierarchical config for monorepos, and when to use hooks vs rules.

Back to University

Expansion Guides

// teach ai about your codebase

01

CLAUDE.md Template That Actually Works

Project context that AI actually uses

Most CLAUDE.md files are ignored by AI or too generic to help. Learn the structure that gets AI to understand your codebase: stack declaration, conventions, common commands, and anti-patterns.

Project Setup Context Files Templates Best Practices
02

Hierarchical Config for Monorepos

Organize AI instructions for complex codebases

Monorepos have different rules for different packages. Learn hierarchical configuration: root-level conventions, package-specific rules, and how AI traverses the config tree to understand context.

Monorepos Config Hierarchy Context Scoping Package Management
03

Hooks vs Rules: When to Use Each

Execute code or describe constraints

AI can follow static rules or execute hooks. Learn when to use .clinerules for guidance vs .clinerules that run scripts, and how to combine both for maximum effectiveness without slowing down AI.

Agent Rules Hooks Automation Performance

Free Primers