Skip to content

Commit cebd788

Browse files
TMHSDigitalclaude
andauthored
fix(site): give each agent its own install path, Claude Code first (#435)
The landing hero's copy box was `git clone ...` and install step 1 was "Clone the repo" for everyone, so a Claude Code user, who needs no clone, was pointed at a 30 MB+ checkout of gallery and showcase assets. - The hero copy box shows (and copies) the Claude Code command, `/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist`. It is site.json `heroCommand` (prompt label `heroPrompt`), falling back to `git clone` for the shared template. - Install steps are per agent: Claude Code (two commands), Cursor (the 0.3 MB plugin-dist local plugin), other agents (clone and copy skills/ into the agent's skills folder), then snippets and templates. The heading, now `installHeading`, says "No clone needed." Closes #371 Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c9cde57 commit cebd788

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

‎scripts/site/template.html.j2‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,12 @@
324324
<a class="btn-ghost btn-lg" href="gallery/">Browse the gallery</a>
325325
</div>
326326
<div class="clone-row">
327-
{# <wbr> after each path slash: a phone wraps the URL there, not mid-word #}
328-
<pre id="cloneCmd"><span class="p">$</span> git clone {% for part in repo.split('/') %}{{ part }}{% if not loop.last %}/{% if loop.index >= 3 %}<wbr>{% endif %}{% endif %}{% endfor %}</pre>
329-
<button class="copy-btn" type="button" data-copy="git clone {{ repo }}">copy</button>
327+
{# site.heroCommand: the one command most visitors need (this repo: the
328+
Claude Code marketplace add). <wbr> after each slash lets a phone
329+
wrap there, not mid-word. #}
330+
{% set hero_cmd = site.heroCommand or ('git clone ' ~ repo) %}
331+
<pre id="cloneCmd"><span class="p">{{ site.heroPrompt or '$' }}</span> {% for part in hero_cmd.split('/') %}{{ part }}{% if not loop.last %}/<wbr>{% endif %}{% endfor %}</pre>
332+
<button class="copy-btn" type="button" data-copy="{{ hero_cmd }}">copy</button>
330333
</div>
331334
</div>
332335
</section>
@@ -369,7 +372,7 @@
369372
<span class="hud">Install</span>
370373
</div>
371374
<div class="panel-body">
372-
<h2>Clone it. Point your AI at it.</h2>
375+
<h2>{{ site.installHeading or 'Clone it. Point your AI at it.' }}</h2>
373376
<ol class="steps">
374377
{% for step in site.installSteps %}
375378
<li><span>{{ step | safe }}</span></li>

‎site.json‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@
1818
"github": "https://github.com/TMHSDigital/Blender-Developer-Tools"
1919
},
2020
"installSteps": [
21-
"Clone the repo: <code>git clone https://github.com/TMHSDigital/Blender-Developer-Tools</code>",
22-
"<strong>Cursor:</strong> <code>git clone --branch plugin-dist --single-branch https://github.com/TMHSDigital/Blender-Developer-Tools.git ~/.cursor/plugins/local/blender-developer-tools</code>, then reload the window; Customize lists the 16 skills and 9 rules",
23-
"<strong>Claude Code:</strong> run <code>/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist</code> then <code>/plugin install blender-developer-tools@blender-developer-tools</code>; the rules come with it as the <code>blender-rules</code> skill",
21+
"<strong>Claude Code:</strong> <code>/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist</code> then <code>/plugin install blender-developer-tools@blender-developer-tools</code>. The 16 skills load when a task matches; the rules come along as the <code>blender-rules</code> skill",
22+
"<strong>Cursor:</strong> <code>git clone --branch plugin-dist --single-branch https://github.com/TMHSDigital/Blender-Developer-Tools.git ~/.cursor/plugins/local/blender-developer-tools</code>, then reload the window; Customize lists the 16 skills and 9 rules. This clones only the 0.3 MB plugin build",
23+
"<strong>Other agents (Codex, Copilot, Windsurf):</strong> clone the repo and copy <code>skills/*</code> into your agent's skills folder (for example <code>.agents/skills/</code>); point it at <code>claude/blender-rules.md</code> for the rules",
2424
"Grab <code>snippets/</code> and <code>templates/</code> as starting points for add-ons and headless batch jobs"
25-
]
25+
],
26+
"heroCommand": "/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist",
27+
"heroPrompt": "Claude Code",
28+
"installHeading": "Install it in your agent. No clone needed."
2629
}

0 commit comments

Comments
 (0)