Skip to main content

AI Coding

What separates productive AI-assisted development from expensive frustration?

Three Principles

Orchestration. You're not writing code anymore—you're directing intelligent systems. The skill shifts from syntax to clarity of intent. The moat shifts from code to data.

1. Precision Prompting

Prompting is programming. The prompt IS the spec.

  • Start simple, add detail only when needed
  • One clear objective per prompt
  • Build a library of reusable prompt patterns
  • Let the AI propose, you dispose

2. Context Control

AI wastes tokens when context is unclear. Your job: reduce ambiguity.

  • Document architecture decisions where AI can read them
  • Keep working context focused (one problem at a time)
  • Use project rules files to encode standards
  • Context switching kills momentum—batch similar work

3. Model Selection

Match capability to task. Don't use a sledgehammer for a nail.

TaskModel Choice
Quick fixes, simple generationFast/cheap models
Architecture, complex reasoningBest available
Code review, refactoringMid-tier with long context

Invest in the best model for hard problems. Save on commodity tasks.

The Playbook

Before You Start

  1. Understand the domain — Map data flows and entities before touching code
  2. Identify the hard problem — What's the riskiest unknown?
  3. Document constraints — What must be true? What can't change?

Project Setup

Prime your AI with persistent context:

FilePurpose
CLAUDE.md / .cursorrulesProject standards, architecture decisions
README.mdOverview, setup, conventions
docs/Detailed specs AI can reference

During Development

  1. Plan in prompts — Write specs as prompts before generating code
  2. Review everything — AI writes, you verify
  3. Iterate tight — Small changes, frequent checks
  4. Track decisions — Document why, not just what

The Loop

SPECIFY → GENERATE → REVIEW → REFINE → COMMIT
↑ │
└────────────────────────────────────┘

Each cycle should be small. Big prompts = big mistakes.

Automation Boundaries

Not everything should run on autopilot.

Safe for Full AutoRequires Human Gate
Test generation, refactorsProduction deploys
Docs, non-prod environmentsOn-chain transactions
Code review suggestionsSecurity-sensitive changes
Branch creation, local buildsSecrets access, compliance

The rule: Automate aggressively where mistakes are reversible. Gate ruthlessly where they're not.

Build review surfaces (diffs, dashboards, tests) so the human gate is fast but real.

Building the Moat

Code is now commodity. What compounds?

Skills — Reusable workflows that encode domain knowledge. Each execution generates feedback. The skill improves. Competitors can't copy your accumulated refinements.

Data — Proprietary action→consequence pairs. AI learns from your ground truth, not scraped noise. Clean, fast, open data feeds better predictions.

The VVFL: Skills generate data → Data trains better skills → Loop compounds.

See: Data Flow | Data Footprint

Tools

UIs are for Human Beings, Protocols are for Phygital Beings.

ToolBest For
Claude CodeTerminal-native, deep reasoning
CursorIDE integration, codebase awareness
v0.devUI/component prototyping

Context

tip