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

OpenClaw Skill Connects Agents to Knods.io UI for Workflow Creation
A developer has built an OpenClaw skill that enables agents to understand and create workflows within the Knods.io UI, allowing users to switch between specific agents like brand-specific ones instead of relying on Knods' built-in agent.

Membase: External Memory Layer for AI Assistants Across Tools
Membase is an external memory layer that extracts and stores conversation context in a knowledge graph, then injects relevant memories into new chats across Claude, ChatGPT, Cursor, Gemini, and other AI tools. It's currently in private beta with all features free.

Two Patterns for Preventing AI Agent Memory Rot: AutoDream and Skeptical Retrieval
OpenClaw introduces two MIT-licensed patterns to address file-based AI memory rot: AutoDream for nightly memory consolidation and Skeptical Retrieval for decay-weighted memory scoring. Both work together in a self-improving loop to keep agent context current.
Almanac: An AI Agent with a Self-Updating Company Wiki
Almanac (YC S26) is an always-on AI agent that compiles your company's tools into a wiki, enabling proactive task completion and long-horizon follow-ups. It runs on its own computer, connects to Gmail, Slack, and more, and is now live with a 7-day trial.