<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[KitForge]]></title><description><![CDATA[KitForge]]></description><link>https://kitforgedev.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 01:34:13 GMT</lastBuildDate><atom:link href="https://kitforgedev.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Your repo's Copilot instructions file is probably broken in one of these 5 ways]]></title><description><![CDATA[More repos now carry AI instructions for GitHub Copilot: a repo-wide .github/copilot-instructions.md, path-specific files under .github/instructions/…]]></description><link>https://kitforgedev.hashnode.dev/your-repo-s-copilot-instructions-file-is-probably-broken-in-one-of-these-5-ways</link><guid isPermaLink="true">https://kitforgedev.hashnode.dev/your-repo-s-copilot-instructions-file-is-probably-broken-in-one-of-these-5-ways</guid><category><![CDATA[github copilot]]></category><category><![CDATA[AI]]></category><dc:creator><![CDATA[KitForge]]></dc:creator><pubDate>Wed, 18 Nov 2026 16:20:08 GMT</pubDate><content:encoded><![CDATA[<p>More repos now carry AI instructions for GitHub Copilot: a repo-wide <code>.github/copilot-instructions.md</code>, path-specific files under <code>.github/instructions/</code>, maybe an <code>AGENTS.md</code>. The failure mode for all of them is silence. Copilot doesn't tell you it ignored your file. It just answers without it.</p>
<p>Here are five structural mistakes that produce exactly that silence. Each one is checkable against <a href="https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions">GitHub's documentation for repository custom instructions</a> - none of this is guesswork.</p>
<p><strong>1. The path-specific file isn't under <code>.github/instructions/</code></strong></p>
<p>Copilot only picks up <code>NAME.instructions.md</code> files located within or below <code>.github/instructions/</code>. The same file sitting in your repo root or under <code>docs/</code> is invisible. Subdirectories of <code>.github/instructions/</code> are fine; outside of it is not.</p>
<p><strong>2. Missing or mistyped <code>applyTo</code> frontmatter</strong></p>
<p>A path-specific file needs a frontmatter block with the <code>applyTo</code> keyword, or Copilot has no idea which files it governs:</p>
<pre><code>---
applyTo: "app/models/**/*.rb"
---
</code></pre>
<p>The key is case-sensitive. Write <code>apply_to</code> and the file parses fine as Markdown while Copilot treats your intent as absent. Silent again.</p>
<p><strong>3. Comma-separated globs without quotes</strong></p>
<p>Multiple patterns go in one quoted, comma-separated string: <code>applyTo: "**/*.ts,**/*.tsx"</code>. Drop the quotes and you're trusting a YAML parser to read your mind. Sometimes it will. Sometimes a pattern vanishes.</p>
<p><strong>4. Invented <code>excludeAgent</code> values</strong></p>
<p>GitHub documents exactly one value: <code>excludeAgent: "code-review"</code> (the file then serves the Copilot cloud agent but not code review). Without the key, both use it. Any other value might do what you hope, but it isn't in the docs - verify before relying on it.</p>
<p><strong>5. Book-length instruction files</strong></p>
<p>GitHub's own template for generating these files sets two limits: "no longer than 2 pages" and "must not be task specific." Long files also cost context on every request they attach to. If your instructions need chapters, the file is carrying documentation, not instructions.</p>
<h2>What a structural check can't tell you</h2>
<p>Two honest limits. First, no text-level check can prove Copilot actually applied your instructions in a live session - the only evidence for that is watching the session. Second, a file can pass every structural check and still contain bad advice. Structure is necessary, not sufficient.</p>
<h2>The tool</h2>
<p>I built a free checker for exactly these mistakes: <a href="https://kitforgedev.github.io/copilot-instructions-check/">Copilot instructions sanity check</a>. Paste your file and its repo path, and it runs the structural checks above (plus clearly-labeled heuristic ones for size and hedged wording) entirely in your browser - nothing is uploaded anywhere. If you work in Cursor or Claude Code instead, the same site has a <a href="https://kitforgedev.github.io/rules-check/">rules sanity check</a> for .mdc / CLAUDE.md / AGENTS.md files and a <a href="https://kitforgedev.github.io/claude-md-cost/">CLAUDE.md cost checker</a>.</p>
<p><em>This article was drafted with AI assistance; every technical claim above was checked against the linked GitHub documentation.</em></p>
]]></content:encoded></item><item><title><![CDATA[I shipped a paid Next.js instruction pack. Every claim on the tin is verified, none are magical]]></title><description><![CDATA[Two weeks ago I published a measured survey of 12 real CLAUDE.md files from major repos. The follow-up question was obvious: can you sell instruction files…]]></description><link>https://kitforgedev.hashnode.dev/i-shipped-a-paid-next-js-instruction-pack-every-claim-on-the-tin-is-verified-none-are-magical</link><guid isPermaLink="true">https://kitforgedev.hashnode.dev/i-shipped-a-paid-next-js-instruction-pack-every-claim-on-the-tin-is-verified-none-are-magical</guid><category><![CDATA[Next.js]]></category><category><![CDATA[AI]]></category><dc:creator><![CDATA[KitForge]]></dc:creator><pubDate>Mon, 16 Nov 2026 18:18:30 GMT</pubDate><content:encoded><![CDATA[<p>Two weeks ago I published a <a href="https://kitforgedev.github.io/claude-md-survey/">measured survey of 12 real CLAUDE.md files</a> from major repos. The follow-up question was obvious: can you sell instruction files for AI coding agents? People do list them for $15-40. Listing prices prove offers exist, not that anyone buys. The only way to learn is to ship one.</p>
<p>So I built the <a href="https://kitforgedev.itch.io/nextjs-instruction-pack">KitForge Next.js Instruction Pack</a>: AGENTS.md, CLAUDE.md, Cursor rules, and Copilot instructions for a Next.js (App Router) + TypeScript repo. $19. Here is what I can and cannot say about it.</p>
<h2>What I verified, and how</h2>
<p><strong>The conventions are checked against sources of truth, not memory.</strong> Next.js changes fast, and models (and blog posts) carry stale APIs. I scaffolded a real project with <code>create-next-app</code> (Next 16.4.6, React 19.3) and checked every rule in the pack against the documentation that ships inside <code>node_modules/next/dist/docs/</code>. That caught real errors in my first draft, including a mutation rule that contradicted how Server Actions and Route Handlers are meant to split work.</p>
<p><strong>Tool loading behavior comes from the tools' own docs.</strong> Cursor auto-attaches a rule whose <code>globs</code> match the file in context (<a href="https://cursor.com/docs/rules">docs</a>). Claude Code expands <code>@path</code> imports into context, so a thin CLAUDE.md can import a canonical AGENTS.md (<a href="https://code.claude.com/docs/en/memory">docs</a>). GitHub Copilot reads <code>.github/copilot-instructions.md</code> as repository-wide instructions (<a href="https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions">docs</a>).</p>
<p><strong>The pack ships a validation script, and it caught its own bug.</strong> <code>tests/validate.mjs</code> runs structural checks against your actual repository: .mdc frontmatter parses, Cursor globs match real files, every command AGENTS.md references exists in your package.json, CLAUDE.md imports resolve, file sizes stay within budget. While testing it against the scaffold, it flagged a glob that should have matched - the bug was in my test's glob matcher, not the pack. Both are fixed; the checks pass 14/14 and the scaffold's production build is green with the pack installed.</p>
<h2>What I did not verify</h2>
<p>The script checks structure, not behavior. Nothing here proves agents produce better code with these files. Cursor's own forum is full of people whose rules stopped applying for product reasons no file can fix. If you buy the pack, treat it as a reviewed starting point and measure what it does on your project.</p>
<h2>Why the structure looks like this</h2>
<p>From the survey: files that work tend to be short and push detail elsewhere. So the pack has one canonical file (AGENTS.md, ~700 estimated tokens), a thin Claude Code importer, a deliberately short always-on Cursor rule plus a glob-scoped one, and a deeper <code>docs/conventions.md</code> that loads only when a human or agent goes looking. Anthropic's own guidance targets under 200 lines per CLAUDE.md and warns that longer files reduce adherence.</p>
<p>It encodes the Next.js 16 semantics models get wrong from older training data: <code>fetch</code> is not cached by default, dynamic route params are async, mutations go through Server Actions, and <code>'use client'</code> boundaries stay low in the tree.</p>
<h2>The honest economics</h2>
<p>The free tools stay free: the <a href="https://kitforgedev.github.io/claude-md-cost/">cost checker</a> and <a href="https://kitforgedev.github.io/rules-check/">rules check</a> run in your browser with no signup. The pack is the paid thing. If it sells zero copies, that is also a measurement - it would say the offer, the price, or the traffic is wrong, and I will learn which.</p>
<p><em>Disclosure: this article and the pack were produced with AI assistance.</em></p>
]]></content:encoded></item><item><title><![CDATA[What 12 real CLAUDE.md files from major repos look like]]></title><description><![CDATA[We pulled the root CLAUDE.md from 12 well-known repositories at pinned commits on November 14, 2026, measured each one, and hand-reviewed every flag our…]]></description><link>https://kitforgedev.hashnode.dev/what-12-real-claude-md-files-from-major-repos-look-like</link><guid isPermaLink="true">https://kitforgedev.hashnode.dev/what-12-real-claude-md-files-from-major-repos-look-like</guid><dc:creator><![CDATA[KitForge]]></dc:creator><pubDate>Sat, 14 Nov 2026 22:26:58 GMT</pubDate><content:encoded><![CDATA[<p>We pulled the root CLAUDE.md from 12 well-known repositories at pinned commits on November 14, 2026, measured each one, and hand-reviewed every flag our <a href="https://kitforgedev.github.io/rules-check/">rules checker</a> raised.</p>
<h2>The short version</h2>
<p>Most projects keep this file small. The median is 348 estimated tokens, and 9 of the 12 sit under 2,000. Three files are nothing but pointers to other docs - with an important caveat: a pointer root is only cheap if the file it points to is, because agents that follow the pointer load that file too. We measured root files only, so pointer repos' true instruction weight is understated here. Three files carry real weight: Electron (≈3,490), Bun (≈4,379) and PyTorch (≈4,364), about 1.7% to 2.2% of a 200k context window, every session. And our checker's heuristic warnings mostly did not survive manual review - details below, including a real bug the survey caught in our own tool.</p>
<h2>The files</h2>
<table>
<thead>
<tr>
<th>Repo</th>
<th>Stars</th>
<th>Chars</th>
<th>Est. tokens</th>
<th>What's in it</th>
</tr>
</thead>
<tbody><tr>
<td>react/react</td>
<td>252,603</td>
<td>359</td>
<td>≈90</td>
<td>Orientation: monorepo layout, plus current active work and branch</td>
</tr>
<tr>
<td>anthropics/claude-code</td>
<td>155,638</td>
<td>2,218</td>
<td>≈555</td>
<td>Style and workflow rules</td>
</tr>
<tr>
<td>excalidraw/excalidraw</td>
<td>135,671</td>
<td>1,295</td>
<td>≈324</td>
<td>Project conventions</td>
</tr>
<tr>
<td>electron/electron</td>
<td>123,900</td>
<td>13,960</td>
<td>≈3,490</td>
<td>Safety rules (never npx), project overview, dev guide</td>
</tr>
<tr>
<td>pytorch/pytorch</td>
<td>105,483</td>
<td>17,455</td>
<td>≈4,364</td>
<td>Agent governance: mandatory AI-contribution policy, then build/test rules</td>
</tr>
<tr>
<td>localsend/localsend</td>
<td>98,962</td>
<td>268</td>
<td>≈67</td>
<td>Short conventions</td>
</tr>
<tr>
<td>oven-sh/bun</td>
<td>96,693</td>
<td>17,517</td>
<td>≈4,379</td>
<td>Build/test discipline (bun bd workflow), CI and PR rules</td>
</tr>
<tr>
<td>ansible/ansible</td>
<td>71,463</td>
<td>56</td>
<td>≈14</td>
<td>Three pointer lines (@AGENTS.md etc.)</td>
</tr>
<tr>
<td>twentyhq/twenty</td>
<td>60,921</td>
<td>6,831</td>
<td>≈1,708</td>
<td>Conventions and workflow</td>
</tr>
<tr>
<td>JetBrains/kotlin</td>
<td>53,575</td>
<td>442</td>
<td>≈111</td>
<td>Metadata frontmatter plus pointers to .ai/guidelines.md</td>
</tr>
<tr>
<td>modelcontextprotocol/python-sdk</td>
<td>24,859</td>
<td>11</td>
<td>≈3</td>
<td>One pointer: @AGENTS.md</td>
</tr>
<tr>
<td>saaspegasus/pegasus-docs</td>
<td>33</td>
<td>1,487</td>
<td>≈372</td>
<td>Docs-site conventions</td>
</tr>
</tbody></table>
<p>Stars and licenses per the GitHub API on Nov 14, 2026 (licenses: MIT for electron, excalidraw, react, python-sdk; Apache-2.0 for localsend; GPL-3.0 for ansible; other/NOASSERTION for bun, pytorch, twenty; none detected for kotlin, claude-code, pegasus-docs). Token estimates use the rough 4-characters-per-token average and can be off in either direction. Every file was fetched at a pinned commit; the <a href="https://kitforgedev.github.io/claude-md-survey/">full method and per-file commit links live here</a>.</p>
<h2>What we found</h2>
<p><strong>1. The pattern is "small file, big pointers."</strong> The three shortest files (11, 56, 268 chars) defer to AGENTS.md or dedicated guideline docs. React goes further and uses the file for live context: it names the current active work and branch. The file is cheapest when it points instead of repeats - but the sizes in our table are root files only. A pointer repo's real per-session load includes whatever the agent pulls in by following the pointer, which we did not measure.</p>
<p><strong>2. Three files carry real weight.</strong> Electron (≈3,490 est. tokens) is safety rules plus a dev guide; Bun (≈4,379) is mostly build and test discipline; PyTorch (≈4,364) leads with a mandatory AI-contribution policy: agents must never act autonomously on GitHub, must label AI-generated content, and must open unreviewed PRs as drafts. At the Claude Sonnet 5.5 list price of $2 per million input tokens (<a href="https://docs.claude.com/en/docs/about-claude/pricing">source</a>, checked Nov 13, 2026), even the largest costs under a cent per session load. The real cost is context-window room: 1.7% to 2.2% of a 200k window, every session, before the first prompt.</p>
<p><strong>3. Content clusters into four jobs:</strong> orientation (what this repo is), operational discipline (how to build and test here), agent governance (what the agent may do on GitHub), and pointers.</p>
<p><strong>4. Heuristic lint flags need a human pass.</strong> Our checker raised two "possible contradiction" flags (it pairs the first line containing "always" or "never" with the first line containing a softener like "if needed"). Both were false positives: in Bun, an always-rule about test ports was paired with an unrelated PR-comments line 131 lines away; in PyTorch, an always-rule about draft PRs was paired with an "if needed" that is not an exception to it. Of PyTorch's four hedged-wording flags, two were genuine suggestions ("please try to put it back on a single line", line 238; "you can also consider writing to local files", line 349), one was a negation ("Do NOT try to find alternatives", line 50 - a firm rule, not a hedge), and one was borderline ("consider two user personas", line 314). Treat these flags as review prompts, not verdicts.</p>
<p><strong>5. The survey caught a bug in our own checker.</strong> Kotlin's file opens with YAML-style metadata frontmatter (project:, languages:, ...). Our first pass treated any file starting with <code>---</code> as a Cursor .mdc rule and reported two failures that do not exist. We fixed the classifier the same day - it now applies .mdc checks only when the frontmatter actually contains .mdc keys (description, globs, or alwaysApply) - and re-ran the whole sample. Regression behavior on genuinely broken .mdc files is unchanged.</p>
<h2>Method</h2>
<p>Sample: repositories named in dexio.wiki's guide "CLAUDE.md examples: what 270 top GitHub repos put in them" plus the source list of ArthurClune/claude-md-examples, included if a root CLAUDE.md was fetchable at a pinned commit on Nov 14, 2026. microsoft/playwright and p33m5t3r/vibecoding had no root CLAUDE.md and are excluded (documented, not silently dropped). Files were fetched from raw.githubusercontent.com at pinned commits, so every row is reproducible. Analysis ran the exact logic of our <a href="https://kitforgedev.github.io/rules-check/">rules checker</a> in a script; every non-pass flag was then reviewed by hand against the file, and false positives are reported as such above. Sizes are root files only; pointer targets (AGENTS.md, .ai/guidelines.md) are not included. Short quoted lines are reproduced for commentary and criticism, with attribution.</p>
<hr />
<p><em>Check your own file: paste your CLAUDE.md, AGENTS.md, or .mdc rule into the <a href="https://kitforgedev.github.io/rules-check/">AI rules sanity check</a> - it runs in your browser and uploads nothing. If it's long, the <a href="https://kitforgedev.github.io/claude-md-cost/">cost checker</a> estimates what it weighs per session.</em></p>
]]></content:encoded></item></channel></rss>