AI Coding Tips
A series on practical advices to user the AI to code
TL;DR: Master the balance between AI speed and code with professional craftsmanship.
In this series, you will learn practical state-of-the-art advices to use AI to code.
AI Coding Tip 001 - Commit Before Prompt
TL;DR: Commit your code before asking an AI Assistant to change it.
AI Coding Tip 002 - Prompt in English
TL;DR: When you prompt in English, you align with how AI learned code and spend fewer tokens.
AI Coding Tip 003 - Force Read-Only Planning
TL;DR: Set your AI code assistant to read-only state before it touches your files.
AI Coding Tip 004 - Use Modular Skills
TL;DR: Create small, specialized files with specific rules to keep your AI focused, accurate and preventing hallucinations.
AI Coding Tip 005 - Keep Context Fresh
TL;DR: Clear your chat history to keep your AI assistant sharp.
AI Coding Tip 006 - Review Every Line Before Commit
TL;DR: If you can’t explain all your code, don’t commit it.
AI Coding Tip 007 - Avoid Malicious Skills
TL;DR: Treat AI agent skills like dangerous executable code and read the instructions carefully.
AI Coding Tip 008 - Use Spec-Driven Development with AI
TL;DR: Use AI to understand requirements and build a shared mental model while you write the code.
AI Coding Tip 009 - Compact Your Context
TL;DR: You can keep your AI sharp by forcing it to summarize and prune what it remembers (a.k.a. compacting).
AI Coding Tip 010 - Access All Your Code
TL;DR: Use terminal-based AI tools to give your assistant direct access to your local files and test suites.
AI Coding Tip 011 - Initialize Agents.md
TL;DR: When you use the /init command, you create a context file that saves you from repeating instructions in every new session.
AI Coding Tip 012 - Understand All Your Code
TL;DR: Never ship AI-generated code you don’t understand — ask until you do.
AI Coding Tip 013 - Use Progressive Disclosure
TL;DR: You reduce token usage when you trigger conditional loading instead of loading all files at once.
AI Coding Tip 014 - Use Nested AGENTS.md Files
TL;DR: Split your AGENTS.md into layered files so your AI loads only the rules that matter for the code you touch.
AI Coding Tip 015 - Force the AI to Obey You
TL;DR: Bury critical rules and AI models ignore them. Use explicit markers to force compliance.
AI Coding Tip 016 - Feed Your PR Lessons into the AI Brain
TL;DR: Improve the AI tools, rules, skills, and workflows you use in every pull request so your team and future agents can learn, reproduce, and improve on every change.
AI Coding Tip 017 - Ask for the Analyst, Not the Analysis
TL;DR: Ask the AI to write a program that analyzes your data instead of pasting all your data into the prompt.
AI Coding Tip 018 - Use Voice-Driven-Development
TL;DR: Dictate your prompts instead of typing them to speak twice as fast and give more context.
AI Coding Tip 019 - Tell the AI Why, Not Just What
TL;DR: Tell the AI your reason before your request to get solutions that match your real constraints.
AI Coding Tip 020 - Create a Second Brain
TL;DR: Use Obsidian with Markdown notes, YAML metadata, and direct AI file access to build a Second Brain with LLMs that gives your tools persistent project context.
AI Coding Tip 022 - Give AI a Harness to Work With
TL;DR: Install your harness before prompting: the structure you set up first is what turns an impulsive AI into a safe, steerable collaborator.
AI Coding Tip 023 - Shrink your AI’s Pull Request
TL;DR: Tell your AI to split work into small reviewable pull requests before it writes any code.
AI Coding Tip 024 - Force a Criteria Check Before the Task Ends
TL;DR: Spawn a fresh subagent after every task to check your rules, because the AI that did the work can’t audit itself.
AI Coding Tip 026 - Assign a Persona to Every Skill Definition
TL;DR: Always define a clear role at the top of every skill file so you know whose perspective drives the execution.
AI Coding Tip 027 - Force Code Standards
TL;DR: Wire your standards into hooks, skills, and a judge, so the harness blocks violations before a human opens the diff.
AI Coding Tip 028 - Build a Company Brain
TL;DR: Wire a skill into your company’s live systems so every answer carries a source and a freshness check.
... more coming soon!






























