Prompt Patterns for AI Coding Agents: Plan-First, Spec-First, and Anti-Patterns

Prompt Patterns for AI Coding Agents: Plan-First, Spec-First, and Anti-Patterns

Sourabh
July 25, 2026
13 min read
Share this article
Loading interactive content...

Related Posts

Sourabh
July 12, 2026
15 min read

Vibe Coding to Engineered Workflow: A Practical Guide to AI Coding Agents

The agent one-shots your feature on Monday and quietly rewrites your auth module on Tuesday. Here is the workflow that keeps the speed without the wreckage: plan-first prompting, reviewable diffs, and verification the agent runs itself. With interactive tools to grade your own prompts.

Sourabh
July 18, 2026
14 min read

Context Engineering for Coding Agents: CLAUDE.md, AGENTS.md, and Token Budgets

You correct the agent, it apologizes, and ten minutes later it makes the same mistake. That is not a model problem; it is a memory problem. Here is how the context window works as a budget, what belongs in CLAUDE.md and AGENTS.md, and when to restart a session instead of patching it.

Sourabh
August 1, 2026
14 min read

Loop Engineering: Tests as Guardrails and Verification Loops for AI Agents

An agent that has to prove its work catches its own mistakes. One that only has to look right ships them to you. This is how to build the feedback loop: the verification ladder, test-first prompting, and letting the agent iterate to green on its own without weakening your tests.

Published on July 25, 2026 by Sourabh