From e98de2ff844bdda50bb724d4a33ad285ebf7b6d7 Mon Sep 17 00:00:00 2001 From: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com> Date: Sun, 4 Oct 2026 21:51:56 -0400 Subject: [PATCH] fix(site): give each agent its own install path, Claude Code first 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 --- scripts/site/template.html.j2 | 11 +++++++---- site.json | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/scripts/site/template.html.j2 b/scripts/site/template.html.j2 index 74d870fe..99f891fe 100644 --- a/scripts/site/template.html.j2 +++ b/scripts/site/template.html.j2 @@ -323,9 +323,12 @@ Browse the gallery
- {# after each path slash: a phone wraps the URL there, not mid-word #} -
$ git clone {% for part in repo.split('/') %}{{ part }}{% if not loop.last %}/{% if loop.index >= 3 %}{% endif %}{% endif %}{% endfor %}
- + {# site.heroCommand: the one command most visitors need (this repo: the + Claude Code marketplace add). after each slash lets a phone + wrap there, not mid-word. #} + {% set hero_cmd = site.heroCommand or ('git clone ' ~ repo) %} +
{{ site.heroPrompt or '$' }} {% for part in hero_cmd.split('/') %}{{ part }}{% if not loop.last %}/{% endif %}{% endfor %}
+
@@ -368,7 +371,7 @@ Install
-

Clone it. Point your AI at it.

+

{{ site.installHeading or 'Clone it. Point your AI at it.' }}

    {% for step in site.installSteps %}
  1. {{ step | safe }}
  2. diff --git a/site.json b/site.json index 4fd80a79..60ef2bc7 100644 --- a/site.json +++ b/site.json @@ -18,9 +18,12 @@ "github": "https://github.com/TMHSDigital/Blender-Developer-Tools" }, "installSteps": [ - "Clone the repo: git clone https://github.com/TMHSDigital/Blender-Developer-Tools", - "Cursor: git clone --branch plugin-dist --single-branch https://github.com/TMHSDigital/Blender-Developer-Tools.git ~/.cursor/plugins/local/blender-developer-tools, then reload the window; Customize lists the 16 skills and 9 rules", - "Claude Code: run /plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist then /plugin install blender-developer-tools@blender-developer-tools; the rules come with it as the blender-rules skill", + "Claude Code: /plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist then /plugin install blender-developer-tools@blender-developer-tools. The 16 skills load when a task matches; the rules come along as the blender-rules skill", + "Cursor: git clone --branch plugin-dist --single-branch https://github.com/TMHSDigital/Blender-Developer-Tools.git ~/.cursor/plugins/local/blender-developer-tools, then reload the window; Customize lists the 16 skills and 9 rules. This clones only the 0.3 MB plugin build", + "Other agents (Codex, Copilot, Windsurf): clone the repo and copy skills/* into your agent's skills folder (for example .agents/skills/); point it at claude/blender-rules.md for the rules", "Grab snippets/ and templates/ as starting points for add-ons and headless batch jobs" - ] + ], + "heroCommand": "/plugin marketplace add TMHSDigital/Blender-Developer-Tools@plugin-dist", + "heroPrompt": "Claude Code", + "installHeading": "Install it in your agent. No clone needed." }