1. ai

AI Coding for Web Developers

Use AI to write code faster — but only if you know how to steer it, verify output, and avoid the traps models fall into every day.

Last reviewed: June 2026

Tool features change quickly. Pages in this section include review dates — check them before relying on pricing, shortcuts, or UI labels.

Start Here

Common AI Coding Mistakes

Hallucinated APIs, phantom imports, and other mistakes models make, with fixes.

Cursor

Agent mode, @-mentions, rules, and when to use Plan vs Ask.

Prompting for Code

Structured prompts that produce usable diffs, not essays.

Building MCP Servers

Connect external tools and data to your AI coding environment.

Learning Paths

Solo developer: Day 1 with AI coding

  1. Common AI Coding Mistakes — know what goes wrong before you trust output
  2. Choosing an AI Coding Tool — pick Cursor, Codex, Claude Code, Copilot, or others
  3. Prompting for Code — spec → plan → implement → test
  4. Project Rules — stop repeating your stack in every prompt
  5. Verifying AI Output — pre-merge checklist

Optional depth: How LLMs WorkContext EngineeringBuilding MCP Servers

Team lead: Rolling out AI tools

  1. AI Coding Policy for Teams — approved tools, data handling, PR requirements
  2. Project Rules — shared AGENTS.md and rules rollout
  3. Responsible Use — licensing, bias, and user-facing norms
  4. Verifying AI Output — required gates before merge
  5. Security and Prompt Injection — when AI touches production features

Optional depth: Choosing a Tool (procurement section) → Security Anti-patterns

Start Here If…

Your situationStart with
AI suggested code that won't buildCommon Mistakes
Picking your first AI coding toolChoosing a Tool
Model keeps missing project conventionsProject Rules
Shipping a chat feature in your appStreaming Chat Tutorial
Connecting a database to your agentBuilding MCP Servers
Setting team policy from scratchTeam AI Policy
Large repo; model can't find the right fileRAG for Codebases

Page Map

TopicFull guideQuick reference
Mistakes and fixesCommon MistakesAI Coding Mistakes
Pre-merge reviewVerifying OutputPre-Merge Verification
CursorCursorCursor Shortcuts
OpenAI CodexOpenAI CodexOpenAI API Cheat Sheet
Gemini / GoogleGemini Code AssistModel Picker
AWS codingAmazon Q Developer
Multi-agent IDEDevin Desktop
PromptingPrompting for CodeAI Prompting
MCP serversBuilding MCP ServersMCP Config
Agent skillsAgent SkillsAGENTS.md Template
Rules comparisonRules vs Skills
Structured JSONStructured OutputsOpenAI API Cheat Sheet
PR reviewAI Code ReviewPre-Merge Verification
Claude Code CLIClaude CodeClaude Code Commands
Open-source agentsCline, Aider
LLM API routesLLM APIsLLM API Route Handler
OpenAI APIOpenAI APIOpenAI API Cheat Sheet
Model selectionChoosing a ToolModel Picker
Streaming chat appStreaming Chat TutorialLLM API Route Handler
Team policyTeam AI Policy
Token budgetsTokens and Context

What This Section Covers

This is not a generic "what is machine learning" course. Web Reference AI focuses on what working developers need today:

  • Tools — Cursor, Claude Code, Copilot, Codex, Gemini, Devin Desktop, Amazon Q, and how to pick the right one
  • Prompting and context — Rules files, @ references, token budgets, and project conventions
  • Building with AI — MCP servers, LLM APIs, agentic workflows, and RAG for codebases
  • Shipping AI features — Streaming, security, cost, and prompt injection in web apps
  • Verification — Treating AI output as a draft, not a finished product
  • Foundations — Mental models for tokens, context, and evaluating output
  • Tutorials — End-to-end walkthroughs you can run locally

New to how models work under the hood? Start with How LLMs Work — a condensed primer, not a textbook chapter.

How These Pages Are Maintained

Pages are hand-authored Markdoc, reviewed on a rolling basis. Time-sensitive topics (tool UI, pricing, model IDs) include Last reviewed callouts. Prefer official vendor documentation linked from each page over stale inline model names. Section hubs list learning paths; pillar pages include runnable examples and primary-source links.

Cheat Sheets

Quick references you can keep open while coding: