🛠️🧭How to Build AI Agents with Claude Code → Even If You're Starting from Zero.
𝗧𝗵𝗶𝘀 𝗶𝘀 𝟵 𝗳𝗲𝗮𝘁𝘂𝗿𝗲 𝗿𝗼𝗮𝗱𝗺𝗮𝗽 𝗳𝗿𝗼𝗺 𝗖𝗟𝗔𝗨𝗗𝗘.𝗺𝗱 𝘁𝗼 𝗠𝗖𝗣 𝗦𝗲𝗿𝘃𝗲𝗿.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟭: CLAUDE. md
Write this before any code. Not after setup. Before.
✸ Most critical rules first, preferences last
✸ Be blunt: "Never sync in async nodes. Always retry tool calls."
✸ 300 lines max.
→ Example: 12 rules. Claude hasn't suggested a sync node since.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟮: / CLEAR
One command. Nobody uses it.
✸ Kills stale context instantly
→ Example: Claude suggests the wrong framework mid-build. / clear. Done.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟯: Plan Mode
See the plan before Claude touches a file.
✸ Architecture, data models, agent flow first
✸ Wrong design caught in 2 minutes not 2 hours
→ Example: Caught a missing PydanticAI output schema before a single file was created.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟰: / Custom Commands
Typed the same prompt twice this week? Make it a command.
✸ Write: what, why, how, pitfalls
✸ Drop in . claude/commands/, call with /name
→ Tool: / explain: what, why, how, pitfalls on any open file. Never typed it manually since.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟱: Hooks
Claude makes mistakes. Hooks make Claude fix its own.
✸ Pre-tool: blocks dangerous actions
✸ Post-tool: runs mypy + pytest automatically
→ Tool: Claude reads its own failure and fixes it. You just watch.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟲: Git Worktrees
Three tasks. Three branches. Three terminals. All at once.
✸ git worktree add -b branch-name ./ dir
✸ Each Claude session fully isolated
→ Example: 3 Google ADK agents. Alice, Bob, Sarah. Scored simultaneously.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟳: Sub-Agents
Your orchestrator shouldn't do everything.
✸ / agents generates the spec
✸ Each sub-agent gets its own input/output schema
→ Tool: Karen.md: checks if your build is actually done or just feels done.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟴: Skills
Stop re-explaining your stack every session.
✸ Anthropic GitHub: 134k stars, ready to drop in
✸ Skill creator builds new ones for you
→ Tool: Adi Osmani's agent skills repo. 42k stars. Use it before writing anything from scratch.
》𝗙𝗲𝗮𝘁𝘂𝗿𝗲 𝟵: MCP Servers
Don't build what already exists.
✸ Add to claude. json, verify with / mcp
→ Tool: Context7 MCP. Live docs in your session. Deprecated API hallucinations gone.
--
📥 Skip the trial-and-error of building production AI agents.
Watch my free 30-min training + get 88 pages of production guides.
Join 46,000+ AI engineers, architects, and directors.
👉
maryammiradi.com/free-ai-age…