You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/blog/blast-radius-walkthrough/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -310,7 +310,7 @@ <h2>Try It</h2>
310
310
</aside>
311
311
312
312
<footerclass="post-footer">
313
-
<p>Draft is open source: <ahref="https://github.com/drafthq/draft">github.com/drafthq/draft</a>. The impact-mode query lives in <code>graph/src/</code> and is documented in <code>core/shared/graph-query.md</code>; the implement-side guardrail is in <code>skills/implement/SKILL.md</code>; the new-track overlap scan is in <code>skills/new-track/SKILL.md</code>.</p>
313
+
<p>Draft is open source: <ahref="https://github.com/drafthq/draft">github.com/drafthq/draft</a>. The impact-mode query lives in <code>scripts/tools/graph-impact.sh</code> (Cypher centralized in <code>scripts/tools/_graph_queries.sh</code>) and is documented in <code>core/shared/graph-query.md</code>; the implement-side guardrail is in <code>skills/implement/SKILL.md</code>; the new-track overlap scan is in <code>skills/new-track/SKILL.md</code>.</p>
<pclass="post-card-meta"><timedatetime="2026-06-16">June 16, 2026</time> · 10 min read</p>
92
+
<h2class="post-card-title">Speed Is the Wrong Axis: Benchmarking Draft's Graph Engine Against grep</h2>
93
+
<pclass="post-card-excerpt">On two real codebases — a 17K-LOC Rust service and a 221K-LOC polyglot platform — grep is often faster than Draft's graph engine. It's also wrong far more often (10% vs 100% hotspot precision), and it costs an AI agent up to <strong>108×</strong> more tokens to reach the correct answer. In an agent loop, latency is the axis that matters least.</p>
94
+
<spanclass="post-card-cta">Read post <spanclass="post-card-cta-arrow" aria-hidden="true">→</span></span>
Copy file name to clipboardExpand all lines: web/blog/local-graph-engine/index.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,7 @@ <h2>Try It</h2>
237
237
238
238
<footerclass="post-footer">
239
239
<p>Draft is open source: <ahref="https://github.com/drafthq/draft">github.com/drafthq/draft</a>. The graph engine (codebase-memory-mcp) is installed to <code>~/.cache/draft/bin</code>, the deterministic shell helpers live under <code>scripts/tools/</code>, and the methodology under <code>core/</code>.</p>
<p><strong>7 specialized agents</strong> — Architect, Debugger, Planner, RCA, Reviewer, Ops, and Writer — each with behavioral protocols tuned for their domain.</p>
@@ -171,10 +171,11 @@ <h2>Platform Support</h2>
171
171
<p>Draft works with the AI coding tools you already use:</p>
172
172
<ul>
173
173
<li><strong>Claude Code</strong> — Native plugin installation via <code>/plugin install</code></li>
174
-
<li><strong>Cursor</strong> — Native support for the <code>.claude/</code> plugin structure</li>
174
+
<li><strong>Cursor</strong> — Native support for the <code>.claude-plugin/</code> structure</li>
175
+
<li><strong>Codex</strong> — Via an <code>AGENTS.md</code> file that Codex reads automatically</li>
176
+
<li><strong>opencode</strong> — Via <code>AGENTS.md</code> plus a global <code>skills/</code> directory, both auto-discovered</li>
175
177
<li><strong>GitHub Copilot</strong> — Via <code>.github/copilot-instructions.md</code></li>
176
-
<li><strong>Gemini</strong> — Via <code>.gemini.md</code> bootstrap file</li>
177
-
<li><strong>Antigravity IDE</strong> — Via global skill installation</li>
178
+
<li><strong>Gemini</strong> — Via the <code>.gemini.md</code> bootstrap file (including the Antigravity global-skills path)</li>
Copy file name to clipboardExpand all lines: web/book/chapters/20-multi-ide-support.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ <h2>The Build Pipeline</h2>
112
112
<li><strong>Frontmatter extraction</strong> — Each skill's YAML frontmatter (<code>name:</code> and <code>description:</code>) is validated. The body is extracted via <code>extract_body()</code>, which strips the frontmatter delimiters.</li>
113
113
<li><strong>Body format validation</strong> — The body must follow a strict format: blank line, <code># Title</code> heading, blank line, then content. The build skips the first 3 body lines when inlining (the title is replaced by the integration's section header).</li>
114
114
<li><strong>Syntax transformation</strong> — Platform-specific transforms are applied: <code>/draft:command</code> becomes <code>draft command</code> for Copilot, agent references become <code>@workspace</code>.</li>
115
-
<li><strong>Core file inlining</strong> — 22 core reference files (methodology, shared procedures, templates, agents) are inlined into the output, each wrapped in <code><core-file></code> tags.</li>
115
+
<li><strong>Core file inlining</strong> — 62 core reference files (methodology, shared procedures, templates, agents, guardrails) are inlined into the output, each wrapped in <code><core-file></code> tags.</li>
116
116
<li><strong>Verification</strong> — <code>verify_output()</code> checks minimum line count (>1000), completeness sentinel (<code>DRAFT_BUILD_COMPLETE</code>), and that no untransformed syntax remains.</li>
<pclass="chapter-intro">Quick-reference for all 33 Draft commands. Syntax shown is for Claude Code; Copilot uses <code>draft command</code> (no slash), Cursor uses <code>@draft command</code>.</p>
5
+
<pclass="chapter-intro">Quick-reference for all 33 Draft commands. Syntax shown is for Claude Code; Cursor uses the same <code>/draft:command</code> syntax (it reads the native plugin structure), Copilot uses <code>draft command</code> (no slash), and Gemini uses natural-language <code>@draft</code> prompts.</p>
<pclass="chapter-intro">Quick-reference for all 33 Draft commands. Syntax shown is for Claude Code; Copilot uses <code>draft command</code> (no slash), Cursor uses <code>@draft command</code>.</p>
213
+
<pclass="chapter-intro">Quick-reference for all 33 Draft commands. Syntax shown is for Claude Code; Cursor uses the same <code>/draft:command</code> syntax (it reads the native plugin structure), Copilot uses <code>draft command</code> (no slash), and Gemini uses natural-language <code>@draft</code> prompts.</p>
Copy file name to clipboardExpand all lines: web/book/multi-ide-support/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -320,7 +320,7 @@ <h2>The Build Pipeline</h2>
320
320
<li><strong>Frontmatter extraction</strong> — Each skill's YAML frontmatter (<code>name:</code> and <code>description:</code>) is validated. The body is extracted via <code>extract_body()</code>, which strips the frontmatter delimiters.</li>
321
321
<li><strong>Body format validation</strong> — The body must follow a strict format: blank line, <code># Title</code> heading, blank line, then content. The build skips the first 3 body lines when inlining (the title is replaced by the integration's section header).</li>
322
322
<li><strong>Syntax transformation</strong> — Platform-specific transforms are applied: <code>/draft:command</code> becomes <code>draft command</code> for Copilot, agent references become <code>@workspace</code>.</li>
323
-
<li><strong>Core file inlining</strong> — 22 core reference files (methodology, shared procedures, templates, agents) are inlined into the output, each wrapped in <code><core-file></code> tags.</li>
323
+
<li><strong>Core file inlining</strong> — 62 core reference files (methodology, shared procedures, templates, agents, guardrails) are inlined into the output, each wrapped in <code><core-file></code> tags.</li>
324
324
<li><strong>Verification</strong> — <code>verify_output()</code> checks minimum line count (>1000), completeness sentinel (<code>DRAFT_BUILD_COMPLETE</code>), and that no untransformed syntax remains.</li>
<p><strong>7 specialized agents</strong> — Architect, Debugger, Planner, RCA, Reviewer, Ops, and Writer — each with behavioral protocols tuned for their domain.</p>
@@ -379,10 +379,11 @@ <h2>Platform Support</h2>
379
379
<p>Draft works with the AI coding tools you already use:</p>
380
380
<ul>
381
381
<li><strong>Claude Code</strong> — Native plugin installation via <code>/plugin install</code></li>
382
-
<li><strong>Cursor</strong> — Native support for the <code>.claude/</code> plugin structure</li>
382
+
<li><strong>Cursor</strong> — Native support for the <code>.claude-plugin/</code> structure</li>
383
+
<li><strong>Codex</strong> — Via an <code>AGENTS.md</code> file that Codex reads automatically</li>
384
+
<li><strong>opencode</strong> — Via <code>AGENTS.md</code> plus a global <code>skills/</code> directory, both auto-discovered</li>
383
385
<li><strong>GitHub Copilot</strong> — Via <code>.github/copilot-instructions.md</code></li>
384
-
<li><strong>Gemini</strong> — Via <code>.gemini.md</code> bootstrap file</li>
385
-
<li><strong>Antigravity IDE</strong> — Via global skill installation</li>
386
+
<li><strong>Gemini</strong> — Via the <code>.gemini.md</code> bootstrap file (including the Antigravity global-skills path)</li>
0 commit comments