Code Quality

17 articles about code quality.

Teaching AI Agents Taste Through Examples - Five Good, Five Bad

·3 min read

Showing examples works better than abstract guidelines for AI agents. Five good and five bad examples teach taste more effectively than pages of written rules.

ai-agentprompt-engineeringclaude-mdcode-qualitybest-practices

When AI-Built Apps Need a Rewrite vs When They Are Good Enough

·2 min read

Not every AI-built app needs a professional rewrite. Here is how to evaluate whether your AI-generated code is production-ready or heading for trouble.

ai-codingcode-qualityrewritenon-coderproduction

Maintaining Code Quality with AI Coding Agents

·2 min read

AI agents write plausible code that passes review at a glance. Enforce quality with CLAUDE.md conventions, mandatory linter runs, and automated test gates.

code-qualitylintingtestingconventionsai-codingwebdev

5000 Lines of Code Per Day - Why the Metric Is Meaningless Even for AI

·2 min read

AI agents can write thousands of lines of code daily. But lines of code was always a bad metric - and AI makes it even more obvious. What actually matters

ai-codingproductivitymetricsdeveloper-experiencecode-qualityexperienceddevs

Architecture Decision Records with Code References - Holding Architects Accountable

·3 min read

ADRs are only useful when they point to working code. Adding code references to Architecture Decision Records creates accountability and makes decisions

adrarchitecturedocumentationcode-qualityaccountabilityengineering-practices

The Beauty of Deleting Code - Why Less Is Almost Always Better

·3 min read

The best engineering days are when you delete more lines than you write. How a 600-line parser became 40 lines of stdlib and why simplicity wins.

code-qualityrefactoringsimplicitydeveloper-workflowengineering

How CLAUDE.md Prevents AI Agents from Writing Goop Code

·2 min read

The single biggest improvement for AI-generated code quality is describing your architecture in a CLAUDE.md file before the agent touches anything. Here is

claude-mdcode-qualityarchitectureai-codingbest-practiceschatgptcoding

What Is Behind /simplify - Fighting Over-Engineering in AI Code

·3 min read

AI-generated code tends toward over-engineering - unnecessary abstractions, premature optimization, and enterprise patterns for simple problems. Here is how

ai-codeover-engineeringcode-qualitydeveloper-toolssimplicity

Personality Is a Luxury Tax on AI Agents - How Trimming CLAUDE.md Improved Output

·2 min read

Personality is a luxury tax. Trimming CLAUDE.md personality instructions improved code output quality by reducing token waste and keeping the agent focused

claude-mdai-agentprompt-engineeringcode-qualityoptimization

How to Prevent AI-Generated Spaghetti Code with CLAUDE.md and Detailed Specs

·3 min read

AI coding agents produce cleaner code when given detailed specifications and CLAUDE.md constraints. Here's how to prevent goop code before it starts.

claude-codecode-qualityclaude-mdspecificationsbest-practices

When Scaffolding Becomes Architecture in AI Agent Code

·2 min read

Scaffolding you refuse to take down becomes architecture eventually. How temporary workarounds in AI agent codebases become permanent fixtures and what to

ai-agentcode-qualityarchitecturetechnical-debtsoftware-engineering

Understanding vs Just Shipping: The Hidden Cost of AI-Generated Code You Cannot Explain

·2 min read

When AI writes code that works but you do not understand why, you are building on a foundation you cannot debug. Learn when to ship and when to understand

ai-developmentcode-qualityshippingunderstandingtechnical-debt

Vibe Coding Is Not an Excuse to Skip Code Review

·2 min read

Your CTO saying 'just vibe code it' is not a strategy. Using AI to ship faster works - but only if you still review what it produces.

vibe-codingcode-qualityai-codingcode-reviewproductivity

Why Vibe Coded Projects Fail at Scale

·2 min read

Vibe coding with AI is great for prototypes but breaks down at scale. Here is why, and how to transition to structured AI-assisted development before it is

vibe-codingai-codingcode-qualityscalingsoftware-architecture

AI Coding Tools Made Me Mass-Produce Bad Code Faster

·2 min read

AI-generated code looks plausible even when it is wrong. Handwritten bugs are easier to spot. AI bugs have correct syntax but wrong logic.

ai-codingcode-qualitybugsdeveloper-experienceproductivity

Put 'Challenge My Assumptions' in Your CLAUDE.md

·3 min read

Adding assumption-challenging directives to CLAUDE.md prevents AI agents from blindly implementing bad ideas. Make your agent argue with you before it builds.

claude-mdai-agentsdeveloper-workflowcode-qualitybest-practices

Maintaining Code Quality with AI Agents - CLAUDE.md Standards Plus Pre-Commit Hooks

·2 min read

A detailed CLAUDE.md with explicit coding standards combined with pre-commit hooks is the biggest lever for AI agent code quality. Here is how to set it up.

claude-codeclaude-mdcode-qualitypre-commit-hookslinting

Browse by Topic