Skip to main content

> cat ./x_thread.md

[terminal_mode]

AI Coding Mastery: The Ultimate Guide for Newbies

DATE:2026-02-09|FORMAT:x_twitter_thread
Nelson Lourenço's avatar
Nelson Lourenço@nelsonlourenco
8 tweets in this thread
📅 2026-02-09
tweet #11/8

Senior developers don't just write code; they orchestrate context. 🎼 The new "Mastery Stack" for AI-first engineering: 1. Cursor (IDE) 2. Kilo Code (Local AI) 3. Claude (Architect) 4. Antigravity (Integration) Here's the 4-phase workflow to 10x your output. 🧵👇 #AI #SoftwareEngineering

#AI#SoftwareEngineering
❤️428🔁156💬32📅2026-02-09
tweet #22/8

Phase 1: Discovery & Context 🕵️‍♂️ In brownfield projects, "just coding" = regressions. - DON'T touch code yet. - DO prompt for high-level architecture diagrams. - Map service interactions first. Context is king. Give the AI the map before asking for directions. #LegacyCode

#LegacyCode
❤️428🔁156💬32
tweet #33/8

Phase 2: Planning Mode 📝 Move from "Builder" to "Architect". - Stop writing code immediately. - Use "Planning Mode" to discuss features and generate a plan. - Verify steps BEFORE generation. Claude 3.5 Opus is your best friend here for complex reasoning. #SystemDesign

#SystemDesign
❤️428🔁156💬32
tweet #44/8

Phase 3: Sub-agent Execution 🤖 The Superpower Phase. - Use a mono-repo structure. - Instruct sub-agents to work on multiple services in PARALLEL. - Reduce 3-hour tasks to 3 minutes. This is where the 10x multiplier actually happens. #Productivity

#Productivity
❤️428🔁156💬32
tweet #55/8

Phase 4: Multi-Threaded Review ⚖️ Trust, but verify with a "Council of AIs": - Claude Opus: Logic & Architecture - Claude Sonnet: Syntax & Standards - Gemini 1.5: Broad Context Synthesize their findings. You are the judge, they are the jury. #CodeReview

#CodeReview
❤️428🔁156💬32
tweet #66/8

Configuration is Key 🔑 Your `.cursorrules` file is your project's constitution. Define: - Stack & Architecture - Coding Standards (Naming, State Mgmt) - Behavioral Rules ("No yapping", "Always plan first") Without rules, you get generated spaghetti. 🍝

❤️428🔁156💬32
tweet #77/8

Mastery: Green Field vs. Brown Field Green Field 🌱: - Semantic naming for AI retrieval. - Small files (<200 lines) for local context. Brown Field 🍂: - Read before writing (80/20 rule). - Use Kilo Code to learn legacy patterns. - Snapshot functions before refactoring.

❤️428🔁156💬32
tweet #88/8

The definition of "Senior" is shifting. It's no longer about knowing the syntax by heart. It's about: - Managing context - Orchestrating agents - Verifying architectural intent Read the full guide on my blog: https://nelsonstr.xyz/blog/ai-workflow-mastery

❤️428🔁156💬32
❤️428 likes🔁156 retweets💬32 replies
View on X →