Docs/cookbook/README

AI Cookbook

Immediately useful. Zero setup required. Fork and adapt.


What This Is

The AI Cookbook is a collection of technology-specific AI engineering playbooks. Each entry contains everything you need to use AI tools effectively with that technology stack β€” prompts, agents, skills, hooks, debug workflows, and architecture patterns.

Unlike generic AI resources, every cookbook entry is immediately actionable for that specific technology.


Why a Cookbook

AI engineering patterns don't change across technologies. The problems do:

  • React developers hit different failure modes than Python developers
  • Kubernetes debugging requires different context than Postgres optimization
  • Azure deployments have different patterns than AWS

The cookbook adapts the OAIES standard to each technology context so you don't have to.


Available Cookbooks

Technology Status Contents
react/ βœ… Stable Components, hooks, state management, testing
nextjs/ πŸ“‹ Planned Routing, SSR, RSC, streaming, caching
node/ πŸ“‹ Planned APIs, middleware, async patterns
python/ πŸ“‹ Planned FastAPI, Django, async, type hints
java/ πŸ“‹ Planned Spring Boot, microservices, JPA
dotnet/ πŸ“‹ Planned ASP.NET Core, EF Core, CQRS
azure/ πŸ“‹ Planned Azure AI, Cognitive Services, APIM
aws/ πŸ“‹ Planned Bedrock, Lambda, Step Functions
docker/ πŸ“‹ Planned Dockerfile optimization, compose, multi-stage
kubernetes/ πŸ“‹ Planned Deployments, scaling, debugging
postgres/ πŸ“‹ Planned Query optimization, migrations, pgvector
redis/ πŸ“‹ Planned Caching patterns, sessions, rate limiting
mongo/ πŸ“‹ Planned Schema design, aggregations, indexing
graphql/ πŸ“‹ Planned Schema design, resolvers, federation
microfrontends/ πŸ“‹ Planned Module federation, routing, state sharing
react-native/ πŸ“‹ Planned Navigation, native modules, performance
performance/ πŸ“‹ Planned Web vitals, bundle optimization, profiling
accessibility/ πŸ“‹ Planned WCAG 2.2, ARIA, screen reader testing
seo/ πŸ“‹ Planned Technical SEO, structured data, Core Web Vitals

Each Cookbook Contains

{technology}/
β”œβ”€β”€ README.md               ← Overview, when to use, architecture context
β”œβ”€β”€ prompts/
β”‚   β”œβ”€β”€ generate.prompt.md  ← Generate new {technology} code
β”‚   β”œβ”€β”€ review.prompt.md    ← Review {technology} code
β”‚   β”œβ”€β”€ debug.prompt.md     ← Debug {technology} issues
β”‚   β”œβ”€β”€ optimize.prompt.md  ← Optimize {technology} performance
β”‚   └── migrate.prompt.md   ← Migrate {technology} patterns
β”œβ”€β”€ agents/
β”‚   β”œβ”€β”€ {technology}.agent.md         ← Specialist agent
β”‚   └── {technology}-debug.agent.md  ← Debug agent
β”œβ”€β”€ skills/
β”‚   └── {technology}.skill.md        ← Technology skill (extends base skill)
β”œβ”€β”€ hooks/
β”‚   β”œβ”€β”€ pre-{technology}.hook.sh     ← Pre-task validation
β”‚   └── post-{technology}.hook.sh    ← Post-task verification
β”œβ”€β”€ mcps/
β”‚   └── {related-tool}.mcp.md       ← Relevant MCP integrations
β”œβ”€β”€ debug-workflows/
β”‚   β”œβ”€β”€ common-errors.md             ← Top 10 errors and solutions
β”‚   └── performance-issues.md        ← Performance debugging playbook
β”œβ”€β”€ architecture/
β”‚   └── patterns.md                  ← Technology-specific architecture patterns
└── checklists/
    β”œβ”€β”€ code-review.md               ← {Technology}-specific review checklist
    └── deployment.md                ← {Technology}-specific deployment checklist

Quick Start

React Example

# Install React cookbook skills
cp cookbook/react/skills/react.skill.md .claude/skills/

# Use the React generation prompt
# Paste the contents of cookbook/react/prompts/generate.prompt.md
# Fill in {{COMPONENT_DESCRIPTION}} and run

Kubernetes Example

# Install Kubernetes debugging skill
cp cookbook/kubernetes/skills/kubernetes.skill.md .claude/skills/

# When you have a pod failing, use:
# cookbook/kubernetes/debug-workflows/common-errors.md
# Find the error pattern and follow the debugging steps

Contributing a New Cookbook

New cookbooks must include at minimum:

  • README with technology overview and when to use this cookbook
  • At least 3 prompts (generate, review, debug)
  • 1 skill file
  • 1 debug workflow with at least 5 common errors
  • Architecture patterns relevant to that technology

Missing any of these = PR rejected.


Anti-Patterns

❌ Generic Prompts That Ignore the Technology

A React cookbook prompt must know what hooks are, what state management libraries exist, what patterns are idiomatic. "Write a React component" is not a cookbook entry.

❌ Cookbook Entries Without Debug Workflows

The most valuable part of any cookbook is the debugging section. Real practitioners spend more time debugging than generating. If your cookbook doesn't cover debugging, it's incomplete.