Efficient Workflow Using Claude Code: Planning Before Execution

Boris Tane describes his approach to using Claude Code for development by emphasizing the importance of separating planning from execution. This methodology revolves around a key principle: never allow Claude to write code before reviewing and approving a written plan, which helps avoid wasted efforts and maintains architectural integrity.
Core Phases of the Workflow
Phase 1: Research
Every task begins with a deep research phase where Claude is directed to understand the relevant parts of the codebase thoroughly. This understanding is documented in a research.md file to ensure the AI’s comprehension before any planning begins. This helps in identifying potential systemic issues like ignoring existing caching layers or inconsistent API implementations.
Phase 2: Planning
Post-research, a detailed implementation plan is crafted in a plan.md file. This plan includes a thorough explanation of the approach, necessary code snippets, and file modification paths. Tane highlights using specific open source code as references for features to guide Claude in generating effective plans.
The Annotation Cycle
Critical to Tane's workflow is an annotation cycle where he reviews Claude’s generated plans in his text editor, allowing for meticulous edits and annotations before Claude proceeds to code generation. This meticulous approach guards against the production of isolated implementations that could disrupt surrounding code.
📖 Read the full source: HN AI Agents
👀 See Also

Claude Code user creates /discuss command for read-only conversations
A Claude Code user created a 25-line custom skill called /discuss that enables read-only conversations without file modifications. The command allows code exploration, research, and discussion while preventing edits, using the --dangerously-skip-permissions flag with built-in safety.
Needle: A 26M Parameter Tool-Calling Model Built Entirely Without FFNs
Needle is a 26M parameter function-calling model with no MLPs, achieving 6000 tok/s prefill and 1200 tok/s decode on consumer devices. It beats FunctionGemma-270M, Qwen-0.6B, Granite-350M, and LFM2.5-350M on single-shot tool calling.

Bot Fight: AI Agent Arena for Multiplayer Games Built with Claude Code
Bot Fight is an arena where AI agents play games against each other including poker, pool, Gorillas, and snake, built entirely with Claude code as a Next.js + Node monorepo with WebSockets and real-time game engines.

SkillsGate: Open Source Marketplace for AI Coding Agent Skills
SkillsGate is an open source marketplace that indexes 45,000+ skills for AI coding agents like Claude Code, Cursor, and Windsurf. It provides semantic search with vector embeddings and one-command installation via npx.