Encoding Team Standards

Rahul Garg ยท article ยท 2026-03-31 source โ†— Reader ๐Ÿ–ฅ๏ธ

Agent SkillsAgent Context Files (CLAUDE.md / AGENTS.md)GuardrailsIntent DebtOrganizational Legibility
A team's standards for how AI should generate, refactor, secure, and review code must stop living as tacit judgment in senior engineers' heads or as unread documentation, and instead be encoded as small, versioned, repository-resident AI instructions โ€” because an instruction's execution is its application, which turns consistent team judgment into a side effect of the normal workflow rather than a separate step that depends on someone remembering and applying it under pressure.

practical ยท argumentative โ€” A practitioner essay (part of a martinfowler.com series on reducing AI-development friction) that diagnoses a specific failure mode and argues for one concrete fix, illustrated with anecdotes from the author's consulting practice and closed with explicit adoption/calibration guidance.

Structure

PartRole
Opening โ€” the senior engineer's tacit, instinctive judgment as the team's most valuable and fragile assetcontext / problem statement
The Consistency Problem โ€” same codebase, same AI, materially different results depending on who prompts, because instructions (not AI knowledge) vary by persondiagnosis
Executable Governance โ€” the two moves (tacit-to-explicit, documentation-to-execution) that convert standards into instructions whose execution is their applicationcore thesis
What This Looks Like โ€” the four-element anatomy of a well-structured instruction (role, context requirements, categorized standards, output format)mechanism / method
Surfacing the Tacit Knowledge โ€” the extraction interview process and its side benefit of surfacing disagreement among seniors themselvesmethod / evidence
Where Standards Meet the Workflow โ€” generation-time vs. review-time application and why earlier application has more leverageelaboration
Standards as Shared Infrastructure โ€” repository placement and PR review as what keeps instructions from becoming a 'documentation graveyard'mechanism / durability argument
Calibration โ€” team-size heuristic and adoption sequencing; honest costsscope-limiting / practical guidance

Key terms

Propositions

Arguments

The AI-output consistency problem is a systems problem requiring a systems solution (executable instructions), not a skills problem solvable by training, documentation, or pairing. strength: high
Explicit premises:
Implicit premises:
Inferences:
Instruction-writing effort should be weighted toward earlier points in the workflow (generation, refactoring) rather than concentrated only at review-time, because the same team judgment applied earlier produces fewer downstream issues than the identical judgment applied only at the end. strength: medium
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Closes gaps elsewhere

Related documents