Skip to content

Commit e98abe1

Browse files
mayurpiseclaude
andcommitted
feat(web): canonicalize on apex, add RSS autodiscovery/404/reduced-motion, fix platform list
- Canonical domain → apex: CNAME getdraft.dev; robots.txt sitemap → apex (all page metadata already pointed at apex) - RSS autodiscovery: <link rel="alternate" application/rss+xml> on home, what-is-draft, changelog, and book index - Accessibility: prefers-reduced-motion CSS (neutralizes animations/transitions, hides cursor-glow + hero canvas) - New branded 404.html (GitHub Pages serves it automatically) - SEO: add WebSite + Organization JSON-LD to the homepage - Platform accuracy: standardize on "Claude Code, Cursor, Codex, opencode, GitHub Copilot, Gemini" across meta/JSON-LD/FAQ/install table + llms.txt (fix stale "34 commands" → 33) + llms-full.txt + feed; Antigravity folded into the Gemini path. social-preview.png (baked image) still needs regen. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4b25e89 commit e98abe1

11 files changed

Lines changed: 115 additions & 28 deletions

File tree

web/404.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>404 — Page Not Found · Draft</title>
7+
<meta name="robots" content="noindex, follow">
8+
<meta name="theme-color" content="#0a0d12">
9+
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
10+
<link rel="stylesheet" href="/css/base.css">
11+
<link rel="stylesheet" href="/css/layout.css">
12+
<link rel="stylesheet" href="/css/components.css">
13+
<link rel="stylesheet" href="/css/redesign-v24.css">
14+
<script>
15+
(function(){try{var t=localStorage.getItem('draft-theme');if(!t&&window.matchMedia&&window.matchMedia('(prefers-color-scheme: dark)').matches)t='dark';if(t==='dark')document.documentElement.setAttribute('data-theme','dark');}catch(e){}})();
16+
</script>
17+
<style>
18+
.nf-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
19+
.nf-code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: clamp(4rem, 18vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(135deg, #38bdf8, #818cf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
20+
.nf-title { font-size: 1.5rem; margin: 12px 0 4px; }
21+
.nf-text { color: #94a3b8; max-width: 460px; margin: 0 0 28px; line-height: 1.6; }
22+
.nf-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
23+
.nf-links a { padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; }
24+
.nf-primary { background: #38bdf8; color: #0a0d12; }
25+
.nf-ghost { border: 1px solid rgba(148, 163, 184, 0.35); color: inherit; }
26+
.nf-ghost:hover { border-color: #38bdf8; color: #38bdf8; }
27+
</style>
28+
</head>
29+
<body>
30+
<main class="nf-wrap">
31+
<div class="nf-code">404</div>
32+
<h1 class="nf-title">Page not found</h1>
33+
<p class="nf-text">That page doesn't exist or has moved. Let's get you back on track.</p>
34+
<div class="nf-links">
35+
<a class="nf-primary" href="/">Home</a>
36+
<a class="nf-ghost" href="/blog/">Blog</a>
37+
<a class="nf-ghost" href="/book/">The Book</a>
38+
<a class="nf-ghost" href="https://github.com/drafthq/draft">GitHub</a>
39+
</div>
40+
</main>
41+
</body>
42+
</html>

web/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
www.getdraft.dev
1+
getdraft.dev

web/book/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<meta name="twitter:image" content="https://getdraft.dev/social-preview.png">
2323
<meta name="twitter:image:alt" content="The Draft Book — Context-Driven Development Deep Dive">
2424
<link rel="canonical" href="https://getdraft.dev/book/">
25+
<link rel="alternate" type="application/rss+xml" title="Draft Blog RSS" href="/feed.xml">
2526

2627
<script type="application/ld+json">
2728
{

web/changelog/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<link rel="canonical" href="https://getdraft.dev/changelog/">
2424
<link rel="alternate" hreflang="en" href="https://getdraft.dev/changelog/">
2525
<link rel="alternate" hreflang="x-default" href="https://getdraft.dev/changelog/">
26+
<link rel="alternate" type="application/rss+xml" title="Draft Blog RSS" href="/feed.xml">
2627

2728
<script type="application/ld+json">
2829
{

web/css/base.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,3 +202,19 @@ code {
202202
::-webkit-scrollbar-thumb:hover {
203203
background: #a0aec0;
204204
}
205+
206+
/* Accessibility: honor reduced-motion preference (also saves battery). */
207+
@media (prefers-reduced-motion: reduce) {
208+
*,
209+
*::before,
210+
*::after {
211+
animation-duration: 0.01ms !important;
212+
animation-iteration-count: 1 !important;
213+
transition-duration: 0.01ms !important;
214+
scroll-behavior: auto !important;
215+
}
216+
#cursor-glow,
217+
#hero-canvas {
218+
display: none !important;
219+
}
220+
}

web/feed.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
<item>
241241
<title>Chapter 20: Multi-IDE Support</title>
242242
<link>https://getdraft.dev/book/multi-ide-support/</link>
243-
<description>How Draft works across Claude Code, Copilot, Cursor, Gemini, and Antigravity IDE with platform-specific syntax transforms.</description>
243+
<description>How Draft works across Claude Code, Cursor, Codex, opencode, Copilot, and Gemini with platform-specific syntax transforms.</description>
244244
<pubDate>Mon, 16 Mar 2026 00:00:00 +0000</pubDate>
245245
<guid>https://getdraft.dev/book/multi-ide-support/</guid>
246246
</item>

web/index.html

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,48 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Draft — Code Intelligence Built Into Your AI Coding Agent</title>
7-
<meta name="description" content="Free open-source plugin for Claude Code, Cursor, Copilot, Antigravity, and Gemini. Powered by codebase-memory-mcp — a 159-language local knowledge-graph engine. Spec-driven planning, three-stage review, 14-dimension bug hunting. 33 commands, MIT.">
7+
<meta name="description" content="Free open-source plugin for Claude Code, Cursor, Codex, opencode, Copilot, and Gemini. Powered by codebase-memory-mcp — a 159-language local knowledge-graph engine. Spec-driven planning, three-stage review, 14-dimension bug hunting. 33 commands, MIT.">
88
<meta name="author" content="mayurpise">
99
<meta name="theme-color" content="#7c3aed">
1010
<meta name="keywords" content="claude code plugin, code intelligence, knowledge graph, knowledge graph engine, codebase-memory-mcp, ai code review, ai tdd, context-driven development, spec-driven development, tree-sitter, callers, blast radius, hotspots, ai bug hunting, github copilot plugin, gemini plugin, cursor ai plugin, antigravity ide, ai coding agent, ACID audit, open source developer tools, MIT licensed">
1111
<meta name="robots" content="index, follow">
1212
<link rel="icon" type="image/svg+xml" href="favicon.svg">
1313
<meta property="og:title" content="Draft — Code Intelligence for Your AI Coding Agent">
14-
<meta property="og:description" content="Powered by codebase-memory-mcp — 159-language local knowledge-graph engine. Spec-driven planning, three-stage review — in one plugin for Claude Code, Cursor, Copilot, Antigravity, and Gemini. 33 commands, free forever.">
14+
<meta property="og:description" content="Powered by codebase-memory-mcp — 159-language local knowledge-graph engine. Spec-driven planning, three-stage review — in one plugin for Claude Code, Cursor, Codex, opencode, Copilot, and Gemini. 33 commands, free forever.">
1515
<meta property="og:type" content="website">
1616
<meta property="og:url" content="https://getdraft.dev">
1717
<meta property="og:image" content="https://getdraft.dev/social-preview.png">
1818
<meta property="og:image:alt" content="Draft: Code intelligence built into your AI coding agent">
1919
<meta name="twitter:card" content="summary_large_image">
2020
<meta name="twitter:title" content="Draft — Code Intelligence for Your AI Coding Agent">
21-
<meta name="twitter:description" content="Powered by codebase-memory-mcp — 159 languages, 100% local. Spec-driven planning + three-stage review. One plugin for Claude Code, Cursor, Copilot, Antigravity, Gemini. 33 commands. Free forever.">
21+
<meta name="twitter:description" content="Powered by codebase-memory-mcp — 159 languages, 100% local. Spec-driven planning + three-stage review. One plugin for Claude Code, Cursor, Codex, opencode, Copilot, Gemini. 33 commands. Free forever.">
2222
<meta name="twitter:image" content="https://getdraft.dev/social-preview.png">
2323
<meta name="twitter:image:alt" content="Draft: Code intelligence built into your AI coding agent">
2424
<link rel="canonical" href="https://getdraft.dev">
2525
<link rel="alternate" hreflang="en" href="https://getdraft.dev/">
2626
<link rel="alternate" hreflang="x-default" href="https://getdraft.dev/">
2727
<link rel="alternate" type="text/plain" href="https://getdraft.dev/llms.txt" title="LLM-optimized content">
28+
<link rel="alternate" type="application/rss+xml" title="Draft Blog RSS" href="/feed.xml">
29+
30+
<script type="application/ld+json">
31+
{
32+
"@context": "https://schema.org",
33+
"@type": "WebSite",
34+
"name": "Draft",
35+
"url": "https://getdraft.dev/",
36+
"description": "Context-Driven Development for AI coding agents — a free, open-source plugin with a local code-graph engine."
37+
}
38+
</script>
39+
<script type="application/ld+json">
40+
{
41+
"@context": "https://schema.org",
42+
"@type": "Organization",
43+
"name": "Draft",
44+
"url": "https://getdraft.dev/",
45+
"logo": "https://getdraft.dev/favicon.svg",
46+
"sameAs": ["https://github.com/drafthq/draft"]
47+
}
48+
</script>
2849

2950
<script type="application/ld+json">
3051
{
@@ -33,7 +54,7 @@
3354
"name": "Draft",
3455
"applicationCategory": "DeveloperApplication",
3556
"operatingSystem": "Linux, macOS, Windows",
36-
"description": "Free open-source plugin bringing built-in code intelligence to AI coding agents: knowledge graph engine with structural query tools, spec-driven planning, three-stage review, 14-dimension bug hunting, ACID audits. For Claude Code, Cursor, GitHub Copilot, Antigravity IDE, and Gemini.",
57+
"description": "Free open-source plugin bringing built-in code intelligence to AI coding agents: knowledge graph engine with structural query tools, spec-driven planning, three-stage review, 14-dimension bug hunting, ACID audits. For Claude Code, Cursor, Codex, opencode, GitHub Copilot, and Gemini.",
3758
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },
3859
"author": {
3960
"@type": "Person",
@@ -78,7 +99,7 @@
7899
"name": "What is Draft?",
79100
"acceptedAnswer": {
80101
"@type": "Answer",
81-
"text": "Draft is a free, open-source plugin that adds Context-Driven Development to AI coding agents. It provides 33 commands covering spec-driven planning, TDD enforcement, 3-stage code review, 14-dimension bug hunting, and architecture discovery for Claude Code, Cursor, GitHub Copilot, Antigravity IDE, and Gemini."
102+
"text": "Draft is a free, open-source plugin that adds Context-Driven Development to AI coding agents. It provides 33 commands covering spec-driven planning, TDD enforcement, 3-stage code review, 14-dimension bug hunting, and architecture discovery for Claude Code, Cursor, Codex, opencode, GitHub Copilot, and Gemini."
82103
}
83104
},
84105
{
@@ -94,7 +115,7 @@
94115
"name": "What AI coding agents does Draft support?",
95116
"acceptedAnswer": {
96117
"@type": "Answer",
97-
"text": "Draft supports Claude Code, Cursor, GitHub Copilot, Antigravity IDE, and Gemini. It integrates natively with each platform using their respective configuration formats — slash commands for Claude Code and Cursor, copilot-instructions.md for Copilot, and .gemini.md for Gemini and Antigravity."
118+
"text": "Draft supports Claude Code, Cursor, Codex, opencode, GitHub Copilot, and Gemini. It integrates natively with each platform using their respective configuration formats — slash commands for Claude Code and Cursor, an AGENTS.md file for Codex and opencode, copilot-instructions.md for Copilot, and .gemini.md for Gemini (including the Antigravity IDE)."
98119
}
99120
},
100121
{
@@ -233,7 +254,7 @@
233254
<canvas id="hero-canvas" aria-hidden="true"></canvas>
234255
<div class="hero-content">
235256
<h1>Stop shipping<br><span class="gradient-text">AI-generated bugs</span>.</h1>
236-
<p class="tagline">One command runs a three-stage review on your branch &mdash; validation, spec compliance, code quality &mdash; and writes the missing tests. Powered by a tree-sitter knowledge graph of your repo. <strong>Free forever.</strong> For Claude Code, Cursor, Copilot, Antigravity, and Gemini.</p>
257+
<p class="tagline">One command runs a three-stage review on your branch &mdash; validation, spec compliance, code quality &mdash; and writes the missing tests. Powered by a tree-sitter knowledge graph of your repo. <strong>Free forever.</strong> For Claude Code, Cursor, Codex, opencode, Copilot, and Gemini.</p>
237258
<div class="hero-actions">
238259
<a href="#install" class="btn btn-primary">Install in 30 seconds</a>
239260
<a href="#playground" class="btn btn-secondary">See it in 60 seconds</a>
@@ -463,7 +484,7 @@ <h2>The only one with <span class="text-violet">all three.</span></h2>
463484
</tr>
464485
<tr>
465486
<th scope="row">Multi-IDE</th>
466-
<td class="vs-cell vs-yes">Claude, Cursor, Copilot, Antigravity, Gemini</td>
487+
<td class="vs-cell vs-yes">Claude, Cursor, Codex, opencode, Copilot, Gemini</td>
467488
<td class="vs-cell vs-partial">Copilot multi-IDE &middot; rest single</td>
468489
<td class="vs-cell vs-partial">Editor extensions</td>
469490
<td class="vs-cell vs-partial">Web-only mostly</td>
@@ -1372,7 +1393,7 @@ <h2>Frequently asked <span class="text-amber">questions</span></h2>
13721393
<details class="faq-item glass-card">
13731394
<summary class="faq-question">What is Draft?</summary>
13741395
<div class="faq-answer">
1375-
<p>Draft is a free, open-source plugin that adds Context-Driven Development to AI coding agents. It provides 33 commands covering spec-driven planning, TDD enforcement, 3-stage code review, 14-dimension bug hunting, and architecture discovery for Claude Code, Cursor, GitHub Copilot, Antigravity IDE, and Gemini.</p>
1396+
<p>Draft is a free, open-source plugin that adds Context-Driven Development to AI coding agents. It provides 33 commands covering spec-driven planning, TDD enforcement, 3-stage code review, 14-dimension bug hunting, and architecture discovery for Claude Code, Cursor, Codex, opencode, GitHub Copilot, and Gemini.</p>
13761397
</div>
13771398
</details>
13781399

@@ -1386,7 +1407,7 @@ <h2>Frequently asked <span class="text-amber">questions</span></h2>
13861407
<details class="faq-item glass-card">
13871408
<summary class="faq-question">What AI coding agents does Draft support?</summary>
13881409
<div class="faq-answer">
1389-
<p>Draft supports Claude Code, Cursor, GitHub Copilot, Antigravity IDE, and Gemini. It integrates natively with each platform using their respective configuration formats — slash commands for Claude Code and Cursor, copilot-instructions.md for Copilot, and .gemini.md for Gemini and Antigravity.</p>
1410+
<p>Draft supports Claude Code, Cursor, Codex, opencode, GitHub Copilot, and Gemini. It integrates natively with each platform using their respective configuration formats — slash commands for Claude Code and Cursor, an AGENTS.md file for Codex and opencode, copilot-instructions.md for Copilot, and .gemini.md for Gemini (including the Antigravity IDE).</p>
13901411
</div>
13911412
</details>
13921413

web/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ All emit JSON, follow uniform exit-code contract (0 = success, 1 = invocation er
242242
- **Context as a managed artifact:** Structured documents constrain AI behavior
243243
- **Three-tier context loading:** Only loads what's needed per task, saving tokens
244244
- **Incremental refresh:** Hash-based change detection avoids full re-scans
245-
- **Platform-agnostic:** Same methodology across Claude Code, Cursor, Copilot, Gemini, Antigravity IDE
245+
- **Platform-agnostic:** Same methodology across Claude Code, Cursor, Codex, opencode, Copilot, and Gemini
246246
- **TDD enforcement:** RED → GREEN → REFACTOR cycle with verification
247247
- **14-dimension bug hunting:** Exhaustive defect discovery beyond simple linting
248248
- **Built-in code intelligence:** Knowledge graph engine + 32 deterministic helpers — no external services required

web/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Draft is a plugin that adds a knowledge graph engine, spec-driven planning, and a three-stage review pipeline to AI coding agents — so they stop guessing and start executing pre-approved work, grounded in real understanding of your codebase.
66

7-
Draft works with Claude Code, Cursor, GitHub Copilot, Antigravity IDE, and Google Gemini. It provides 34 slash commands, 7 specialized agents, 14-dimension bug hunting, ACID-style module audits, and a built-in **knowledge graph engine** (codebase-memory-mcp: tree-sitter + LSP, 159 languages, 100% local) with query tools — callers, impact, hotspots, modules, cycles, mermaid.
7+
Draft works with Claude Code, Cursor, Codex, opencode, GitHub Copilot, and Google Gemini. It provides 33 slash commands, 7 specialized agents, 14-dimension bug hunting, ACID-style module audits, and a built-in **knowledge graph engine** (codebase-memory-mcp: tree-sitter + LSP, 159 languages, 100% local) with query tools — callers, impact, hotspots, modules, cycles, mermaid.
88

99
## Installation
1010

web/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
User-agent: *
22
Allow: /
33

4-
Sitemap: https://www.getdraft.dev/sitemap.xml
4+
Sitemap: https://getdraft.dev/sitemap.xml
55

66
# AI/LLM discoverability
77
# See https://llmstxt.org for spec

0 commit comments

Comments
 (0)