<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Claude Code on Tyler Harms</title><link>https://harmstyler.me/tags/claude-code/</link><description>Recent content in Claude Code on Tyler Harms</description><generator>Hugo</generator><language>en-us</language><managingEditor>tyler.harms@gmail.com (Tyler Harms)</managingEditor><webMaster>tyler.harms@gmail.com (Tyler Harms)</webMaster><lastBuildDate>Thu, 22 Oct 2026 19:49:37 -0500</lastBuildDate><atom:link href="https://harmstyler.me/tags/claude-code/index.xml" rel="self" type="application/rss+xml"/><item><title>Claude Code's @ Imports and Path-Scoped Rules Don't Mix</title><link>https://harmstyler.me/posts/2026/claude-code-at-imports-vs-path-rules/</link><pubDate>Thu, 22 Oct 2026 19:42:52 -0500</pubDate><author>tyler.harms@gmail.com (Tyler Harms)</author><guid>https://harmstyler.me/posts/2026/claude-code-at-imports-vs-path-rules/</guid><description>&lt;p&gt;Claude Code gives you two different ways to pull extra context into a session automatically, and I assumed they composed. They don&amp;rsquo;t.&lt;/p&gt;
&lt;h2 id="the-setup"&gt;The Setup&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;@&lt;/code&gt; imports&lt;/strong&gt; - reference a file with &lt;code&gt;@path/to/file.md&lt;/code&gt;, and Claude auto-loads the full contents of that file into context.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Path-scoped rules&lt;/strong&gt; - a rule file with frontmatter that targets specific paths, so the rule only applies when you&amp;rsquo;re actually working in a file covered by that path.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Combine the two and you&amp;rsquo;d expect to get the best of both: a rule that&amp;rsquo;s conditionally loaded based on where you&amp;rsquo;re working, that also pulls in a full reference doc via &lt;code&gt;@&lt;/code&gt; when it fires. That&amp;rsquo;s exactly what I wanted - a way to attach a complete doc to context, but only when it&amp;rsquo;s relevant.&lt;/p&gt;</description></item></channel></rss>