Why Your AI Generates Crap Code - And How to Fix It

Web Dev Simplified
154,637 views •

There are tons of different ways to configure your AI agents, but most people get it wrong. They don’t know how to use AGENTS.md, when SKILLS.md should be used, or even what a system prompt is. In this video I go through everything you need to know about configuring your AI agent and also talk about the most common mistakes I see even billion dollar companies making in their configuration files. 📚 Materials/References: Skills Crash Course Video: https://youtu.be/cxQLKsktiBA 🌎 Find Me Here: My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified ⏱️ Timestamps: 00:00 - Introduction 00:45 - What files to configure 03:55 - Bad AGENTS.md examples 07:23 - How to write good AGENTS.md files 13:53 - Dealing with CLAUDE.md 15:50 - Nested AGENTS.md files 18:47 - Where Skills fit in #AgentsMD #WDS #AI

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close