<?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>DEV Community: Aryan Panwar</title>
    <description>The latest articles on DEV Community by Aryan Panwar (@aryanpanwar1).</description>
    <link>https://dev.to/aryanpanwar1</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%2F3776563%2F2a9d3ba7-52bd-47c2-b5ea-eac867d45775.jpeg</url>
      <title>DEV Community: Aryan Panwar</title>
      <link>https://dev.to/aryanpanwar1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aryanpanwar1"/>
    <language>en</language>
    <item>
      <title>How I Built an SEO Skill for AI IDEs Because My Cursor Kept Getting It Wrong</title>
      <dc:creator>Aryan Panwar</dc:creator>
      <pubDate>Tue, 03 Mar 2026 15:38:39 +0000</pubDate>
      <link>https://dev.to/aryanpanwar1/how-i-built-an-seo-skill-for-ai-ides-because-my-cursor-kept-getting-it-wrong-5hd1</link>
      <guid>https://dev.to/aryanpanwar1/how-i-built-an-seo-skill-for-ai-ides-because-my-cursor-kept-getting-it-wrong-5hd1</guid>
      <description>&lt;p&gt;My AI IDE told me to optimize for FID last month.&lt;/p&gt;

&lt;p&gt;FID (First Input Delay) was deprecated by Google in March 2024. It hasn't been a ranking factor for almost two years.&lt;/p&gt;

&lt;p&gt;That one moment made me spend the next few weeks building something I didn't plan to build.&lt;/p&gt;




&lt;h2&gt;
  
  
  A bit of context
&lt;/h2&gt;

&lt;p&gt;I'm a final year ECE student. I build AI products on the side — right now I'm working on FitWardrobe (a privacy-first AI stylist app) and Mithivoices (an open-source TTS/STT platform). I use Cursor and Windsurf as my main IDEs every day.&lt;/p&gt;

&lt;p&gt;I'm not an SEO expert. But when you're building products and trying to get them found, you learn SEO fast out of necessity.&lt;/p&gt;




&lt;h2&gt;
  
  
  The actual problem
&lt;/h2&gt;

&lt;p&gt;Every time you start a new chat in an AI IDE, it starts from zero.&lt;/p&gt;

&lt;p&gt;No memory of previous sessions. No knowledge of what changed in the last Google core update. No awareness that GEO (Generative Engine Optimization) is now a real thing that affects whether your content shows up in ChatGPT or Perplexity responses.&lt;/p&gt;

&lt;p&gt;Here's a real example. I asked Windsurf to generate BlogPosting schema for my landing page and got this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"@context"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://schema.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"@type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"BlogPosting"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"headline"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"My Article Title"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"author"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"@type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Person"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Author Name"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"datePublished"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-01-15"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Looks fine. Passes schema validation. But it's missing &lt;code&gt;dateModified&lt;/code&gt;, which Google requires. The image fields are wrong — Google needs images in 1:1, 4:3, and 16:9 ratios for full rich result eligibility. There's no &lt;code&gt;@id&lt;/code&gt; for entity disambiguation.&lt;/p&gt;

&lt;p&gt;The schema is technically valid but practically useless for ranking. I only found this out by reading the actual Google Search Central docs, not a blog post summarizing them.&lt;/p&gt;

&lt;p&gt;The docs. The source. The thing nobody reads.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I tried first (that didn't work)
&lt;/h2&gt;

&lt;p&gt;My first fix was simple: paste the relevant documentation into the chat before every SEO question.&lt;/p&gt;

&lt;p&gt;That lasted about three sessions.&lt;/p&gt;

&lt;p&gt;Google's SEO documentation is 200+ pages. Nobody is copying that into a chat window every time. It's not sustainable.&lt;/p&gt;

&lt;p&gt;My second attempt was a short cheat sheet saved as a &lt;code&gt;.txt&lt;/code&gt; file. Better — but the AI treated it like reference material to occasionally glance at, not as rules it should actually follow. The output quality was inconsistent.&lt;/p&gt;

&lt;p&gt;Then I found out about cursor rules and windsurf rules. IDE-specific files where you put instructions the AI always follows, not just sometimes.&lt;/p&gt;

&lt;p&gt;That was the actual insight.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;I spent a few weeks turning official Google Search Central and Bing Webmaster documentation into a structured skill file the AI uses as active rules.&lt;/p&gt;

&lt;p&gt;The install is one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx seo-geo-optimizer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It auto-detects your IDE and drops the file in the right place:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cursor&lt;/strong&gt; → &lt;code&gt;.cursor/rules/seo-geo-optimizer.mdc&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windsurf&lt;/strong&gt; → &lt;code&gt;.windsurf/rules/seo-geo-optimizer.md&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Copilot&lt;/strong&gt; → &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Replit&lt;/strong&gt; → &lt;code&gt;.replit/ai/seo-geo-optimizer.md&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bolt&lt;/strong&gt; → &lt;code&gt;.bolt/prompt&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here's the actual IDE detection logic from &lt;code&gt;bin/install.js&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;detectIDE&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;markers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;cursor&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;.cursor&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;homedir&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.cursor&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)],&lt;/span&gt;
    &lt;span class="na"&gt;windsurf&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;.windsurf&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;homedir&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.windsurf&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)],&lt;/span&gt;
    &lt;span class="na"&gt;copilot&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;.github&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="na"&gt;replit&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;.replit&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="na"&gt;bolt&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;.bolt&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="k"&gt;for &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;ide&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;paths&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="nb"&gt;Object&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;entries&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;markers&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;paths&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;fs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;existsSync&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;ide&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="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;generic&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once installed, activate it with one trigger phrase in your AI chat:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Read and activate the SEO &amp;amp; GEO Optimizer skill, then start the process."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The AI runs a 40-question intake audit, identifies your site type, checks competitor gaps, and builds a structured execution plan — all using current, sourced SEO knowledge.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the skill actually covers
&lt;/h2&gt;

&lt;p&gt;The file is around 1,400 lines sourced entirely from official documentation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Correct Core Web Vitals metrics for 2025 (LCP, INP, CLS — not the deprecated FID)&lt;/li&gt;
&lt;li&gt;14 schema types with complete JSON-LD templates&lt;/li&gt;
&lt;li&gt;BlogPosting and Article schema with all required fields including image ratios and &lt;code&gt;dateModified&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;E-E-A-T implementation — author page requirements, Person schema&lt;/li&gt;
&lt;li&gt;Featured snippet patterns — paragraph, list, and table formats&lt;/li&gt;
&lt;li&gt;Content clusters and pillar pages with internal linking rules&lt;/li&gt;
&lt;li&gt;GEO for AI search — how to structure content so ChatGPT and Perplexity actually cite you&lt;/li&gt;
&lt;li&gt;Google vs Bing differences — because they crawl differently and most guides ignore this&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every single rule has a source URL in the references index. If I couldn't find an official source for a claim, I didn't include it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What surprised me while building this
&lt;/h2&gt;

&lt;p&gt;The sourcing was harder than the writing.&lt;/p&gt;

&lt;p&gt;I assumed I could summarize good SEO blogs. But every time I tried, I'd find a claim that wasn't in the official docs — sometimes outdated, sometimes just wrong.&lt;/p&gt;

&lt;p&gt;The constraint of "official sources only" made the file smaller but significantly more useful. It forced me to cut a lot of popular advice that turns out to be myth or outdated.&lt;/p&gt;

&lt;p&gt;The second surprise: being explicit about Google vs Bing differences matters more than I expected. Most SEO tools treat them as identical. They're not. They crawl JavaScript differently, weight E-E-A-T differently, and Bing has IndexNow while Google still relies on sitemaps.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try it if you use an AI IDE
&lt;/h2&gt;

&lt;p&gt;It's open source, MIT license, free.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Auto-detect your IDE&lt;/span&gt;
npx seo-geo-optimizer

&lt;span class="c"&gt;# Or specify directly&lt;/span&gt;
npx seo-geo-optimizer &lt;span class="nt"&gt;--cursor&lt;/span&gt;
npx seo-geo-optimizer &lt;span class="nt"&gt;--windsurf&lt;/span&gt;
npx seo-geo-optimizer &lt;span class="nt"&gt;--copilot&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Star the repo if it's useful — &lt;a href="https://github.com/Aryanpanwar10005/seo-geo-optimizer" rel="noopener noreferrer"&gt;github.com/Aryanpanwar10005/seo-geo-optimizer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Launching on Product Hunt on &lt;strong&gt;March 10&lt;/strong&gt; if you want to follow along.&lt;/p&gt;




&lt;p&gt;What SEO mistakes have you caught your AI IDE making? I'd genuinely like to know — it'll probably end up in the next version of the skill file.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>opensource</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
