<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Maxi Contieri</title>
    <description>The latest articles on Forem by Maxi Contieri (@mcsee).</description>
    <link>https://forem.com/mcsee</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg</url>
      <title>Forem: Maxi Contieri</title>
      <link>https://forem.com/mcsee</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mcsee"/>
    <language>en</language>
    <item>
      <title>AI Coding Tip 016 - Feed Your PR Lessons into the AI Brain</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 21 Apr 2026 11:00:00 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-016-feed-your-pr-lessons-into-the-ai-brain-3al9</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-016-feed-your-pr-lessons-into-the-ai-brain-3al9</guid>
      <description>&lt;p&gt;&lt;em&gt;Your PR descriptions are training data for your future self, and for every agent after you.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You write clean code.&lt;/p&gt;

&lt;p&gt;The AI helps you ship fast after it understands &lt;a href="https://dev.to/mcsee/ai-coding-tip-009-compact-your-context-3io9"&gt;all your context&lt;/a&gt;, and you merge the PR.&lt;/p&gt;

&lt;p&gt;You write "Fix bug" as the description.&lt;/p&gt;

&lt;p&gt;Two weeks later, nobody knows what prompt produced that fix, which &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97"&gt;SKILL.md&lt;/a&gt; was active, or why you chose that approach over the alternative.&lt;/p&gt;

&lt;p&gt;Not your teammates.&lt;/p&gt;

&lt;p&gt;Not a new AI agent.&lt;/p&gt;

&lt;p&gt;Not you.&lt;/p&gt;

&lt;p&gt;The AI's reasoning evaporates the moment you close the chat.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;You lose the exact prompt that produced a working solution and can't reproduce it.&lt;/li&gt;
&lt;li&gt;Future &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec"&gt;agents&lt;/a&gt; start from zero on every PR instead of building on past decisions.&lt;/li&gt;
&lt;li&gt;AGENTS.md, SKILL.md, and rules stay generic because nobody tracks which ones actually worked.&lt;/li&gt;
&lt;li&gt;Onboarding new developers (or new agents) takes longer because context lives nowhere.&lt;/li&gt;
&lt;li&gt;You repeat the same debugging cycles because you never wrote down what failed first.&lt;/li&gt;
&lt;li&gt;The team can't measure whether AI assistance improves over time.&lt;/li&gt;
&lt;li&gt;Code reviews become guesswork when reviewers can't see the AI's reasoning.&lt;/li&gt;
&lt;li&gt;You miss chances to promote a one-off good prompt into a permanent SKILL.md.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Add an "AI Context" section to every PR description:&lt;/strong&gt; Write which agent or tool you used (Claude Code, Copilot, Cursor, Windsurf) and the model version.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Paste or link the key prompt:&lt;/strong&gt; You don't need the full conversation.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Include the decisive prompt that unlocked the solution.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;List the active configuration files:&lt;/strong&gt; Name every SKILL.md, AGENTS.md section, RULES file, or WORKFLOW.md that shaped the output.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Note what the AI got wrong first:&lt;/strong&gt; Write one line about the failed attempt before the correct solution.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is the most valuable information your future self will read.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Flag any manual correction you applied:&lt;/strong&gt; If you edited the AI output, say so and say why.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is feedback your team can turn into a new rule.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Update AGENTS.md as part of the PR:&lt;/strong&gt; If the code change revealed a missing rule or a better workflow step, add it immediately, while context is still fresh.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Update or create SKILL.md entries:&lt;/strong&gt; If you invented a reusable prompt pattern, extract it into a skill file so every future agent can use it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tag the PR with an "ai-assisted" label:&lt;/strong&gt; This lets you filter and audit AI-assisted changes later for quality review.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Review AI-trace PRs in retros:&lt;/strong&gt; Once a sprint, pick two PRs with rich AI context and ask what rule or skill you should add.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Ask the LLM to update what it learned:&lt;/strong&gt; Write a final prompt for the AI to update its own knowledge.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Reusable learning units:&lt;/strong&gt; Every PR becomes a lesson agents can read and reuse.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Living AGENTS.md:&lt;/strong&gt; Your rules file grows richer with each merged change instead of staying a static document nobody updates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shorter feedback loop:&lt;/strong&gt; You compress the gap between a good prompt and a reusable &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97"&gt;skill&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clearer onboarding:&lt;/strong&gt; New developers understand &lt;em&gt;why&lt;/em&gt; code looks the way it does, not just &lt;em&gt;what&lt;/em&gt; it does.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in audit trail:&lt;/strong&gt; You track AI-assisted decisions without extra tooling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measurable AI effectiveness:&lt;/strong&gt; Teams can see which skills produce the fewest corrections.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smarter future agents:&lt;/strong&gt; Every agent inherits your project's accumulated knowledge instead of starting blind.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Faster code reviews:&lt;/strong&gt; Reviewers read explicit context instead of guessing.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;AI agents don't share memory across sessions by default.&lt;/p&gt;

&lt;p&gt;Every new task starts with a blank slate unless you give them written context.&lt;/p&gt;

&lt;p&gt;AGENTS.md, SKILL.md, and WORKFLOW.md files solve this for project-level knowledge.&lt;/p&gt;

&lt;p&gt;Pull requests solve it for &lt;em&gt;change-level&lt;/em&gt; knowledge.&lt;/p&gt;

&lt;p&gt;Think of a PR as a commit message for your AI reasoning.&lt;/p&gt;

&lt;p&gt;A commit message records &lt;em&gt;what&lt;/em&gt; changed.&lt;/p&gt;

&lt;p&gt;An AI-trace PR description records &lt;em&gt;how&lt;/em&gt; and &lt;em&gt;why&lt;/em&gt; the AI reached that solution.&lt;/p&gt;

&lt;p&gt;Teams that treat PRs as AI learning artifacts get better over time: each merged change makes the next AI session smarter.&lt;/p&gt;

&lt;p&gt;This matches the continuous improvement loop from lean manufacturing (kaizen) applied to AI-assisted development.&lt;/p&gt;

&lt;p&gt;You inspect every unit of work, identify waste (bad prompts, missing rules), and standardize the improvement (new skill, updated workflow).&lt;/p&gt;

&lt;h1&gt;
  
  
  Prompt Reference 📝
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Bad PR Description:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Fixed the payment bug

[x] Fixed the null check
[x] Tests pass&lt;span class="sb"&gt;


&lt;/span&gt;&lt;span class="p"&gt; -&lt;/span&gt; if ($payment !== null) {
&lt;span class="p"&gt; -&lt;/span&gt;     $payment-&amp;gt;process();
&lt;span class="p"&gt; -&lt;/span&gt; }
&lt;span class="p"&gt; +&lt;/span&gt; if ($payment !== null &amp;amp;&amp;amp; $payment-&amp;gt;isValid()) {
&lt;span class="p"&gt; +&lt;/span&gt;     $payment-&amp;gt;process();
&lt;span class="p"&gt; +&lt;/span&gt; }

// No AI context. No prompt. No record of what failed first.
// The next agent reads this diff and learns nothing.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Good PR Description:
&lt;/h3&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Fixed PaymentProcessor null check with Null Object pattern

&lt;span class="gs"&gt;**AI Context**&lt;/span&gt;
Tool    : Claude Code (claude-sonnet-4-20250514)
Skill   : /skills/php-clean-code.md §3
Rules   : /AGENTS.md#error-handling
Workflow: /workflows/refactor-feature.md
Prompt  : "Refactor PaymentProcessor using the
           Null Object pattern instead of null
           checks. Follow AGENTS.md conventions."

&lt;span class="gs"&gt;**What the AI tried first**&lt;/span&gt;
Inline null guard. Rejected — violates AGENTS.md
rule on conditionals.

&lt;span class="gs"&gt;**Manual correction applied**&lt;/span&gt;
Renamed NullPayment to NullPaymentMethod to match
domain vocabulary. Added to AGENTS.md#naming.

payment.ts
&lt;span class="p"&gt; -&lt;/span&gt; if ($payment !== null) {
&lt;span class="p"&gt; -&lt;/span&gt;     $payment-&amp;gt;process();
&lt;span class="p"&gt; -&lt;/span&gt; }
&lt;span class="p"&gt; +&lt;/span&gt; $payment-&amp;gt;process();

AGENTS.md

  ## error-handling
&lt;span class="p"&gt;  -&lt;/span&gt; Don't use null checks inline.
&lt;span class="p"&gt;  -&lt;/span&gt; Use guard clauses only at system boundaries.
&lt;span class="p"&gt; +&lt;/span&gt; - Replace null checks with Null Object pattern.
&lt;span class="p"&gt; +&lt;/span&gt; - Null Objects live in /src/NullObjects/.
&lt;span class="p"&gt; +&lt;/span&gt; - Null Object class names follow NullX convention.&lt;span class="sb"&gt;


&lt;/span&gt;skills/clean-code.md

&lt;span class="gu"&gt;## 3 Null Handling&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; - Avoid null returns when possible.
&lt;span class="p"&gt;+&lt;/span&gt; - Never check for null inside domain logic.
&lt;span class="p"&gt;+&lt;/span&gt; - Inject a Null Object instead.
&lt;span class="p"&gt;+&lt;/span&gt; - Example: NullPaymentMethod implements PaymentMethod.
&lt;span class="p"&gt;+&lt;/span&gt; - Prompt: "Replace null check in X with a Null Object
&lt;span class="p"&gt;+&lt;/span&gt;    that implements the same interface."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;Keep the AI Context section short.&lt;/p&gt;

&lt;p&gt;Three to five lines are enough.&lt;/p&gt;

&lt;p&gt;You document it, not transcribe it.&lt;/p&gt;

&lt;p&gt;Sensitive business logic in prompts needs the same care as any other PR content.&lt;/p&gt;

&lt;p&gt;Your repo's access policy applies.&lt;/p&gt;

&lt;p&gt;Not every PR needs full AI tracing.&lt;/p&gt;

&lt;p&gt;A one-line typo fix doesn't.&lt;/p&gt;

&lt;p&gt;A non-trivial refactor or new feature always does.&lt;/p&gt;

&lt;p&gt;Don't paste the entire conversation.&lt;/p&gt;

&lt;p&gt;Extract the signal: the decisive prompt and the first failed attempt.&lt;/p&gt;

&lt;p&gt;AGENTS.md updates from PR traces should go through review like any other code change.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;This practice requires team discipline.&lt;/li&gt;
&lt;li&gt;One developer skipping it breaks the knowledge chain.&lt;/li&gt;
&lt;li&gt;AI tools that don't expose prompt history make extraction harder.&lt;/li&gt;
&lt;li&gt;Use tools that let you copy the context.&lt;/li&gt;
&lt;li&gt;Large monorepos with many SKILL.md files need a naming convention so PR references stay unambiguous.&lt;/li&gt;
&lt;li&gt;You can't retroactively trace PRs merged before you adopted this practice.&lt;/li&gt;
&lt;li&gt;Start from today and move forward.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Standards&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 004 - Use Modular Skills&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3200068" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 27&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" id="article-link-3200068"&gt;
          AI Coding Tip 004 - Use Modular Skills
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 006 - Review Every Line Before Commit&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3251959" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Feb 13&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" id="article-link-3251959"&gt;
          AI Coding Tip 006 - Review Every Line Before Commit
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/development"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;development&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/softwaredevelopment"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;softwaredevelopment&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-011-initialize-agentsmd-nh7" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 011 - Initialize Agents.md&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3369224" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-011-initialize-agentsmd-nh7" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Mar 18&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-011-initialize-agentsmd-nh7" id="article-link-3369224"&gt;
          AI Coding Tip 011 - Initialize Agents.md
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-011-initialize-agentsmd-nh7" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt; reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-011-initialize-agentsmd-nh7#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 014 - Use Nested AGENTS.md Files&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3454716" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Apr 7&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec" id="article-link-3454716"&gt;
          AI Coding Tip 014 - Use Nested AGENTS.md Files
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;Pull requests aren't just code snapshots.&lt;/p&gt;

&lt;p&gt;They're the cheapest knowledge transfer mechanism your team has.&lt;/p&gt;

&lt;p&gt;When you log the prompt, the active skills, the rules, and the first failure alongside the final diff, you turn every merged change into a lesson.&lt;/p&gt;

&lt;p&gt;Your AGENTS.md improves.&lt;/p&gt;

&lt;p&gt;Your SKILL.md library grows.&lt;/p&gt;

&lt;p&gt;Your next AI session starts smarter than the last.&lt;/p&gt;

&lt;p&gt;Stop letting AI reasoning disappear at merge time. 🧠&lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/best-practices-for-pull-requests" rel="noopener noreferrer"&gt;GitHub: Writing good pull request descriptions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.conventionalcommits.org/" rel="noopener noreferrer"&gt;Conventional Commits: Structured commit messages&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://adr.github.io/" rel="noopener noreferrer"&gt;ADR: Architecture Decision Records as a model for AI traces&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://research.google/pubs/" rel="noopener noreferrer"&gt;Google's AI-assisted code review research&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://trunkbaseddevelopment.com/" rel="noopener noreferrer"&gt;Trunk-based development and AI-assisted PRs&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;AI-Aware-Pull-Requests&lt;/li&gt;
&lt;li&gt;Prompt-Traced Code Reviews&lt;/li&gt;
&lt;li&gt;AI-Knowledge-Commits&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>programming</category>
    </item>
    <item>
      <title>AI Coding Tip 015 - Force the AI to Obey You</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 14 Apr 2026 11:00:00 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-015-force-the-ai-to-obey-you-49mc</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-015-force-the-ai-to-obey-you-49mc</guid>
      <description>&lt;p&gt;&lt;em&gt;Don't let your most important instructions drown in context noise&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: Bury critical rules and AI models ignore them. Use explicit markers to force compliance.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You write a long &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97"&gt;skill&lt;/a&gt; file with dozens of rules.&lt;/p&gt;

&lt;p&gt;You bury the most critical ones somewhere in the middle, polluting the context.&lt;/p&gt;

&lt;p&gt;The lazy AI follows the easy instructions and skips the hard ones.&lt;/p&gt;

&lt;p&gt;You never notice until the output is already wrong, and you are frustrated.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;AI models suffer from &lt;strong&gt;attention dilution&lt;/strong&gt;. The longer the context, the weaker the focus on any single rule&lt;/li&gt;
&lt;li&gt;Critical constraints buried mid-file get ignored &lt;strong&gt;silently&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;The AI doesn't tell you it skipped a rule. It just doesn't follow it&lt;/li&gt;
&lt;li&gt;Large skills consume so much context that late instructions compete with early ones&lt;/li&gt;
&lt;li&gt;You waste time debugging outputs instead of trusting your skill&lt;/li&gt;
&lt;li&gt;Re-running the same prompt gives inconsistent results&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Start with a MANDATORY block&lt;/strong&gt;. Put your non-negotiable rules at the very top, before any context or explanation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use explicit severity markers&lt;/strong&gt;. Prefix rules with &lt;code&gt;MANDATORY&lt;/code&gt;, &lt;code&gt;CRITICAL&lt;/code&gt;, or &lt;code&gt;IMPORTANT&lt;/code&gt; in ALL CAPS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apply progressive disclosure&lt;/strong&gt;. Start with the strictest rules, then reveal nuance and context only after anchoring the constraints&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repeat key rules at the end&lt;/strong&gt;. Models give extra weight to what they read first &lt;em&gt;and&lt;/em&gt; last (primacy and recency effect)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split large skills into focused modules&lt;/strong&gt;. One file per concern beats one giant file every time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use structural separators&lt;/strong&gt;. Use &lt;code&gt;---&lt;/code&gt;, &lt;code&gt;===&lt;/code&gt;, or explicit headers like &lt;code&gt;## RULES (READ FIRST)&lt;/code&gt; to visually isolate critical sections&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prefer numbered rules over prose&lt;/strong&gt;. "Rule 1: Never do X" is harder to skip than "you should avoid doing X in most cases"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write a short TL;DR at the top&lt;/strong&gt;. A one-line summary of the skill's purpose acts as a memory anchor for the whole file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add a violation example&lt;/strong&gt;. Show explicitly what breaking the rule looks like so the model has a concrete anti-pattern to avoid&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test adversarially&lt;/strong&gt;. Craft prompts designed to make the AI break your rules, then fix the skill until they hold&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add lots of good and bad examples&lt;/strong&gt;. Create another file in the skill directory with good and bad examples. Tell the LLM to document the bad examples when it doesn't understand you&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Local Rules&lt;/strong&gt;. Put the most critical rules in a &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec"&gt;separate file&lt;/a&gt; and reference it in the skill&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Your most critical constraints survive long context windows&lt;/li&gt;
&lt;li&gt;You get consistent outputs across multiple runs&lt;/li&gt;
&lt;li&gt;You spend less time debugging skill failures&lt;/li&gt;
&lt;li&gt;Other developers understand which rules are non-negotiable at a glance&lt;/li&gt;
&lt;li&gt;You can safely grow your skill file without burying old rules&lt;/li&gt;
&lt;li&gt;You get more confident and less frustrated&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;AI models don't read skill files the way humans do.&lt;/p&gt;

&lt;p&gt;They process tokens sequentially, but attention is not uniform.&lt;/p&gt;

&lt;p&gt;Rules &lt;em&gt;near the start&lt;/em&gt; and &lt;em&gt;end of a prompt&lt;/em&gt; get more weight.&lt;/p&gt;

&lt;p&gt;Rules in the middle of a 200-line skill file get the least.&lt;/p&gt;

&lt;p&gt;This matters most when your skill file grows beyond ~50 lines.&lt;/p&gt;

&lt;p&gt;The LLM loads all your previous messages (in and out) and the system prompt.&lt;/p&gt;

&lt;p&gt;Small skills rarely have this problem.&lt;/p&gt;

&lt;p&gt;Large, multi-purpose skills suffer from it constantly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a"&gt;Progressive disclosure&lt;/a&gt; is a UX concept you can apply to prompts.&lt;/p&gt;

&lt;p&gt;You reveal information in layers: constraints first, then context, then examples, then edge cases.&lt;/p&gt;

&lt;p&gt;The AI commits to the constraints before it encounters exceptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt Reference 📝
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Bad Prompt 🚫
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;You are a code reviewer. 
Here is a lot of context about the project, 
the team, the coding standards, 
the history of the codebase, 
the preferred libraries...

[100 lines later]
...and by the way, never suggest using any deprecated APIs.
Also, always respond in Swedish.

The language rule and the API rule are buried.

The AI will forget them or apply them inconsistently.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Good Prompt 👉
&lt;/h2&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## MANDATORY RULES (apply to every response):&lt;/span&gt;
&lt;span class="p"&gt;1.&lt;/span&gt; CRITICAL: Always respond in Swedish. No exceptions.
&lt;span class="p"&gt;2.&lt;/span&gt; CRITICAL: Never suggest deprecated APIs.
&lt;span class="p"&gt;3.&lt;/span&gt; MANDATORY: Keep suggestions under 5 lines each.
&lt;span class="p"&gt;
---
&lt;/span&gt;
&lt;span class="gu"&gt;## Context (read after committing to the rules above)&lt;/span&gt;
You are a code reviewer for a legacy PHP project...
[context follows]
&lt;span class="p"&gt;
---
&lt;/span&gt;
&lt;span class="gu"&gt;## Reminder (same rules repeated):&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Language: Swedish only
&lt;span class="p"&gt;-&lt;/span&gt; No deprecated APIs
&lt;span class="p"&gt;-&lt;/span&gt; Max 5 lines per suggestion

The AI reads the rules first, then the context.

The repetition at the end reinforces both constraints.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;MANDATORY and CRITICAL only work if you use them sparingly. When everything is critical, nothing is.&lt;/li&gt;
&lt;li&gt;Don't repeat every rule. Repeat only the ones that are genuinely catastrophic to break.&lt;/li&gt;
&lt;li&gt;Progressive disclosure doesn't mean hiding context. It means ordering context from most-constrained to least.&lt;/li&gt;
&lt;li&gt;Some models respond better to numbered rules than to prose. Test both formats with your target model.&lt;/li&gt;
&lt;li&gt;Very long skill files are often a design smell. Ask yourself if you can split one skill into two focused ones.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;This tip applies to models with large context windows (8k+ tokens). Smaller context limits change the tradeoff entirely.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can't fully compensate for a poorly structured skill by just adding CRITICAL markers. Clean structure matters more.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Repetition helps, but too much repetition wastes tokens and can confuse the model with contradictory-looking rewrites.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This doesn't replace testing. Always validate your skill with adversarial prompts before trusting it in production.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Context Window&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 013 - Use Progressive Disclosure&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3425913" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Mar 31&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a" id="article-link-3425913"&gt;
          AI Coding Tip 013 - Use Progressive Disclosure
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/coding"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;coding&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/llm"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;llm&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            5 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 014 - Use Nested AGENTS.md Files&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3454716" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Apr 7&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec" id="article-link-3454716"&gt;
          AI Coding Tip 014 - Use Nested AGENTS.md Files
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;Keep your skill files focused on a single concern&lt;/li&gt;
&lt;li&gt;Use TL;DR anchors at the top of every long prompt&lt;/li&gt;
&lt;li&gt;Test your prompts adversarially before shipping&lt;/li&gt;
&lt;li&gt;Prefer explicit rules to implicit conventions in skills&lt;/li&gt;
&lt;li&gt;Split skills by domain, not by file size&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;A long skill file doesn't enforce itself.&lt;/p&gt;

&lt;p&gt;You need to structure it so the AI can't ignore the parts that matter.&lt;/p&gt;

&lt;p&gt;Put critical rules first.&lt;/p&gt;

&lt;p&gt;Mark them explicitly.&lt;/p&gt;

&lt;p&gt;Repeat the non-negotiables at the end.&lt;/p&gt;

&lt;p&gt;When you apply progressive disclosure, you guide the AI the same way you guide a human reader. &lt;/p&gt;

&lt;p&gt;From constraints to context, not the other way around.&lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://arxiv.org/abs/2307.03172" rel="noopener noreferrer"&gt;Lost in the Middle: How Language Models Use Long Contexts&lt;/a&gt;&lt;br&gt;
&lt;a href="https://arxiv.org/abs/1706.03762" rel="noopener noreferrer"&gt;Attention Is All You Need (original Transformer paper)&lt;/a&gt;&lt;br&gt;
&lt;a href="https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview" rel="noopener noreferrer"&gt;Anthropic Prompt Engineering Guide&lt;/a&gt;&lt;br&gt;
&lt;a href="https://platform.openai.com/docs/guides/prompt-engineering" rel="noopener noreferrer"&gt;OpenAI Best Practices for Prompt Engineering&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2109.01652" rel="noopener noreferrer"&gt;Large Language Models as Instruction Followers&lt;/a&gt; &lt;br&gt;
&lt;a href="https://arxiv.org/abs/2212.10535" rel="noopener noreferrer"&gt;Structured Prompting for Reliable LLM Outputs&lt;/a&gt;&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2404.02060" rel="noopener noreferrer"&gt;Context Length and Model Attention Patterns&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Instruction-anchoring&lt;/li&gt;
&lt;li&gt;Constraint-first-prompting&lt;/li&gt;
&lt;li&gt;Rule-salience-in-prompts&lt;/li&gt;
&lt;li&gt;Attention-aware-skill-design&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;



&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Code Smell 319 - Hardcoded Stateless Properties</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Fri, 10 Apr 2026 11:00:00 +0000</pubDate>
      <link>https://forem.com/mcsee/code-smell-319-hardcoded-stateless-properties-3b7k</link>
      <guid>https://forem.com/mcsee/code-smell-319-hardcoded-stateless-properties-3b7k</guid>
      <description>&lt;p&gt;&lt;em&gt;Don't turn collaborators into permanent roommates&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: You should avoid storing stateless utility classes as instance variables initialized with new.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Problems 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Hardcoded dependencies&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Testing difficulties&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;High &lt;a href="https://dev.to/mcsee/coupling-the-one-and-only-software-design-problem-2pd7"&gt;coupling&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Hidden side effects&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rigid design&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Misleading intent&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Premature Optimization&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Stack clutter &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Solutions 😃
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Use dependency injection&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Pass as parameter&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use static methods&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inline the logic&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use local variables&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inline object creation&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Refactorings ⚙️
&lt;/h1&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/refactoring-024-replace-global-variables-with-dependency-injection-2h51" class="crayons-story__hidden-navigation-link"&gt;Refactoring 024 - Replace Global Variables with Dependency Injection&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-2320661" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/refactoring-024-replace-global-variables-with-dependency-injection-2h51" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Mar 9 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/refactoring-024-replace-global-variables-with-dependency-injection-2h51" id="article-link-2320661"&gt;
          Refactoring 024 - Replace Global Variables with Dependency Injection
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/javascript"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;javascript&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/refactoring-024-replace-global-variables-with-dependency-injection-2h51" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt; reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/refactoring-024-replace-global-variables-with-dependency-injection-2h51#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/refactoring-030-inline-attributes-45mo" class="crayons-story__hidden-navigation-link"&gt;Refactoring 030 - Inline Attributes&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-2679272" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/refactoring-030-inline-attributes-45mo" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jul 11 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/refactoring-030-inline-attributes-45mo" id="article-link-2679272"&gt;
          Refactoring 030 - Inline Attributes
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/javascript"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;javascript&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/refactoring-030-inline-attributes-45mo#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/refactoring-007-extract-class-18ei" class="crayons-story__hidden-navigation-link"&gt;Refactoring 007 - Extract Class&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-1131576" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/refactoring-007-extract-class-18ei" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jul 4 '22&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/refactoring-007-extract-class-18ei" id="article-link-1131576"&gt;
          Refactoring 007 - Extract Class
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/javascript"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;javascript&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/refactoring-007-extract-class-18ei" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;11&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/refactoring-007-extract-class-18ei#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


&lt;h1&gt;
  
  
  Context 💬
&lt;/h1&gt;

&lt;p&gt;Hardcoding a stateless class in the constructor creates permanent coupling.&lt;/p&gt;

&lt;p&gt;Even if the class is cheap to instantiate, you lose the ability to swap it.&lt;/p&gt;

&lt;p&gt;Stateless objects shouldn't be part of the object's internal state.&lt;/p&gt;

&lt;p&gt;You confuse readers by making a tool look essential to the object's identity.&lt;/p&gt;

&lt;p&gt;It makes testing harder because you can't mock the hardcoded dependency.&lt;/p&gt;

&lt;h1&gt;
  
  
  Sample Code 💻
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Wrong 🚫
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;UserProcessor&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;private&lt;/span&gt; &lt;span class="nx"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;MockDataProvider&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="nf"&gt;constructor&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;// You hardcode the dependency here.&lt;/span&gt;
    &lt;span class="c1"&gt;// This makes the class harder to test.&lt;/span&gt;
    &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;provider&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;MockDataProvider&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="nf"&gt;process&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;any&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Right 👉
&lt;/h2&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kr"&gt;interface&lt;/span&gt; &lt;span class="nx"&gt;DataProvider&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;any&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt; &lt;span class="kr"&gt;any&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;UserProcessor&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c1"&gt;// You inject the dependency via constructor.&lt;/span&gt;
  &lt;span class="c1"&gt;// Now you can swap it or mock it easily.&lt;/span&gt;
  &lt;span class="nf"&gt;constructor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;private&lt;/span&gt; &lt;span class="k"&gt;readonly&lt;/span&gt; &lt;span class="nx"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;DataProvider&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;

  &lt;span class="nf"&gt;process&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;any&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;provider&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Simpler but coupled&lt;/span&gt;
 &lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;UserProcessor&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;constructor&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="c1"&gt;// Empty&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="nf"&gt;process&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;any&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;MockDataProvider&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Detection 🔍
&lt;/h2&gt;

&lt;p&gt;Look for the &lt;code&gt;new&lt;/code&gt; keyword inside constructors.&lt;/p&gt;

&lt;p&gt;Watch for private properties instantiated directly in the constructor rather than passed as parameters.&lt;/p&gt;

&lt;p&gt;Most linters flag this pattern automatically when you create instances and assign them to private fields.&lt;/p&gt;
&lt;h2&gt;
  
  
  Tags 🏷️
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Premature Optimization&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Level 🔋
&lt;/h2&gt;

&lt;p&gt;[X] Beginner&lt;/p&gt;
&lt;h2&gt;
  
  
  Why the Bijection Is Important 🗺️
&lt;/h2&gt;

&lt;p&gt;Software should mimic a &lt;a href="https://dev.to/mcsee/what-is-wrong-with-software-5pa"&gt;MAPPER&lt;/a&gt; of the real world.&lt;/p&gt;

&lt;p&gt;In reality, a worker might use a tool to complete a task.&lt;/p&gt;

&lt;p&gt;The tool is not a permanent physical attachment to the worker.&lt;/p&gt;

&lt;p&gt;When you refactor to use dependency injection, you respect the &lt;a href="https://dev.to/mcsee/the-one-and-only-software-design-principle-3086"&gt;bijection&lt;/a&gt; by treating collaborators as external entities, not internal state.&lt;/p&gt;

&lt;p&gt;This keeps your simulation flexible and accurate.&lt;/p&gt;
&lt;h2&gt;
  
  
  AI Generation 🤖
&lt;/h2&gt;

&lt;p&gt;AI generators frequently create this smell.&lt;/p&gt;

&lt;p&gt;They often suggest code that just works by instancing dependencies directly in the constructor to save time.&lt;/p&gt;
&lt;h2&gt;
  
  
  AI Detection 🧲
&lt;/h2&gt;

&lt;p&gt;AI can easily detect this smell without explicit instructions.&lt;/p&gt;

&lt;p&gt;When you show AI a class with &lt;code&gt;new&lt;/code&gt; keywords in the constructor, it recognizes the pattern as hardcoded coupling.&lt;/p&gt;

&lt;p&gt;AI identifies that stateless utility classes should be injected rather than instantiated internally.&lt;/p&gt;

&lt;p&gt;The detection is straightforward because the pattern is syntactically obvious and semantically harmful.&lt;/p&gt;
&lt;h2&gt;
  
  
  Try Them! 🛠
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Remember: AI Assistants make lots of mistakes&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Suggested Prompt: remove the cached attribute&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Without Proper Instructions&lt;/th&gt;
&lt;th&gt;With Specific Instructions&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://chat.openai.com/?q=Correct+and+explain+this+code%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;ChatGPT&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://chat.openai.com/?q=remove+the+cached+attribute%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;ChatGPT&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://claude.ai/new?q=Correct+and+explain+this+code%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;Claude&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://claude.ai/new?q=remove+the+cached+attribute%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;Claude&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.perplexity.ai/?q=Correct+and+explain+this+code%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;Perplexity&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.perplexity.ai/?q=remove+the+cached+attribute%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;Perplexity&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.bing.com/chat?showconv=1&amp;amp;sendquery=1&amp;amp;q=Correct+and+explain+this+code%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;Copilot&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.bing.com/chat?showconv=1&amp;amp;sendquery=1&amp;amp;q=remove+the+cached+attribute%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;Copilot&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://you.com/search?q=Correct+and+explain+this+code%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;You&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://you.com/search?q=remove+the+cached+attribute%3A+%60%60%60typescript%0D%0Aclass+UserProcessor+%7B%0D%0A++private+provider%3A+MockDataProvider%3B%0D%0A%0D%0A++constructor%28%29+%7B%0D%0A++++%2F%2F+You+hardcode+the+dependency+here.%0D%0A++++%2F%2F+This+makes+the+class+harder+to+test.%0D%0A++++this.provider+%3D+new+MockDataProvider%28%29%3B%0D%0A++%7D%0D%0A%0D%0A++process%28data%3A+any%29+%7B%0D%0A++++return+this.provider.format%28data%29%3B%0D%0A++%7D%0D%0A%7D%0D%0A%60%60%60" rel="noopener noreferrer"&gt;You&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://gemini.google.com/" rel="noopener noreferrer"&gt;Gemini&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://gemini.google.com/" rel="noopener noreferrer"&gt;Gemini&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://chat.deepseek.com/" rel="noopener noreferrer"&gt;DeepSeek&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://chat.deepseek.com/" rel="noopener noreferrer"&gt;DeepSeek&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.meta.ai/chat" rel="noopener noreferrer"&gt;Meta AI&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.meta.ai/" rel="noopener noreferrer"&gt;Meta AI&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://grok.com/" rel="noopener noreferrer"&gt;Grok&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://grok.com/" rel="noopener noreferrer"&gt;Grok&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://chat.qwen.ai/" rel="noopener noreferrer"&gt;Qwen&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="https://chat.qwen.ai/" rel="noopener noreferrer"&gt;Qwen&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h2&gt;
  
  
  Conclusion 🏁
&lt;/h2&gt;

&lt;p&gt;Storing stateless dependencies as instance variables makes your code rigid.&lt;/p&gt;

&lt;p&gt;When you inject these dependencies instead, you improve testability and keep your objects focused on their true purpose.&lt;/p&gt;
&lt;h2&gt;
  
  
  Relations 👩‍❤️‍💋‍👨
&lt;/h2&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-06-too-clever-programmer-37lb" class="crayons-story__hidden-navigation-link"&gt;Code Smell 06 - Too Clever Programmer&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-497351" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-06-too-clever-programmer-37lb" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Oct 25 '20&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-06-too-clever-programmer-37lb" id="article-link-497351"&gt;
          Code Smell 06 - Too Clever Programmer
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/codenewbie"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;codenewbie&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-06-too-clever-programmer-37lb" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;10&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-06-too-clever-programmer-37lb#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              7&lt;span class="hidden s:inline"&gt; comments&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-20-premature-optimization-4moe" class="crayons-story__hidden-navigation-link"&gt;Code Smell 20 - Premature Optimization&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-509561" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-20-premature-optimization-4moe" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 8 '20&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-20-premature-optimization-4moe" id="article-link-509561"&gt;
          Code Smell 20 - Premature Optimization
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/oop"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;oop&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/developing"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;developing&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/coding"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;coding&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/codesmell"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;codesmell&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-20-premature-optimization-4moe" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;3&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-20-premature-optimization-4moe#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


&lt;h1&gt;
  
  
  More Information 📕
&lt;/h1&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/coupling-the-one-and-only-software-design-problem-2pd7" class="crayons-story__hidden-navigation-link"&gt;Coupling: The one and only software design problem&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-594117" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/coupling-the-one-and-only-software-design-problem-2pd7" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Feb 6 '21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/coupling-the-one-and-only-software-design-problem-2pd7" id="article-link-594117"&gt;
          Coupling: The one and only software design problem
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/oop"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;oop&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/coupling-the-one-and-only-software-design-problem-2pd7" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;10&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/coupling-the-one-and-only-software-design-problem-2pd7#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              2&lt;span class="hidden s:inline"&gt; comments&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            5 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


&lt;h1&gt;
  
  
  Disclaimer 📘
&lt;/h1&gt;

&lt;p&gt;Code Smells are my &lt;a href="https://dev.to/mcsee/i-wrote-more-than-90-articles-on-2021-here-is-what-i-learned-1n3a"&gt;opinion&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Credits 🙏
&lt;/h1&gt;

&lt;p&gt;Photo by &lt;a href="https://unsplash.com/es/@possessedphotography" rel="noopener noreferrer"&gt;Possessed Photography&lt;/a&gt; on &lt;a href="https://unsplash.com/" rel="noopener noreferrer"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;Coupling is the enemy of change&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Rich Hickey&lt;/em&gt;&lt;/p&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/software-engineering-great-quotes-26ci" class="crayons-story__hidden-navigation-link"&gt;Software Engineering Great Quotes&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-554698" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/software-engineering-great-quotes-26ci" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Dec 28 '20&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/software-engineering-great-quotes-26ci" id="article-link-554698"&gt;
          Software Engineering Great Quotes
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/codenewbie"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;codenewbie&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/quotes"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;quotes&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/software"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;software&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/software-engineering-great-quotes-26ci" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/raised-hands-74b2099fd66a39f2d7eed9305ee0f4553df0eb7b4f11b01b6b1b499973048fe5.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;24&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/software-engineering-great-quotes-26ci#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            75 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;





&lt;p&gt;This article is part of the CodeSmell Series.&lt;/p&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/how-to-find-the-stinky-parts-of-your-code-1dbc" class="crayons-story__hidden-navigation-link"&gt;How to Find the Stinky parts of your Code&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-702108" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/how-to-find-the-stinky-parts-of-your-code-1dbc" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;May 21 '21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/how-to-find-the-stinky-parts-of-your-code-1dbc" id="article-link-702108"&gt;
          How to Find the Stinky parts of your Code
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/codenewbie"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;codenewbie&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/codequality"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;codequality&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/how-to-find-the-stinky-parts-of-your-code-1dbc" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;23&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/how-to-find-the-stinky-parts-of-your-code-1dbc#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            14 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>code</category>
      <category>programming</category>
    </item>
    <item>
      <title>AI Coding Tip 014 - Use Nested AGENTS.md Files</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 07 Apr 2026 11:00:00 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-014-use-nested-agentsmd-files-3iec</guid>
      <description>&lt;p&gt;&lt;em&gt;Context is precious. Don't waste it.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: Split your AGENTS.md into layered files so your AI loads only the rules that matter for the code you touch.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You put a single massive &lt;code&gt;AGENTS.md&lt;/code&gt; , &lt;code&gt;CLAUDE.md&lt;/code&gt; , &lt;code&gt;GEMINI.md&lt;/code&gt; at your project root and cram everything into it.&lt;/p&gt;

&lt;p&gt;Framework rules, database patterns, front-end conventions, and continuous integration configuration—all loaded at once.&lt;/p&gt;

&lt;p&gt;Your AI reads rules that have nothing to do with what you're actually working on.&lt;/p&gt;

&lt;p&gt;This wastes context and weakens the guidance that matters.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Your AI follows rules meant for other parts of the codebase&lt;/li&gt;
&lt;li&gt;Irrelevant context crowds out the rules you actually need&lt;/li&gt;
&lt;li&gt;Updating one big file can break guidance for unrelated areas&lt;/li&gt;
&lt;li&gt;Teammates get confused by your personal preferences&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Create a root &lt;code&gt;AGENTS.md&lt;/code&gt; with global rules: coding standards, commit format, architecture overview, and general gotchas&lt;/li&gt;
&lt;li&gt;Add subdirectory &lt;code&gt;AGENTS.md&lt;/code&gt; files in each major area (&lt;code&gt;model/&lt;/code&gt;, &lt;code&gt;tests/&lt;/code&gt;, &lt;code&gt;api/&lt;/code&gt;) with area-specific rules&lt;/li&gt;
&lt;li&gt;Create &lt;code&gt;AGENTS.local.md&lt;/code&gt; for personal preferences and add it to &lt;code&gt;.gitignore&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Keep files short, opinionated, and actionable—three bullets over three paragraphs&lt;/li&gt;
&lt;li&gt;Trust the loading system: most tools load root files at startup and subdirectory files only when you touch files there
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;FermiCalculator/
├── AGENTS.md       ← loaded at startup (always) with general
│                   rules
├── model/
│   └── AGENTS.md   ← loaded when you make changes to your
│                   model/, model conventions
├── tests/
│   └── AGENTS.md   ← loaded when you change your tests/,
│                   mocking rules
├── ui/
│   └── AGENTS.md   ← loaded when you make changes to ui/,
│                   UI code standards
└── api/
│   └── AGENTS.md   ← loaded when you make changes to api/,
│                   OpenApi formatting
└── database/
│   └── AGENTS.md   ← loaded when you make changes to the
│                   persistence/ DDL Rules
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;The AI reads only rules relevant to what you're working on&lt;/li&gt;
&lt;li&gt;You reduce context waste in every session&lt;/li&gt;
&lt;li&gt;Each team area owns its own guidance independently&lt;/li&gt;
&lt;li&gt;Personal preferences stay personal — they don't pollute shared files&lt;/li&gt;
&lt;li&gt;Smaller files are easier to review and maintain&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;AI coding assistants load context files to understand your project.&lt;/p&gt;

&lt;p&gt;Tools like Claude Code, Cursor, and Copilot support instruction files (&lt;code&gt;AGENTS.md&lt;/code&gt;, &lt;code&gt;CLAUDE.md&lt;/code&gt;, &lt;code&gt;.cursorrules&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;When you put everything in one file, your assistant can't filter what's relevant.&lt;/p&gt;

&lt;p&gt;The layered approach works like good software: separation of concerns.&lt;/p&gt;

&lt;p&gt;The root file sets foundations.&lt;/p&gt;

&lt;p&gt;Subdirectory files add specifics.&lt;/p&gt;

&lt;p&gt;Local files hold personal quirks.&lt;/p&gt;

&lt;p&gt;This helps any project with multiple distinct areas—monorepos benefit most.&lt;/p&gt;

&lt;p&gt;Remember, you always need to &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e"&gt;manage your context&lt;/a&gt; wisely.&lt;/p&gt;
&lt;h2&gt;
  
  
  Prompt Reference 📝
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Bad Prompt:
&lt;/h3&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Here are all the conventions for my project:

[pastes 200 lines of mixed rules for backend, frontend, 
mobile, and CI]

Now help me fix this React component.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Good Prompt:
&lt;/h3&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;I'm working in UI/. My AGENTS.md for this area says: 

use functional components, no class components,

Tailwind only for styling, 

test with React Testing Library.

Help me fix this component.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Not all tools support lazy loading of subdirectory files—check your tool first&lt;/li&gt;
&lt;li&gt;A short bad &lt;code&gt;AGENTS.md&lt;/code&gt; hurts less than a long one. Vague rules get ignored or misapplied&lt;/li&gt;
&lt;li&gt;Consider adding &lt;code&gt;AGENTS.md&lt;/code&gt; when you create new subdirectories&lt;/li&gt;
&lt;li&gt;Review your root file regularly. Outdated rules mislead more than good guidance. See &lt;a href="https://dev.to/mcsee/code-smell-183-obsolete-comments-3mmo"&gt;Outdated Documentation&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Avoid &lt;a href="https://dev.to/mcsee/code-smell-306-ai-external-comments-4556"&gt;AI external comments&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Works best with tools that support hierarchical context loading (Claude Code, Cursor, some Copilot)&lt;/li&gt;
&lt;li&gt;Single-file projects don't need this structure&lt;/li&gt;
&lt;li&gt;You still need good rules—the hierarchy only helps if the content is solid&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;AGENTS.local.md&lt;/code&gt; support varies by tool; check your documentation&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Standards&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 005 - Keep Context Fresh&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3226533" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Feb 4&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" id="article-link-3226533"&gt;
          AI Coding Tip 005 - Keep Context Fresh
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;


&lt;ul&gt;
&lt;li&gt;Use examples in your AGENTS.md, not just descriptions&lt;/li&gt;
&lt;li&gt;Version-control your AGENTS.md alongside your code&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;You don't need one perfect &lt;code&gt;AGENTS.md&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;You need the right rules in the right place.&lt;/p&gt;

&lt;p&gt;Split context by area, keep files tight, and let tools load only what's relevant.&lt;/p&gt;

&lt;p&gt;Your AI works better with less noise. &lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://craftbettersoftware.com/p/stop-using-claude-code-like-a-chatbot" rel="noopener noreferrer"&gt;Stop Using Claude Code as a ChatBot&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.anthropic.com/en/docs/claude-code/memory" rel="noopener noreferrer"&gt;Claude Code CLAUDE.md documentation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.cursor.com/context/rules-for-ai" rel="noopener noreferrer"&gt;Cursor Rules documentation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.github.com/en/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot" rel="noopener noreferrer"&gt;GitHub Copilot custom instructions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://openai.com/blog/custom-instructions-for-chatgpt" rel="noopener noreferrer"&gt;OpenAI ChatGPT custom instructions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aider.chat/docs/usage/conventions.html" rel="noopener noreferrer"&gt;Aider conventions file&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://sourcegraph.com/docs/cody" rel="noopener noreferrer"&gt;Cody context and instructions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://nx.dev/concepts/mental-model" rel="noopener noreferrer"&gt;Monorepo tooling with Nx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.anthropic.com/research/claude-character" rel="noopener noreferrer"&gt;Context window management in LLMs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.promptingguide.ai/" rel="noopener noreferrer"&gt;Prompt engineering guide&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Hierarchical context files&lt;/li&gt;
&lt;li&gt;Layered instructions&lt;/li&gt;
&lt;li&gt;Nested AI rules&lt;/li&gt;
&lt;li&gt;Scoped assistant configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code (&lt;code&gt;CLAUDE.md&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Cursor (&lt;code&gt;.cursorrules&lt;/code&gt; / &lt;code&gt;.cursor/rules&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;GitHub Copilot (&lt;code&gt;.github/copilot-instructions.md&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Aider (&lt;code&gt;CONVENTIONS.md&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Continue.dev (&lt;code&gt;.continuerc.json&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>AI Coding Tip 013 - Use Progressive Disclosure</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 31 Mar 2026 11:00:00 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-013-use-progressive-disclosure-102a</guid>
      <description>&lt;p&gt;&lt;em&gt;Structure your skills so the AI loads only the files it needs. Split complexity across modular files and use keywords to trigger conditional loading.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: You reduce token usage when you trigger conditional loading instead of loading all files at once.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You load a complex skill with 20 associated files into your &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e"&gt;context window&lt;/a&gt; all at once.&lt;/p&gt;

&lt;p&gt;Your context window fills up immediately.&lt;/p&gt;

&lt;p&gt;You waste tokens on irrelevant file content and cases that don't match what you're asking.&lt;/p&gt;

&lt;p&gt;The AI gets lost in noise and disobeys your commands. &lt;/p&gt;

&lt;p&gt;You can't ask follow-up questions because there's no space left and hallucinations happen.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;You waste tokens loading skill files you don't need&lt;/li&gt;
&lt;li&gt;The AI reads case definitions that don't apply to your input&lt;/li&gt;
&lt;li&gt;Context window fills up before you can iterate or ask follow-ups&lt;/li&gt;
&lt;li&gt;Response time slows down because the AI is overwhelmed&lt;/li&gt;
&lt;li&gt;You lose precision when the AI picks the wrong file or rule&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Split your skill into multiple files (one per concern)&lt;/li&gt;
&lt;li&gt;Write a smart description with clear conditional triggers&lt;/li&gt;
&lt;li&gt;Define keywords that trigger file loading&lt;/li&gt;
&lt;li&gt;Create conditional rules: "If input contains X, load file Y"&lt;/li&gt;
&lt;li&gt;Include response templates so the AI knows how to structure answers&lt;/li&gt;
&lt;li&gt;Nest file references only when needed (e.g., array.md loads nested.md only for nested arrays)&lt;/li&gt;
&lt;li&gt;Test your keywords to ensure the AI picks them up correctly&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;p&gt;The AI loads only the files it needs. &lt;/p&gt;

&lt;p&gt;You save 90% of tokens on irrelevant skill content. &lt;/p&gt;

&lt;p&gt;Response times stay fast even with complex skills.&lt;/p&gt;

&lt;p&gt;Your context window stays clean for follow-up questions. &lt;/p&gt;

&lt;p&gt;Each request is precise because the AI only sees rules that matter.&lt;/p&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;Agentic skills can be massive.&lt;/p&gt;

&lt;p&gt;A syntax validator might have files for declarations, arrays, nested arrays, function calls, and scripts.&lt;/p&gt;

&lt;p&gt;If you load all of them, the AI wastes tokens reading rules that don't apply.&lt;/p&gt;

&lt;p&gt;Progressive disclosure in skills works by defining keywords that trigger file loading.&lt;/p&gt;

&lt;p&gt;When you write "DECLARE 123", the skill recognizes the DECLARE keyword and loads declaration.md.&lt;/p&gt;

&lt;p&gt;The AI only reads what matters.&lt;/p&gt;

&lt;p&gt;You write descriptions using "What," "When," or "How" patterns.&lt;/p&gt;

&lt;p&gt;You create conditional rules in your main skill file.&lt;/p&gt;

&lt;p&gt;You include response templates so answers stay consistent.&lt;/p&gt;

&lt;p&gt;The AI requests what it needs using keywords, so you don't have to guess.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Skills Work 🔄
&lt;/h2&gt;

&lt;p&gt;Skills implement progressive disclosure at three stages:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Discovery&lt;/strong&gt;: At startup, agents load only the name and description of each available skill.&lt;/p&gt;

&lt;p&gt;Just enough information to know when a skill might be relevant.&lt;/p&gt;

&lt;p&gt;No full instructions, no referenced files, no code—only the metadata.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Activation&lt;/strong&gt;: When a task matches a skill's description, the agent reads the full SKILL.md instructions into context.&lt;/p&gt;

&lt;p&gt;Now the agent has the complete instructions and knows what to do.&lt;/p&gt;

&lt;p&gt;Still no unnecessary files or code loaded yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Execution&lt;/strong&gt;: The agent follows the instructions, optionally loading referenced files or executing bundled code as needed.&lt;/p&gt;

&lt;p&gt;Only when the AI detects it needs something does it load that file or run that script.&lt;/p&gt;

&lt;p&gt;This approach keeps agents fast while giving them access to more context when they actually need it.&lt;/p&gt;

&lt;p&gt;Each step is triggered by actual need, not preloaded upfront.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt Reference 📝
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Bad Prompt:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gh"&gt;# SKILL.md (15,000 tokens - Monolithic)&lt;/span&gt;

Validates DECLARE, arrays, nested arrays,
function calls, loops, all in one file.

DECLARE Rules:
&lt;span class="p"&gt;-&lt;/span&gt; First char uppercase
&lt;span class="p"&gt;-&lt;/span&gt; Can't start with number

Array Rules:
&lt;span class="p"&gt;-&lt;/span&gt; Use square brackets [item]
&lt;span class="p"&gt;-&lt;/span&gt; Examples: [foo], [bar]

Function Call Rules:
&lt;span class="p"&gt;-&lt;/span&gt; Parentheses required: func()
&lt;span class="p"&gt;-&lt;/span&gt; Parameters separated by commas

Loop Rules:
&lt;span class="p"&gt;-&lt;/span&gt; FOR, WHILE, DO keywords
&lt;span class="p"&gt;-&lt;/span&gt; Body must be indented
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;When you ask "Is DECLARE 123 valid?" the AI loads all 15,000 tokens covering every rule.&lt;/p&gt;

&lt;p&gt;Context window fills up fast.&lt;/p&gt;
&lt;h3&gt;
  
  
  Good Prompt:
&lt;/h3&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gh"&gt;# SKILL.md (800 tokens - Modular)&lt;/span&gt;

Validates foo syntax: DECLARE, arrays,
nested arrays, function calls, loops.

Rules:
&lt;span class="p"&gt;-&lt;/span&gt; DECLARE detected → load declaration.md
&lt;span class="p"&gt;-&lt;/span&gt; [ detected → load array.md
&lt;span class="p"&gt;-&lt;/span&gt; ( detected → load function-call.md

Template: [input] valid?
[YES/NO]. Reason: [rule].
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;declaration.md&lt;/strong&gt; (1,200 tokens):&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;First&lt;/span&gt; &lt;span class="nb"&gt;character&lt;/span&gt; &lt;span class="n"&gt;must&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;uppercase&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Cannot&lt;/span&gt; &lt;span class="k"&gt;start&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Examples&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;DECLARE&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;DECLARE&lt;/span&gt; &lt;span class="n"&gt;foo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;array.md&lt;/strong&gt; (1,500 tokens):&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Must use brackets: [item]
References nested-array.md for [x]
Examples: [foo], [bar], [123]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;When you ask "Is DECLARE 123 valid?" the AI loads only SKILL.md (800) + declaration.md (1,200) = 2,000 tokens.&lt;/p&gt;

&lt;p&gt;Context stays clean for follow-up questions.&lt;/p&gt;
&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;Define your keywords upfront so the AI recognizes them consistently. &lt;/p&gt;

&lt;p&gt;Each file should handle one concern (declarations, arrays, etc.).&lt;/p&gt;

&lt;p&gt;Don't create too many nested references or the loading chain becomes confusing. &lt;/p&gt;

&lt;p&gt;Test your keyword patterns to make sure the AI recognizes them.&lt;/p&gt;

&lt;p&gt;If your skill includes scripts, review them carefully. &lt;/p&gt;

&lt;p&gt;Scripts can create security risks if they run without review.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;p&gt;Progressive disclosure works best when keywords are distinctive. &lt;/p&gt;

&lt;p&gt;Generic words like "function" might trigger too often and load the wrong file.&lt;/p&gt;

&lt;p&gt;Deeply nested file structures (3+ levels) are confusing to maintain. &lt;/p&gt;

&lt;p&gt;External scripts need security review before you share skills from online repositories. &lt;/p&gt;

&lt;p&gt;Keywords must be clear or the AI loads files unpredictably.&lt;/p&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Standards&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 001 - Commit Before Prompt&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3148461" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 6&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9" id="article-link-3148461"&gt;
          AI Coding Tip 001 - Commit Before Prompt
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/development"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;development&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/coding"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;coding&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;3&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 005 - Keep Context Fresh&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3226533" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Feb 4&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" id="article-link-3226533"&gt;
          AI Coding Tip 005 - Keep Context Fresh
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;



&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-009-compact-your-context-3io9" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 009 - Compact Your Context&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3303683" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-009-compact-your-context-3io9" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Mar 3&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-009-compact-your-context-3io9" id="article-link-3303683"&gt;
          AI Coding Tip 009 - Compact Your Context
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-009-compact-your-context-3io9" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;4&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-009-compact-your-context-3io9#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;Progressive disclosure in skills means splitting files by concern and using keywords to trigger conditional loading. &lt;/p&gt;

&lt;p&gt;You define what the AI needs to see, not dump everything.&lt;/p&gt;

&lt;p&gt;Include templates so responses stay consistent.&lt;/p&gt;

&lt;p&gt;When you get good at this pattern, even complex skills stay fast, efficient, and focused. 🎯&lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://agentskills.io/what-are-skills#how-skills-work" rel="noopener noreferrer"&gt;Agent skills progressive disclosure&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.anthropic.com/en/docs/build-a-bot" rel="noopener noreferrer"&gt;Claude Token Counting Guide&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.anthropic.com/en/docs/about-claude/models/overview" rel="noopener noreferrer"&gt;Context Windows and Token Limits&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.anthropic.com/en/docs/build-a-bot" rel="noopener noreferrer"&gt;Prompt Engineering Patterns&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Progressive_disclosure" rel="noopener noreferrer"&gt;UX Progressive Disclosure&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.nngroup.com/articles/ia-basics/" rel="noopener noreferrer"&gt;Information Architecture Best Practices&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.nngroup.com/articles/cognitive-load-estimation/" rel="noopener noreferrer"&gt;Cognitive Load Theory&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://platform.openai.com/docs/guides/prompt-engineering" rel="noopener noreferrer"&gt;Efficient Prompt Design&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.anthropic.com/en/docs/about-claude/models/overview" rel="noopener noreferrer"&gt;API Cost Optimization&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://arxiv.org/abs/2304.08134" rel="noopener noreferrer"&gt;Code Context Patterns&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/DQHFow2NoQc"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/hTKhLgRcAys"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Layered context disclosure&lt;/li&gt;
&lt;li&gt;Just-in-time information architecture&lt;/li&gt;
&lt;li&gt;Context-on-demand&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Windsurf with &lt;a href="https://docs.windsurf.com/windsurf/cascade/skills" rel="noopener noreferrer"&gt;progressive disclosure&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub Copilot with skills&lt;/li&gt;
&lt;li&gt;Claude with custom skills&lt;/li&gt;
&lt;li&gt;VS Code Copilot Chat&lt;/li&gt;
&lt;li&gt;Agentic frameworks&lt;/li&gt;
&lt;li&gt;Token counter tools&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image" width="800" height="533"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt="" width="800" height="533"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>coding</category>
      <category>llm</category>
      <category>productivity</category>
    </item>
    <item>
      <title>AI Coding Tip 012 - Understand All Your Code</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Mon, 23 Mar 2026 15:25:54 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-012-understand-all-your-code-450h</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-012-understand-all-your-code-450h</guid>
      <description>&lt;p&gt;&lt;em&gt;You own the code. Own and understand what it does.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: Never ship AI-generated code you don't understand — ask until you do.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You ask an AI agent to implement a feature.&lt;/p&gt;

&lt;p&gt;It returns 200 lines of code.&lt;/p&gt;

&lt;p&gt;You run the tests. They pass. You commit and push.&lt;/p&gt;

&lt;p&gt;You think you are the best 'agentic-coder' in the world.&lt;/p&gt;

&lt;p&gt;But you never read the code.&lt;/p&gt;

&lt;p&gt;Three weeks later, a security issue appears in production.&lt;/p&gt;

&lt;p&gt;The AI introduced subtle &lt;a href="https://dev.to/mcsee/stop-calling-them-bugs-57gl"&gt;bugs&lt;/a&gt; you could have caught in two minutes.&lt;/p&gt;

&lt;p&gt;You didn't catch it because you never looked.&lt;/p&gt;

&lt;p&gt;You're accountable but don't understand what the code does, and you can't explain it to others.&lt;/p&gt;

&lt;p&gt;There are many fancy video tutorials on using agents without reviewing the code.&lt;/p&gt;

&lt;p&gt;Remember, there must always be a human in the loop.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;You lose control of your own codebase.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can't debug code you don't understand.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You ship vulnerabilities without knowing they exist.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can't explain your own code in a code review.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You build a dependency on AI that makes you a worse engineer over time.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You take legal and professional responsibility for code you never vetted.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" class="crayons-story__hidden-navigation-link"&gt;Code Smell 313 - Workslop Code&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-2987607" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 4 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" id="article-link-2987607"&gt;
          Code Smell 313 - Workslop Code
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/web3"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;web3&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Read every code line the AI generates or modifies before you accept it.&lt;/li&gt;
&lt;li&gt;Ask the AI to explain any part you don't understand.&lt;/li&gt;
&lt;li&gt;Ask follow-up questions until the explanation is clear to you.&lt;/li&gt;
&lt;li&gt;Identify the assumptions the AI made and verify them.&lt;/li&gt;
&lt;li&gt;Check edge cases the AI might have missed. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/mcsee/how-to-improve-your-code-with-easy-refactorings-2ij6"&gt;Refactor&lt;/a&gt; and polish any part that you would not have written that way yourself.&lt;/li&gt;
&lt;li&gt;Make the code yours before you &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9"&gt;commit&lt;/a&gt; it.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;You stay as the author of your codebase, not just a curator of AI output.&lt;/li&gt;
&lt;li&gt;You catch &lt;a href="https://dev.to/mcsee/stop-calling-them-bugs-57gl"&gt;defects&lt;/a&gt; before they reach production.&lt;/li&gt;
&lt;li&gt;You learn from what the AI generates.&lt;/li&gt;
&lt;li&gt;You build trust with your team because you can explain your code.&lt;/li&gt;
&lt;li&gt;You make better prompts over time because you understand what went wrong.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;AI agents are fast. That speed creates pressure.&lt;/p&gt;

&lt;p&gt;You feel like slowing down to read breaks the momentum.&lt;/p&gt;

&lt;p&gt;It doesn't. It saves you.&lt;/p&gt;

&lt;p&gt;The AI doesn't know your system. It doesn't know your constraints.&lt;/p&gt;

&lt;p&gt;It doesn't know what happened last quarter when you made a similar change.&lt;/p&gt;

&lt;p&gt;You do. That context is irreplaceable.&lt;/p&gt;

&lt;p&gt;When you skip reading, you hand off judgment to a tool that has no judgment. You outsource the one thing only you can do.&lt;/p&gt;

&lt;p&gt;Asking questions is not a sign of weakness. &lt;/p&gt;

&lt;p&gt;It is how you stay in control.&lt;/p&gt;

&lt;p&gt;The AI won't judge you for asking.&lt;/p&gt;

&lt;p&gt;It will give you a better answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt Reference 📝
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Bad Prompt:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Implement user authentication,

add it to the project,

commit and push to the main branch.

&lt;span class="ge"&gt;*This prompt gives the AI full authority over a critical system. *&lt;/span&gt;

&lt;span class="ge"&gt;*You get a blob of code with no checkpoint for understanding.*&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Good Prompt:
&lt;/h2&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Implement a login function using JWT.

Use RS256 signing.

After you write it, ask me questions about each step.

I'd like to understand what you did on every line of code

&lt;span class="ge"&gt;*This prompt sets expectations.*&lt;/span&gt;

&lt;span class="ge"&gt;*You get code AND an explanation.*&lt;/span&gt;

&lt;span class="ge"&gt;*You know what to verify.*&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;The AI can write completely wrong, confident-sounding code.&lt;/li&gt;
&lt;li&gt;Passing tests doesn't mean you wrote correct logic.&lt;/li&gt;
&lt;li&gt;The AI optimizes for plausible output, not correct output.&lt;/li&gt;
&lt;li&gt;You are responsible for what you deploy, not the AI.&lt;/li&gt;
&lt;li&gt;Some AI mistakes are subtle. You only catch them when you read carefully.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;For very large generated files, break your review into sections.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Readability&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Beginner&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 006 - Review Every Line Before Commit&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3251959" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Feb 13&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" id="article-link-3251959"&gt;
          AI Coding Tip 006 - Review Every Line Before Commit
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/development"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;development&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/softwaredevelopment"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;softwaredevelopment&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;


&lt;ul&gt;
&lt;li&gt;&lt;p&gt;AI Coding Tip - Ask the AI to Explain Its Own Code&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AI Coding Tip - Use AI as a Pair Programmer, Not a Replacement&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;The AI writes fast. You think too slowly. That is not a flaw.&lt;/p&gt;

&lt;p&gt;That is the division of labor that makes the combination work.&lt;/p&gt;

&lt;p&gt;Speed without understanding is just faster mistakes.&lt;/p&gt;

&lt;p&gt;Ask questions. Read the code. Own what you ship. 🏁&lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://pragprog.com/titles/tpp20/the-pragmatic-programmer-20th-anniversary-edition/" rel="noopener noreferrer"&gt;The Pragmatic Programmer - Your Code, Your Responsibility&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://owasp.org/www-project-top-ten/" rel="noopener noreferrer"&gt;OWASP Top Ten - Common Security Risks in Code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://google.github.io/eng-practices/review/" rel="noopener noreferrer"&gt;Code Review Best Practices - Google Engineering&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://martinfowler.com/bliki/CodeSmell.html" rel="noopener noreferrer"&gt;Martin Fowler - Code Smells&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://arxiv.org/abs/2211.03622" rel="noopener noreferrer"&gt;GitHub Copilot Security Research - Risks of AI Code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.acm.org/code-of-ethics" rel="noopener noreferrer"&gt;ACM Code of Ethics - Professional Responsibility&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://stackoverflow.blog/2023/04/17/how-ai-changes-code-ownership/" rel="noopener noreferrer"&gt;Stack Overflow Blog - How AI Changes Code Ownership&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.ieee.org/education/standards/index.html" rel="noopener noreferrer"&gt;IEEE Software Engineering Standards&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cwe.mitre.org/" rel="noopener noreferrer"&gt;CWE - Common Weakness Enumeration&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;"Trust but verify."&lt;/li&gt;
&lt;li&gt;"AI-generated code review."&lt;/li&gt;
&lt;li&gt;"Responsible AI coding."&lt;/li&gt;
&lt;li&gt;"Developer accountability"&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Any AI coding assistant (GitHub Copilot, Claude, Cursor, Codeium)&lt;/li&gt;
&lt;li&gt;Your language's linter and static analysis tool&lt;/li&gt;
&lt;li&gt;Code review tools (GitHub PRs, GitLab MRs, Gerrit)&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;


&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>webdev</category>
      <category>ai</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>AI Coding Tip 011 - Initialize Agents.md</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Wed, 18 Mar 2026 22:12:31 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-011-initialize-agentsmd-nh7</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-011-initialize-agentsmd-nh7</guid>
      <description>&lt;p&gt;&lt;em&gt;Summarize your architecture rules and give your AI a persistent memory&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: When you use the /init command, you create a context file that saves you from repeating instructions in every new session.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You waste time copying and pasting the same project rules into every new chat. &lt;/p&gt;

&lt;p&gt;You forgot to tell the AI about your specific test commands. &lt;/p&gt;

&lt;p&gt;When you start a fresh session, the AI loses all previous context about your coding style or architecture.&lt;/p&gt;

&lt;p&gt;Create your own &lt;em&gt;system prompts&lt;/em&gt;, persist them and keep an eye on them regularly.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Repetitive and manual meta-prompting&lt;/li&gt;
&lt;li&gt;Inconsistent &lt;a href="https://dev.to/mcsee/code-smell-48-code-without-standards-2f5m"&gt;code styles&lt;/a&gt; across sessions&lt;/li&gt;
&lt;li&gt;High token usage from redundant instructions&lt;/li&gt;
&lt;li&gt;AI hallucinations about build or test commands&lt;/li&gt;
&lt;li&gt;Onboarding new projects&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Open your terminal in your project root directory.&lt;/li&gt;
&lt;li&gt;Type &lt;a href="https://opencode.ai/docs/rules/" rel="noopener noreferrer"&gt;&lt;code&gt;/init&lt;/code&gt;&lt;/a&gt; if you use Claude Code or OpenCode.&lt;/li&gt;
&lt;li&gt;Review the generated &lt;code&gt;CLAUDE.md&lt;/code&gt; or &lt;code&gt;AGENTS.md&lt;/code&gt; file.&lt;/li&gt;
&lt;li&gt;Add specific "landmines" or things the AI can't see in the code.&lt;/li&gt;
&lt;li&gt;Save the file, &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm"&gt;review the commit diffs&lt;/a&gt;, and start your next coding task.&lt;/li&gt;
&lt;li&gt;You can do it again when you have new rules.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;p&gt;When you initialize (/Init) your project, the AI reads all the repository immediately. &lt;/p&gt;

&lt;p&gt;You get consistent results without extra effort. &lt;/p&gt;

&lt;p&gt;You save tokens because you don't have to describe your stack every time.&lt;/p&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;AI assistants start every session with a blank slate. &lt;/p&gt;

&lt;p&gt;They don't remember what you told them yesterday. &lt;/p&gt;

&lt;p&gt;Tools like Claude Code look for a specific file to understand your project. &lt;/p&gt;

&lt;p&gt;When you provide this saved file, you close the gap between separate AI sessions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt Reference 📝
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Bad Prompt:&lt;/strong&gt;&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Remember to use 2 spaces for indentation 
and always run 'npm run test:unit' 
before you finish the task.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Good Prompt:&lt;/strong&gt;&lt;/p&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;git clone https://github.com/torvalds/linux.git

/Init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;Keep the generated file short. &lt;/p&gt;

&lt;p&gt;When you add too much text, the AI might get confused. &lt;/p&gt;

&lt;p&gt;Don't include information that the AI can already find in your &lt;code&gt;package.json&lt;/code&gt; or &lt;code&gt;README.md&lt;/code&gt;.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;p&gt;You can only use this tip with AI tools that support persistent context files. &lt;/p&gt;

&lt;p&gt;If you change your build tools, you can update the Markdown file manually, run /init again, or do both.&lt;/p&gt;

&lt;p&gt;In Windsurf, there is no literal /init terminal command that automatically generates a configuration file, as Claude Code or OpenCode does.&lt;/p&gt;

&lt;p&gt;Windsurf uses a more agentic approach where the AI (Cascade) either discovers your rules automatically or creates them when you ask.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Cascade, initialize a .windsurfrules file for this project. Include my tech stack, coding standards, and build commands.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Standards&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Beginner&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/mcsee" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;AI Coding Tip 006 - Review Every Line Before Commit&lt;/h2&gt;
      &lt;h3&gt;Maxi Contieri ・ Feb 13&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#ai&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#programming&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#development&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#softwaredevelopment&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Use &lt;em&gt;.cursorrules&lt;/em&gt; for local preferences&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create modular &lt;em&gt;AGENTS.md&lt;/em&gt; files for monorepos&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keep your &lt;em&gt;README.md&lt;/em&gt; updated for better AI indexing&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;When you use &lt;code&gt;/init&lt;/code&gt;, you turn your AI from a temporary contributor into a permanent team member.&lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://opencode.ai/docs/rules/" rel="noopener noreferrer"&gt;OpenCode /Init&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview%23claudemd-guide" rel="noopener noreferrer"&gt;Claude Code: CLAUDE.md&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.cursor.com/context/rules-for-ai" rel="noopener noreferrer"&gt;.cursorrules in Cursor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.windsurf.com/windsurf/cascade/memories" rel="noopener noreferrer"&gt;Windsurf rules&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Project-AI-Onboarding&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Context-Bootstrapping&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Claude Code&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;OpenCode&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cursor (via .cursorrules)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/mcsee" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;AI Coding Tips&lt;/h2&gt;
      &lt;h3&gt;Maxi Contieri ・ Jan 21&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#webdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#ai&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#programming&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#beginners&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>ai</category>
      <category>programming</category>
    </item>
    <item>
      <title>AI Coding Tip 010 - Access All Your Code</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 10 Mar 2026 18:52:48 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-010-access-all-your-code-3ocp</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-010-access-all-your-code-3ocp</guid>
      <description>&lt;p&gt;&lt;em&gt;Stop copying code chunks. Start letting AI agents work directly with your files.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: Use terminal-based AI tools to give your assistant direct access to your local files and test suites.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You copy code snippets into a web browser chat like &lt;a href="https://dev.to/mcsee/chatgpt-is-amazing-and-it-is-free-1h12"&gt;ChatGPT&lt;/a&gt;, Claude, or Grok.&lt;/p&gt;

&lt;p&gt;You manually move code back and forth and give small chunks of code, filling up the context window. &lt;/p&gt;

&lt;p&gt;You lose the context of your folder structure, relations among modules, and the whole architecture. &lt;/p&gt;

&lt;p&gt;The AI often (wrongly) guesses your project layout and hallucinates.&lt;/p&gt;

&lt;p&gt;When you do this, you get inconsistent code and outdated logic.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Context Tax:&lt;/strong&gt; Manual copying wastes your focus.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hallucinations:&lt;/strong&gt; The AI suggests libraries you don't actually have.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Isolated logic:&lt;/strong&gt; The assistant doesn't know if your code even builds.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Manual effort:&lt;/strong&gt; You have to run every test and fix every error yourself.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You're basically playing assistant to the AI, running around doing the busywork.&lt;/p&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;p&gt;Download a &lt;strong&gt;CLI&lt;/strong&gt; or &lt;em&gt;IDE&lt;/em&gt; tool like Claude Code, OpenCode, Windsurf, or similar, and let it access &lt;em&gt;ALL&lt;/em&gt; your codebase.&lt;/p&gt;

&lt;p&gt;(You'll need to check compliance, set up safeguards, and respect any NDAs).&lt;/p&gt;

&lt;p&gt;Open your terminal and start an interactive session. Let the agent navigate through all your code.&lt;/p&gt;

&lt;p&gt;Describe what you want to accomplish at a high level and delegate to the orchestrator agent.&lt;/p&gt;

&lt;p&gt;Review the &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m"&gt;proposed plan&lt;/a&gt; in the terminal.&lt;/p&gt;

&lt;p&gt;Approve the changes to update your local files.&lt;/p&gt;

&lt;p&gt;Let the agent run your tests and fix failures automatically.&lt;/p&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;p&gt;Full project context through local AST and RAG indexing.&lt;/p&gt;

&lt;p&gt;Self-healing code through automated shell feedback loops.&lt;/p&gt;

&lt;p&gt;Multi-file edits in a single prompt.&lt;/p&gt;

&lt;p&gt;Parallel development using multiple agent instances.&lt;/p&gt;

&lt;p&gt;Iterative incremental learning and experimentation. Baby steps.&lt;/p&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;We were all blown away when ChatGPT came out.&lt;/p&gt;

&lt;p&gt;I &lt;a href="https://dev.to/mcsee/chatgpt-is-amazing-and-it-is-free-1h12"&gt;wrote an article 2 days after its release&lt;/a&gt;, understanding it was a &lt;strong&gt;game-changer&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Even people like me who had been working with earlier GPT models.&lt;/p&gt;

&lt;p&gt;Four years later, you still see many developers coding this way.&lt;/p&gt;

&lt;p&gt;It works for small algorithms and functions, but falls apart for real software engineering.&lt;/p&gt;

&lt;h1&gt;
  
  
  Prompt Reference 📝
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Bad Prompt
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Please fix the login bug in this snippet:&lt;/span&gt;

&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;loginUser&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;password&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://api.penrosebrain.com/login&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;PUT&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Content-Type&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;application/json&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;password&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;

  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;There was an error:&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nf"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Good Prompt
&lt;/h3&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// opencode: "Create a failing text, fix the login bug, run tests, &lt;/span&gt;
&lt;span class="c1"&gt;// Ensure it passes the new test and all the previous ones&lt;/span&gt;
&lt;span class="c1"&gt;// Create a Pull Request so I can review it&lt;/span&gt;

&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;loginUser&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;password&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://api.penrosebrain.com/login&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;PUT&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Content-Type&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;application/json&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;},&lt;/span&gt;
      &lt;span class="na"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;password&lt;/span&gt; &lt;span class="p"&gt;}),&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;

  &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;catch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;There was an error:&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nf"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;CLI agents have a learning curve. &lt;/p&gt;

&lt;p&gt;Always &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm"&gt;review all changes&lt;/a&gt; before &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9"&gt;committing&lt;/a&gt; them. &lt;/p&gt;

&lt;p&gt;Use a sandbox environment if you run untrusted code.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;p&gt;Don't use this for tiny, one-off scripts. &lt;/p&gt;

&lt;p&gt;Web chats work better for creative brainstorming or generating images. &lt;/p&gt;

&lt;p&gt;High token usage in long sessions can drive up your API costs.&lt;/p&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Complexity&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 003 - Force Read-Only Planning&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3177915" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 20&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" id="article-link-3177915"&gt;
          AI Coding Tip 003 - Force Read-Only Planning
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/chatgpt"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;chatgpt&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/code"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;code&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;





&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 006 - Review Every Line Before Commit&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3251959" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Feb 13&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm" id="article-link-3251959"&gt;
          AI Coding Tip 006 - Review Every Line Before Commit
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/development"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;development&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/softwaredevelopment"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;softwaredevelopment&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;Connect external data using the Model Context Protocol (MCP).&lt;/p&gt;

&lt;p&gt;Run local models if you need 100% privacy.&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;Move your AI assistant to the terminal. &lt;/p&gt;

&lt;p&gt;You'll work faster and make fewer mistakes. &lt;/p&gt;

&lt;p&gt;When you delegate the boring parts, you can focus on architecture and high-level design. &lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://www.firecrawl.dev/blog/why-clis-are-better-for-agents" rel="noopener noreferrer"&gt;Why CLIs Are Better for AI Coding Agents Than IDEs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://towardsdatascience.com/how-cursor-actually-indexes-your-codebase/" rel="noopener noreferrer"&gt;How Cursor Actually Indexes Your Codebase&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://aider.chat/" rel="noopener noreferrer"&gt;Aider - AI Pair Programming in your Terminal&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://code.claude.com/docs/en/overview" rel="noopener noreferrer"&gt;Claude Code Overview&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.builder.io/blog/opencode-vs-claude-code" rel="noopener noreferrer"&gt;OpenCode vs Claude Code: Comparing AI Coding Agents&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.augmentcode.com/tools/ai-coding-assistants-for-large-codebases-a-complete-guide" rel="noopener noreferrer"&gt;AI Coding Assistants for Large Codebases&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.marcnuri.com/boosting-developer-productivity-ai-2025" rel="noopener noreferrer"&gt;Boosting My Developer Productivity with AI in 2025&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://opencode.ai/docs/" rel="noopener noreferrer"&gt;OpenCode Documentation&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.anthropic.com/engineering/advanced-tool-use" rel="noopener noreferrer"&gt;Introducing Advanced Tool Use on the Claude Developer Platform&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://milvus.io/ai-quick-reference/what-is-opencode" rel="noopener noreferrer"&gt;What is OpenCode? - AI Quick Reference&lt;/a&gt; &lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;p&gt;Agentic Coding&lt;/p&gt;

&lt;p&gt;Terminal Agents&lt;/p&gt;

&lt;p&gt;Autonomous Coding Loops&lt;/p&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;p&gt;Claude Code, OpenCode, Aider, Codex CLI.&lt;/p&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the AI Coding Tip series.&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




</description>
      <category>webdev</category>
      <category>ai</category>
      <category>programming</category>
      <category>beginners</category>
    </item>
    <item>
      <title>AI Coding Tip 009 - Compact Your Context</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 03 Mar 2026 02:02:44 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-009-compact-your-context-3io9</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-009-compact-your-context-3io9</guid>
      <description>&lt;p&gt;&lt;em&gt;Stop the memory rot&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: You can keep your AI sharp by forcing it to summarize and prune what it remembers (a.k.a. compacting).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You keep a single, long conversation open for hours. &lt;/p&gt;

&lt;p&gt;You feed the AI with every error log and every iteration of your code. &lt;/p&gt;

&lt;p&gt;Eventually, the AI starts to ignore your early instructions or hallucinate # AI Coding Tip 009 - Compact Your Context&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/Gemini_Generated_Image_4essde4essde4ess.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/Gemini_Generated_Image_4essde4essde4ess.png" alt="AI Coding Tip 009 - Compact Your Context"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Stop the memory rot&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: You can keep your AI sharp by forcing it to summarize and prune what it remembers (a.k.a. compacting).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You keep a single, long conversation open for hours. &lt;/p&gt;

&lt;p&gt;You feed the AI with every error log and every iteration of your code. &lt;/p&gt;

&lt;p&gt;Eventually, the AI starts to ignore your early instructions or hallucinate nonexistent functions.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context Decay:&lt;/strong&gt; The AI loses track of your original goals in the middle of a long chat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hallucinations:&lt;/strong&gt; The model fills memory gaps with hallucinations or outdated logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Token Waste:&lt;/strong&gt; You pay for the AI to re-read useless error logs from three hours ago.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reduced Reasoning:&lt;/strong&gt; A bloated context makes the AI less smart and more prone to simple mistakes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Restart often:&lt;/strong&gt; You can &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e"&gt;start a new chat&lt;/a&gt; once you finish a sub-task.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Request a State Summary:&lt;/strong&gt; Before you close a conversation, ask the AI to summarize the current decisions and &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m"&gt;plan&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add Human Checkpoints:&lt;/strong&gt; After the summary, &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm"&gt;confirm&lt;/a&gt; you are still on track.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Markdown Docs:&lt;/strong&gt; Keep a small &lt;code&gt;context.md&lt;/code&gt; file with your current stack and rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prune the Logs:&lt;/strong&gt; You should only paste the relevant 5 lines of a stack trace instead of the whole irrelevant 200-line output. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Divide and conquer:&lt;/strong&gt; Break large tasks into smaller ones, invoking their own skills with local tokens and a &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e"&gt;fresh context&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Divide the responsibility:&lt;/strong&gt; A General doesn't need to know what every soldier is doing on the battlefield.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create and persist as Skill:&lt;/strong&gt; After you have taught the AI, you should refactor the knowledge and business rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep an Eye on the Context Size:&lt;/strong&gt; Most tools have visual indicators of the window consumption.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Local Persistence:&lt;/strong&gt; Some tools allow sharing memory among agents and their sub-agents.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;You get more accurate code suggestions.&lt;/li&gt;
&lt;li&gt;You avoid divergences&lt;/li&gt;
&lt;li&gt;You follow the AI's train of thought.&lt;/li&gt;
&lt;li&gt;You spend less time correcting the AI's hallucinations.&lt;/li&gt;
&lt;li&gt;The AI follows your project constraints more strictly and keeps focused on your tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;Large Language Models have limited attention.&lt;/p&gt;

&lt;p&gt;Long context windows are a trap.&lt;/p&gt;

&lt;p&gt;Many modern models offer a very large context window.&lt;/p&gt;

&lt;p&gt;In practice, they ignore a lot of them to your frustration.&lt;/p&gt;

&lt;p&gt;Even with huge context windows, they prioritize and focus ob the beginning and the end of the prompt. &lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt Reference 📝
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Bad Prompt
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Here is the 500-line log of my failed build. 

Also, remember that we changed the database schema 

Three hours ago in this chat.

Add the unit tests as I described above.

Now, refactor the whole component.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Good Prompt
&lt;/h3&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;I am starting a new session. Here is the current state: 

We use &lt;span class="ge"&gt;*PostgreSQL*&lt;/span&gt; with the 'Users' table schema [ID, Email]. 

The AuthService&lt;span class="sb"&gt;`interface is [login(), logout()]. 

Refactor the LoginComponent`&lt;/span&gt; to use these.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;You must ensure you don't purge &lt;em&gt;&lt;a href="https://dev.to/mcsee/coupling-the-one-and-only-software-design-problem-2pd7"&gt;essential&lt;/a&gt;&lt;/em&gt; context. &lt;/p&gt;

&lt;p&gt;If you prune too much, the AI might suggest libraries that conflict with your current setup.&lt;/p&gt;

&lt;p&gt;Review the compacted information.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;p&gt;You can use this tip manually in any chat interface. &lt;/p&gt;

&lt;p&gt;If you use advanced agents like Claude Code or Cursor, they might handle some of this automatically, but manual pruning is still more reliable.&lt;/p&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Context&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 004 - Use Modular Skills&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3200068" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 27&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" id="article-link-3200068"&gt;
          AI Coding Tip 004 - Use Modular Skills
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;





&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 005 - Keep Context Fresh&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3226533" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Feb 4&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e" id="article-link-3226533"&gt;
          AI Coding Tip 005 - Keep Context Fresh
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/tutorial"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;tutorial&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;AI Coding Tip 010 - Create Skill from Conversation &lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;You are the curator of the AI's memory. &lt;/p&gt;

&lt;p&gt;If you let the context rot, the code will rot, too.&lt;/p&gt;

&lt;p&gt;Keep it clean and compact. 🧹&lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://arxiv.org/abs/2307.03172" rel="noopener noreferrer"&gt;Lost in the Middle: How Language Models Use Long Context&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://llmlingua.com/" rel="noopener noreferrer"&gt;LLMLingua: Prompt Compression for LLMs&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.cursor.com/blog/context" rel="noopener noreferrer"&gt;How to Manage Context in AI Coding&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.ibm.com/topics/ai-hallucinations" rel="noopener noreferrer"&gt;Avoiding LLM Hallucinations&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.promptingguide.ai/" rel="noopener noreferrer"&gt;Prompt Engineering Guide: Context Management&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://openai.com/blog/custom-instructions-for-chatgpt/" rel="noopener noreferrer"&gt;Understanding Token Limits&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.anthropic.com/claude/docs/long-context-tips" rel="noopener noreferrer"&gt;Claude Context Window Best Practices&lt;/a&gt; &lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Context Pruning&lt;/li&gt;
&lt;li&gt;Token Management&lt;/li&gt;
&lt;li&gt;Prompt Compression&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code&lt;/li&gt;
&lt;li&gt;Cursor&lt;/li&gt;
&lt;li&gt;Windsurf&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


 functions.

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>AI Coding Tip 008 - Use Spec-Driven Development with AI</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 24 Feb 2026 11:00:00 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-008-use-spec-driven-development-with-ai-1k0f</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-008-use-spec-driven-development-with-ai-1k0f</guid>
      <description>&lt;p&gt;&lt;em&gt;Learn guided by the domain&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: Use AI to understand requirements and build a shared mental model while you write the code.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You jump directly to code generation with a vague, wishful prompt.&lt;/p&gt;

&lt;p&gt;The AI seems to understand your specific business logic, but is condescending with you.&lt;/p&gt;

&lt;p&gt;The problem creates a spaghetti mess that is difficult to maintain later.&lt;/p&gt;

&lt;p&gt;The AI is not a magic button for lazy people. It is a senior pair programmer and a learning companion.&lt;/p&gt;

&lt;p&gt;You follow the &lt;a href="https://martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html" rel="noopener noreferrer"&gt;Spec-Driven Development&lt;/a&gt; trend and work in a taylorist cascading way failing into analysis paralysis and unrealistic plans.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;p&gt;Hallucinations: The AI guesses details when you don't provide specific context.&lt;/p&gt;

&lt;p&gt;Technical Debt: You build complex systems that collapse under logical errors and don't simulate the real-world &lt;a href="https://dev.to/mcsee/what-is-wrong-with-software-5pa"&gt;MAPPER&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Context Fragmentation: The AI loses track of your goals in long sessions.&lt;/p&gt;

&lt;p&gt;Logic Drift: The code "works". Yet it doesn't solve the &lt;a href="https://dev.to/mcsee/the-one-and-only-software-design-principle-3086"&gt;actual problem&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;p&gt;Ask the AI to interview you.&lt;/p&gt;

&lt;p&gt;You state the high-level idea and have the AI ask questions to uncover edge cases.&lt;/p&gt;

&lt;p&gt;Work together in learning mode. Dave Farley tells us to be &lt;a href="https://modernsoftwareengineering.co.uk/" rel="noopener noreferrer"&gt;experts at learning&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Draft a spec.md file. You and the AI collaborate on a document that defines the architecture, data models, and goals.&lt;/p&gt;

&lt;p&gt;Use the &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m"&gt;Plan Mode&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Keep the AI in a read-only environment to explore your codebase and verify the plan as you execute it.&lt;/p&gt;

&lt;p&gt;Plan as you go with the goal in mind without making assumptions about a rigid roadmap.&lt;/p&gt;

&lt;p&gt;Always validate the &lt;a href="https://dev.to/mcsee/the-one-and-only-software-design-principle-3086"&gt;bijection&lt;/a&gt; against the real-world requirements.&lt;/p&gt;

&lt;p&gt;Turn the live spec into a simple checklist of atomic implementation steps.&lt;/p&gt;

&lt;p&gt;The backlog will grow and shrink as you learn the domain. It is a live artifact.&lt;/p&gt;

&lt;p&gt;Set up a persistent context while you learn.&lt;/p&gt;

&lt;p&gt;Create a &lt;em&gt;.md&lt;/em&gt; file to store project rules that the AI cannot guess.&lt;/p&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;p&gt;You learn about the domain faster because the AI can serve as an encyclopedic mentor.&lt;/p&gt;

&lt;p&gt;You stay proudly accountable for the architecture.&lt;/p&gt;

&lt;p&gt;You eliminate boilerplate while maintaining system stability.&lt;/p&gt;

&lt;p&gt;You close the Human 30% gap by focusing on system coordination.&lt;/p&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;These tools are high-velocity coders, but they are very innocent.&lt;/p&gt;

&lt;p&gt;They perform best when you instruct with a clear mission and modular instructions.&lt;/p&gt;

&lt;p&gt;This "waterfall in 15 minutes" way favors you and the AI to be on the same page before you trigger the first code diff.&lt;/p&gt;

&lt;h1&gt;
  
  
  Prompt Reference 📝
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Bad Prompt:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Build me a task management app with React and Node.

Create a behavior specification and a Gantt project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Good Prompt:
&lt;/h2&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;You are a Senior Software Engineer. I want to build a task app.

Ask me 10 clarifying questions about the architecture, security, 
and data model. 

After I answer, help me draft a spec.md.

Let's build it together with TDD and contract tests.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;AI can write bugs with complete conviction.&lt;/p&gt;

&lt;p&gt;You must review every change.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Complexity&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;

&lt;p&gt;Use CLAUDE.md for project memory.&lt;/p&gt;

&lt;p&gt;Set up MCP servers for live documentation.&lt;/p&gt;

&lt;p&gt;Run parallel agents for large refactors.&lt;/p&gt;
&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;You should invest &lt;a href="https://harper.blog/2025/04/10/waterfall-in-15-minutes-or-your-money-back/" rel="noopener noreferrer"&gt;15 minutes&lt;/a&gt; in planning with the AI instead of rushing. It will save you hours of debugging.&lt;/p&gt;

&lt;p&gt;Use the copilot to improve your design with your approval, and let it handle the hard accidental typing.&lt;/p&gt;
&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html" rel="noopener noreferrer"&gt;Spec Driven Development&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/posts/kentbeck_the-descriptions-of-spec-driven-development-activity-7413956151144542208-EGMz" rel="noopener noreferrer"&gt;Kent Beck Critizing Spec-Driven Development&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://tidyfirst.substack.com/p/earn-and-learn" rel="noopener noreferrer"&gt;Kent Beck Earn and Learn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://addyosmani.com/blog/ai-coding-workflow/" rel="noopener noreferrer"&gt;Addy Osmani Coding Workflow&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Start with a clear path (&lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m"&gt;specs before code&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Break work into small, iterative chunks&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Provide extensive &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e"&gt;context&lt;/a&gt; and guidance&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choose the right model (and use multiple when needed)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Leverage AI coding across the lifecycle&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keep a human in the loop - verify, test, and review everything&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9"&gt;Commit often&lt;/a&gt; and use version control as a safety net. &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm"&gt;Never commit code you can’t explain&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Customize the AI’s behavior with rules and examples&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Embrace testing and automation as force multipliers&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Continuously learn and adapt (AI amplifies your skills)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;

  &lt;iframe src="https://www.youtube.com/embed/Xahv9nMegXA"&gt;
  &lt;/iframe&gt;


&lt;/p&gt;
&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;p&gt;Spec-Driven Development&lt;/p&gt;

&lt;p&gt;Waterfall in 15 Minutes&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/mcsee/explain-in-5-levels-of-difficulty-vibe-coding-4f77"&gt;Vibe Coding&lt;/a&gt; with Discipline&lt;/p&gt;
&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;



&lt;p&gt;This article is part of the AI Coding Tip series.&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;





</description>
      <category>ai</category>
      <category>programming</category>
      <category>coding</category>
    </item>
    <item>
      <title>AI Coding Tip 007 - Avoid Malicious Skills</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Tue, 17 Feb 2026 04:14:54 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-007-avoid-malicious-skills-1jh</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-007-avoid-malicious-skills-1jh</guid>
      <description>&lt;p&gt;&lt;em&gt;Avoid the Agentic Trojan Horse&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: Treat AI agent skills like dangerous executable code and read the instructions carefully.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You install community &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97"&gt;skills&lt;/a&gt; for your AI assistant based on popularity or download counts. &lt;/p&gt;

&lt;p&gt;You trust "proactive" agents when they ask you to run "setup" commands or install "AuthTool" prerequisites.&lt;/p&gt;

&lt;p&gt;You grab exciting skills from public registries and install them right away. &lt;/p&gt;

&lt;p&gt;You skip &lt;a href="https://dev.to/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm"&gt;code reviews&lt;/a&gt; or scans because the docs &lt;em&gt;look&lt;/em&gt; clean.&lt;/p&gt;

&lt;p&gt;You are lazy and careless.&lt;/p&gt;

&lt;p&gt;Even careful developers can miss these details when rushing.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;p&gt;Information stealers search for your SSH keys, browser cookies, and &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2"&gt;.env files&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Supply chain attacks exploit naming confusion (ClawdBot vs. MoltBot vs. OpenClaw).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/mcsee/code-smell-263-squatting-45hl"&gt;Typosquatting&lt;/a&gt; pushes you into installing malicious packages.&lt;/p&gt;

&lt;p&gt;Your adversaries invoke &lt;a href="https://dev.to/mcsee/code-smell-284-encrypted-functions-301e"&gt;Arbitrary Code Execution&lt;/a&gt; using unvalidated WebSocket connections.&lt;/p&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;p&gt;Run your AI agent inside a dedicated isolated Virtual Machine or Docker container. &lt;/p&gt;

&lt;p&gt;This measure prevents the agent from accessing your primary filesystem.&lt;/p&gt;

&lt;p&gt;Review the &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97"&gt;SKILL.md&lt;/a&gt; and source code of every new skill.&lt;/p&gt;

&lt;p&gt;Making a code review You can find hidden curl commands, base64-encoded strings and &lt;a href="https://dev.to/mcsee/code-smell-284-encrypted-functions-301e"&gt;obfuscated code&lt;/a&gt; that try to get to malicious IPs like 91.92.242.30.&lt;/p&gt;

&lt;p&gt;You can help yourself with security scanners like &lt;a href="https://www.clawdex.io/" rel="noopener noreferrer"&gt;Clawdex&lt;/a&gt; or &lt;a href="https://www.koi.ai/" rel="noopener noreferrer"&gt;Koi Security's tool&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The tools check the skills against a database of known malicious signatures.&lt;/p&gt;

&lt;p&gt;Bind your agent's gateway strictly to 127.0.0.1. When you bind to 0.0.0.0, you expose your administrative dashboard to the public internet.&lt;/p&gt;

&lt;p&gt;Limit the agent's permissions to &lt;strong&gt;read-only&lt;/strong&gt; for sensitive directories.&lt;/p&gt;

&lt;p&gt;This is also excellent for &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m"&gt;reasoning and planning&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can prevent the agent from modifying system files or stealing your keychain.&lt;/p&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;p&gt;You protect your production API keys and cloud credentials, protecting the &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2"&gt;secrets in your code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;You stop lateral movement inside your corporate network.&lt;/p&gt;

&lt;p&gt;You also reduce the risk of identity theft through session hijacking.&lt;/p&gt;

&lt;p&gt;You avoid &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai"&gt;Package Hallucination&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;AI Agents like &lt;a href="https://openclaw.ai/" rel="noopener noreferrer"&gt;OpenClaw&lt;/a&gt; have administrative system access. They can run shell commands and manage files. &lt;/p&gt;

&lt;p&gt;Attackers now flood registries with "skills" that appear to be helpful tools for YouTube, Solana, or Google Workspace.&lt;/p&gt;

&lt;p&gt;When you install these, you broaden your attack surface and grant an attacker a direct shell on your machine.&lt;/p&gt;

&lt;h1&gt;
  
  
  Prompt Reference 📝
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Bad prompt 🚫
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Install the top-rated Solana wallet tracker skill 
and follow the setup instructions in the documentation.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Good prompt 👉
&lt;/h2&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;Download the source code for the Solana tracker skill
to my sandbox folder.

Wait until y review it line by line
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Good Prompt:&lt;br&gt;
"Download the source code for the Solana tracker skill to my sandbox folder. &lt;/p&gt;

&lt;p&gt;Let's analyze the scripts together for any external network calls before we install it."&lt;/p&gt;
&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;OpenClaw often stores secrets in &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2"&gt;plaintext .env files&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;If you grant an agent access to your terminal, any malicious skill can read these secrets and exfiltrate them to a webhook in seconds.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;p&gt;Use this strategy when you host "agentic" AI platforms like OpenClaw or MoltBot locally. &lt;/p&gt;

&lt;p&gt;This tip doesn't replace endpoint protection. It adds a layer for AI-specific &lt;a href="https://dev.to/mcsee/code-smell-284-encrypted-functions-301e"&gt;supply chain risks&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Security&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Intermediate&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 004 - Use Modular Skills&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3200068" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 27&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" id="article-link-3200068"&gt;
          AI Coding Tip 004 - Use Modular Skills
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-004-use-modular-skills-g97#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;





&lt;p&gt;Isolate LLM tool execution with Kernel-enforced sandboxes.&lt;/p&gt;

&lt;p&gt;Audit prompt injection risks in web-scraping agents.&lt;/p&gt;

&lt;p&gt;Encrypt local configuration files for AI assistants.&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;Your AI assistant is a powerful tool, but it can also become a high-impact control point for attackers. &lt;/p&gt;

&lt;p&gt;When you verify &lt;em&gt;every skill&lt;/em&gt;, understand it, and isolate the runtime, you keep the "keys to your kingdom" safe. 🛡️&lt;/p&gt;

&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://www.bleepingcomputer.com/news/security/malicious-moltbot-skills-used-to-push-password-stealing-malware/" rel="noopener noreferrer"&gt;Malicious moltbot skills&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2" class="crayons-story__hidden-navigation-link"&gt;Code Smell 258 - Secrets in Code&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-1922506" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jul 13 '24&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2" id="article-link-1922506"&gt;
          Code Smell 258 - Secrets in Code
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/security"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;security&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;4&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-258-secrets-in-code-1pg2#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-284-encrypted-functions-301e" class="crayons-story__hidden-navigation-link"&gt;Code Smell 284 - Encrypted Functions&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-2167675" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-284-encrypted-functions-301e" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Dec 21 '24&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-284-encrypted-functions-301e" id="article-link-2167675"&gt;
          Code Smell 284 - Encrypted Functions
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/security"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;security&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/hacking"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;hacking&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-284-encrypted-functions-301e#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            5 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-263-squatting-45hl" class="crayons-story__hidden-navigation-link"&gt;Code Smell 263 - Squatting&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-1958301" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-263-squatting-45hl" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Aug 13 '24&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-263-squatting-45hl" id="article-link-1958301"&gt;
          Code Smell 263 - Squatting
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/python"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;python&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-263-squatting-45hl" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;4&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-263-squatting-45hl#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tip 003 - Force Read-Only Planning&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3177915" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 20&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" id="article-link-3177915"&gt;
          AI Coding Tip 003 - Force Read-Only Planning
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/chatgpt"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;chatgpt&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/code"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;code&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tip-003-force-read-only-planning-1d1m#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            3 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" class="crayons-story__hidden-navigation-link"&gt;Code Smell 300 - Package Hallucination&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-2481919" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;May 12 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" id="article-link-2481919"&gt;
          Code Smell 300 - Package Hallucination
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/security"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;security&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/json"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;json&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/codesmell"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;codesmell&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt; reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            6 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;&lt;a href="https://www.brodersendarknews.com/p/moltbook-riesgos-vibe-coding" rel="noopener noreferrer"&gt;Dark news&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://securityscorecard.com/blog/beyond-the-hype-moltbots-real-risk-is-exposed-infrastructure-not-ai-superintelligence/" rel="noopener noreferrer"&gt;Beyond the Hype&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.bitdefender.com/en-us/blog/labs/helpful-skills-or-hidden-payloads-bitdefender-labs-dives-deep-into-the-openclaw-malicious-skill-trap" rel="noopener noreferrer"&gt;Bit Defender&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://thehackernews.com/2026/02/researchers-find-341-malicious-clawhub.html" rel="noopener noreferrer"&gt;Hacker News: Researchers Find 341 Malicious ClawHub Skills Stealing Data from OpenClaw Users&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;p&gt;Agentic Supply Chain Poisoning&lt;/p&gt;

&lt;p&gt;ClickFix AI Attacks&lt;/p&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://openclaw.ai/" rel="noopener noreferrer"&gt;OpenClaw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.clawdex.io/" rel="noopener noreferrer"&gt;Clawdex&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.koi.ai/" rel="noopener noreferrer"&gt;Koi Security's tool&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the AI Coding Tip series.&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




</description>
      <category>ai</category>
      <category>programming</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>AI Coding Tip 006 - Review Every Line Before Commit</title>
      <dc:creator>Maxi Contieri</dc:creator>
      <pubDate>Fri, 13 Feb 2026 11:00:00 +0000</pubDate>
      <link>https://forem.com/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm</link>
      <guid>https://forem.com/mcsee/ai-coding-tip-006-review-every-line-before-commit-bmm</guid>
      <description>&lt;p&gt;&lt;em&gt;You own the code, not the AI&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;TL;DR: If you can't explain all your code, don't commit it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;
  
  
  Common Mistake ❌
&lt;/h1&gt;

&lt;p&gt;You prompt and paste AI-generated code directly into your project without thinking twice.&lt;/p&gt;

&lt;p&gt;You trust the AI without verification and create &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09"&gt;workslop&lt;/a&gt; that ~someone else~ you will have to clean up later.&lt;/p&gt;

&lt;p&gt;You assume the code works because it &lt;em&gt;looks&lt;/em&gt; correct (or complicated enough to impress anyone).&lt;/p&gt;

&lt;p&gt;You skip a &lt;a href="https://learning.oreilly.com/library/view/perform-code-reviews/9781098172657/ch01.html" rel="noopener noreferrer"&gt;manual review&lt;/a&gt; when the AI assistant generates large blocks because, well, it's a lot of code.&lt;/p&gt;

&lt;p&gt;You treat AI output as production-ready code and ship it without a second thought.&lt;/p&gt;

&lt;p&gt;If you're making code reviews, you get tired of large pull requests (probably generated by AI) that feel like reviewing a novel.&lt;/p&gt;

&lt;p&gt;Let's be honest: AI isn't accountable for your mistakes, &lt;strong&gt;you&lt;/strong&gt; are. And you want to keep your job and be seen as mandatory for the software engineering process.&lt;/p&gt;

&lt;h1&gt;
  
  
  Problems Addressed 😔
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Security vulnerabilities and flaws&lt;/strong&gt;: AI generates code with &lt;a href="https://dev.to/mcsee/code-smell-189-not-sanitized-input-853"&gt;Not sanitized inputs&lt;/a&gt; SQL injection, XSS, &lt;a href="https://dev.to/mcsee/code-smell-317-email-handling-vulnerabilities-241f"&gt;Email&lt;/a&gt;, &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai"&gt;Packages Hallucination&lt;/a&gt;, or &lt;a href="https://dev.to/mcsee/code-smell-311-plain-text-passwords-33mg"&gt;hardcoded credentials&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logic errors&lt;/strong&gt;: The AI misunderstands your requirements and solves the wrong problem&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Technical debt&lt;/strong&gt;: Generated code uses &lt;a href="https://dev.to/mcsee/refactoring-018-replace-singleton-18gn"&gt;outdated patterns&lt;/a&gt; or creates &lt;a href="https://dev.to/mcsee/code-smell-148-todos-5gn9"&gt;maintenance nightmares&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lost accountability&lt;/strong&gt;: You cannot explain code you didn't review&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hidden &lt;a href="https://dev.to/mcsee/stop-calling-them-bugs-57gl"&gt;defects&lt;/a&gt;&lt;/strong&gt;: Issues that appear in production cost 30-100x more to fix&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge gaps&lt;/strong&gt;: You miss learning opportunities when you blindly accept solutions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Team friction&lt;/strong&gt;: Your reviewers waste time catching issues you should have found&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Productivity Paradox&lt;/strong&gt;: AI shifts the bottleneck from writing to &lt;a href="https://medium.com/@mozaman/the-productivity-paradox-of-ai-why-commits-and-prs-dont-tell-the-story-ceb68a453f54" rel="noopener noreferrer"&gt;integration&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lack of Trust&lt;/strong&gt;: The team's trust erodes when unowned code causes failures&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Noisier Code&lt;/strong&gt;: AI-authored PRs contained &lt;a href="https://www.coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report" rel="noopener noreferrer"&gt;1.7x more issues&lt;/a&gt; than human-only PRs. &lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  How to Do It 🛠️
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Ask the AI to generate the code you need using &lt;a href="https://dev.to/mcsee/ai-coding-tip-002-prompt-in-english-2la6"&gt;English&lt;/a&gt; language&lt;/li&gt;
&lt;li&gt;Read every single line the AI produced, &lt;strong&gt;understand it&lt;/strong&gt;, and challenge it if necessary&lt;/li&gt;
&lt;li&gt;Check that the solution matches your &lt;a href="https://dev.to/mcsee/what-is-wrong-with-software-5pa"&gt;actual requirements&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Verify the code handles edge cases and errors&lt;/li&gt;
&lt;li&gt;Look for security issues (&lt;a href="https://dev.to/mcsee/code-smell-189-not-sanitized-input-853"&gt;injection&lt;/a&gt;, auth, data exposure)&lt;/li&gt;
&lt;li&gt;Test the code locally with real scenarios&lt;/li&gt;
&lt;li&gt;Run your &lt;a href="https://dev.to/mcsee/code-smell-48-code-without-standards-2f5m"&gt;linters&lt;/a&gt;, prettifiers and security scanners&lt;/li&gt;
&lt;li&gt;Remove any &lt;a href="https://dev.to/mcsee/code-smell-106-production-dependent-code-3f47"&gt;debug code&lt;/a&gt; or &lt;a href="https://dev.to/mcsee/code-smell-05-comment-abusers-2ba5"&gt;comments&lt;/a&gt; you don't need&lt;/li&gt;
&lt;li&gt;Refactor the code to match &lt;a href="https://dev.to/mcsee/refactoring-032-apply-consistent-style-rules-4fhf"&gt;your team's style&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Add or update tests for the new functionality (ask the AI for help)&lt;/li&gt;
&lt;li&gt;Write a clear commit message explaining what changed&lt;/li&gt;
&lt;li&gt;Only then &lt;a href="https://dev.to/mcsee/ai-coding-tip-001-commit-before-prompt-5bd9"&gt;commit the code&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;You are not going to lose your job (by now)&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Benefits 🎯
&lt;/h1&gt;

&lt;p&gt;You catch defects before they reach production.&lt;/p&gt;

&lt;p&gt;You understand the code you commit.&lt;/p&gt;

&lt;p&gt;You maintain accountability for your changes.&lt;/p&gt;

&lt;p&gt;You learn from your copilot's approach and become a better developer in the process.&lt;/p&gt;

&lt;p&gt;You build personal accountability. &lt;/p&gt;

&lt;p&gt;You build better human team collaboration and trust.&lt;/p&gt;

&lt;p&gt;You prevent &lt;a href="https://dev.to/mcsee/code-smell-311-plain-text-passwords-33mg"&gt;security breaches&lt;/a&gt; like the &lt;a href="https://www.brodersendarknews.com/p/moltbook-riesgos-vibe-coding" rel="noopener noreferrer"&gt;Moltbook incident&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;You avoid long-term maintenance costs.&lt;/p&gt;

&lt;p&gt;You keep your reputation and accountability intact.&lt;/p&gt;

&lt;p&gt;You're a professional who shows respect for your human code reviewers.&lt;/p&gt;

&lt;p&gt;You are not disposable.&lt;/p&gt;

&lt;h1&gt;
  
  
  Context 🧠
&lt;/h1&gt;

&lt;p&gt;AI assistants like GitHub Copilot, ChatGPT, and Claude help you code faster.&lt;/p&gt;

&lt;p&gt;These tools generate code from natural language prompts and &lt;a href="https://dev.to/mcsee/explain-in-5-levels-of-difficulty-vibe-coding-4f77"&gt;vibe coding&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;AI models are probabilistic, not logical. &lt;/p&gt;

&lt;p&gt;They predict the next token based on patterns. &lt;/p&gt;

&lt;p&gt;When you work on complex systems, the AI might miss a specific edge case that only a human knows.&lt;/p&gt;

&lt;p&gt;Manual review is the only way to close the gap between "code that looks good" and "code that is correct."&lt;/p&gt;

&lt;p&gt;The AI doesn't understand your business logic or the &lt;a href="https://dev.to/mcsee/the-one-and-only-software-design-principle-3086"&gt;real world bijection&lt;/a&gt; between your &lt;a href="https://dev.to/mcsee/what-is-wrong-with-software-5pa"&gt;MAPPER&lt;/a&gt; and your model.&lt;/p&gt;

&lt;p&gt;The AI cannot know your security requirements (unless you are explicit or execute a skill).&lt;/p&gt;

&lt;p&gt;The AI cannot test the code against your specific environment.&lt;/p&gt;

&lt;p&gt;You remain &lt;strong&gt;responsible&lt;/strong&gt; for every line in your codebase.&lt;/p&gt;

&lt;p&gt;Production &lt;a href="https://dev.to/mcsee/stop-calling-them-bugs-57gl"&gt;defects&lt;/a&gt; from unreviewed AI code cost companies millions.&lt;/p&gt;

&lt;p&gt;Code review catches many security risks that automated tools miss.&lt;/p&gt;

&lt;p&gt;Your organization holds you accountable for the code you commit.&lt;/p&gt;

&lt;p&gt;This applies whether you write code manually or use AI assistance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt Reference 📝
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Bad Prompts&lt;/strong&gt; ❌ &lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DatabaseManager&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;_instance&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt; &lt;span class="c1"&gt;# Singleton Anti Pattern
&lt;/span&gt;    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;__new__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cls&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;cls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_instance&lt;/span&gt; &lt;span class="ow"&gt;is&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;cls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_instance&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;super&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;__new__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cls&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;cls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_instance&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get_data&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;eval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;SELECT * FROM users WHERE id=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; 
        &lt;span class="c1"&gt;# SQL injection!
&lt;/span&gt;
    &lt;span class="c1"&gt;## 741 more cryptic lines
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Good Prompts&lt;/strong&gt; ✅ &lt;/p&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;typing&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Optional&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;sqlite3&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DatabaseManager&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;__init__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;db_path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;db_path&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;db_path&lt;/span&gt;

  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get_user&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Optional&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;sqlite3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;connect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;db_path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;conn&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;conn&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;row_factory&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;sqlite3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Row&lt;/span&gt;
        &lt;span class="n"&gt;cursor&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;conn&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;cursor&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="n"&gt;cursor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;execute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;SELECT * FROM users WHERE id = ?&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;,))&lt;/span&gt;
        &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;cursor&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fetchone&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;
    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="n"&gt;sqlite3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Error&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Database error: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;

&lt;span class="n"&gt;db&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;DatabaseManager&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;app.db&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;db&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_user&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;123&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Considerations ⚠️
&lt;/h1&gt;

&lt;p&gt;You cannot blame the AI when defects appear in production.&lt;/p&gt;

&lt;p&gt;The human is accountable, not the AI.&lt;/p&gt;

&lt;p&gt;AI-generated code might violate your company's licensing policies.&lt;/p&gt;

&lt;p&gt;The AI might use deprecated libraries or outdated patterns.&lt;/p&gt;

&lt;p&gt;Generated code might not follow your team's conventions.&lt;/p&gt;

&lt;p&gt;You need to understand the code to maintain it later.&lt;/p&gt;

&lt;p&gt;Other developers will review your AI-assisted code just like any other.&lt;/p&gt;

&lt;p&gt;Some AI models train on public repositories and might leak patterns.&lt;/p&gt;
&lt;h1&gt;
  
  
  Type 📝
&lt;/h1&gt;

&lt;p&gt;[X] Semi-Automatic&lt;/p&gt;
&lt;h1&gt;
  
  
  Limitations ⚠️
&lt;/h1&gt;

&lt;p&gt;You should use this tip for &lt;strong&gt;every&lt;/strong&gt; code change. You should not skip it even for "simple" refactors. &lt;/p&gt;
&lt;h1&gt;
  
  
  Tags 🏷️
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Readability&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Level 🔋
&lt;/h1&gt;

&lt;p&gt;[X] Beginner&lt;/p&gt;
&lt;h1&gt;
  
  
  Related Tips 🔗
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Self-Review Your Code Before Requesting a Peer Review&lt;/li&gt;
&lt;li&gt;Write Tests for AI-Generated Functions&lt;/li&gt;
&lt;li&gt;Document AI-Assisted Code Decisions&lt;/li&gt;
&lt;li&gt;Use Static Analysis on Generated Code&lt;/li&gt;
&lt;li&gt;Understand Before You Commit&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;
  
  
  Conclusion 🏁
&lt;/h1&gt;

&lt;p&gt;AI assistants accelerate your coding speed.&lt;/p&gt;

&lt;p&gt;You still own &lt;strong&gt;every line&lt;/strong&gt; you commit.&lt;/p&gt;

&lt;p&gt;Manual review and &lt;a href="https://en.wikipedia.org/wiki/Fagan_inspection" rel="noopener noreferrer"&gt;code inspections&lt;/a&gt; catch what automated tools miss.&lt;/p&gt;

&lt;p&gt;Before AI code generators became mainstream, a very good practice was to make a &lt;a href="https://learning.oreilly.com/library/view/perform-code-reviews/9781098172657/ch01.html" rel="noopener noreferrer"&gt;self review&lt;/a&gt; of the code before requesting peer review.&lt;/p&gt;

&lt;p&gt;You learn more when you question the AI's choices and understand the 'why' behind them.&lt;/p&gt;

&lt;p&gt;Your reputation depends on code quality, not how fast you can churn out code.&lt;/p&gt;

&lt;p&gt;Take responsibility for the code you ship—your name is on it.&lt;/p&gt;

&lt;p&gt;Review everything. Commit nothing blindly. Your future self will thank you. 🔍&lt;/p&gt;

&lt;p&gt;Be incremental, make very small commits, and &lt;a href="https://dev.to/mcsee/ai-coding-tip-005-keep-context-fresh-220e"&gt;keep your content fresh&lt;/a&gt;. &lt;/p&gt;
&lt;h1&gt;
  
  
  More Information ℹ️
&lt;/h1&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" class="crayons-story__hidden-navigation-link"&gt;Code Smell 313 - Workslop Code&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-2987607" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 4 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" id="article-link-2987607"&gt;
          Code Smell 313 - Workslop Code
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/web3"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;web3&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;2&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-313-workslop-code-n09#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;





&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-189-not-sanitized-input-853" class="crayons-story__hidden-navigation-link"&gt;Code Smell 189 - Not Sanitized Input&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-1310952" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-189-not-sanitized-input-853" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Dec 28 '22&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-189-not-sanitized-input-853" id="article-link-1310952"&gt;
          Code Smell 189 - Not Sanitized Input
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/security"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;security&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-189-not-sanitized-input-853" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;8&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-189-not-sanitized-input-853#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              2&lt;span class="hidden s:inline"&gt; comments&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" class="crayons-story__hidden-navigation-link"&gt;Code Smell 300 - Package Hallucination&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-2481919" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;May 12 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" id="article-link-2481919"&gt;
          Code Smell 300 - Package Hallucination
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/security"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;security&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/json"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;json&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/codesmell"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;codesmell&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt; reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/mcsee/code-smell-300-package-hallucination-1kai#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            6 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




&lt;p&gt;&lt;a href="https://martinfowler.com/articles/code-review.html" rel="noopener noreferrer"&gt;Martin Fowler's code review&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://learning.oreilly.com/library/view/perform-code-reviews/9781098172657/ch01.html" rel="noopener noreferrer"&gt;Shortcut on performing reviews&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.coderabbit.ai/blog/state-of-ai-vs-human-code-generation-report" rel="noopener noreferrer"&gt;Code Rabbit's findings on AI-generated code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@mozaman/the-productivity-paradox-of-ai-why-commits-and-prs-dont-tell-the-story-ceb68a453f54" rel="noopener noreferrer"&gt;The Productivity Paradox&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://google.github.io/eng-practices/review/" rel="noopener noreferrer"&gt;Google Engineering Practices - Code Review&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.atlassian.com/agile/software-development/code-reviews" rel="noopener noreferrer"&gt;Code Review Best Practices by Atlassian&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pragprog.com/titles/tpp20/the-pragmatic-programmer-20th-anniversary-edition/" rel="noopener noreferrer"&gt;The Pragmatic Programmer - Code Ownership&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://standards.ieee.org/standard/1028-2008.html" rel="noopener noreferrer"&gt;IEEE Standards for Software Reviews&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Also Known As 🎭
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Human-in-the-Loop Code Review&lt;/li&gt;
&lt;li&gt;AI Code Verification&lt;/li&gt;
&lt;li&gt;AI-Assisted Development Accountability&lt;/li&gt;
&lt;li&gt;LLM Output Validation&lt;/li&gt;
&lt;li&gt;Copilot Code Inspection&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Tools 🧰
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;SonarQube (static analysis)&lt;/li&gt;
&lt;li&gt;Snyk (security scanning)&lt;/li&gt;
&lt;li&gt;ESLint / Pylint (linters)&lt;/li&gt;
&lt;li&gt;GitLab / GitHub (code review platforms)&lt;/li&gt;
&lt;li&gt;Semgrep (pattern-based scanning)&lt;/li&gt;
&lt;li&gt;CodeRabbit / AI-assisted code reviews&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Disclaimer 📢
&lt;/h1&gt;

&lt;p&gt;The views expressed here are my own.&lt;/p&gt;

&lt;p&gt;I am a human who writes as best as possible for other humans. &lt;/p&gt;

&lt;p&gt;I use AI proofreading tools to improve some texts.&lt;/p&gt;

&lt;p&gt;I welcome constructive criticism and dialogue.&lt;/p&gt;

&lt;p&gt;I shape these insights through 30 years in the software industry, 25 years of teaching, and writing over 500 articles and a book.&lt;/p&gt;




&lt;p&gt;This article is part of the &lt;em&gt;AI Coding Tip&lt;/em&gt; series.&lt;/p&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__hidden-navigation-link"&gt;AI Coding Tips&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/mcsee" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" alt="mcsee profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mcsee" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Maxi Contieri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Maxi Contieri
                
              
              &lt;div id="story-author-preview-content-3187836" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mcsee" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F366059%2F44d4a869-bb26-4b8e-aa73-6e596b4b4b8a.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Maxi Contieri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jan 21&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n" id="article-link-3187836"&gt;
          AI Coding Tips
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/beginners"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;beginners&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
            &lt;a href="https://dev.to/mcsee/ai-coding-tips-118n#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              &lt;span class="hidden s:inline"&gt;Add Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            1 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;




</description>
      <category>ai</category>
      <category>programming</category>
      <category>development</category>
      <category>softwaredevelopment</category>
    </item>
  </channel>
</rss>
