Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
docs: offer an npx skills add install path (#199)
Anton Novoselov02482de914e7
diff --git a/README.md b/README.mdindex 216a8cf..a1fe31b 100644--- a/README.md+++ b/README.md@@ -189,6 +189,16 @@ Kiro copies imported skills into `.kiro/skills/` for a workspace or `~/.kiro/ski**OpenCode:** Copy or symlink `skills/diagram-design/` to `.opencode/skills/diagram-design` in a project or `~/.config/opencode/skills/diagram-design` globally. OpenCode has no Diagram Design marketplace package; copied installs update only when you replace the directory from a newer checkout.+**Any other Agent Skills host** (Cursor, Cline, Amp, Gemini CLI, Windsurf, Zed, Warp, Roo, Kilo, and the rest) - the cross-agent [`skills` CLI](https://skills.sh) resolves this repository, detects `skills/diagram-design/SKILL.md`, and installs the whole skill (`references/`, `assets/`, `scripts/`) into every host root you select:++```bash+npx skills add cathrynlavery/diagram-design+```++When the selected roots resolve to more than one skills directory, the CLI asks for an installation method and recommends **Symlink**: one canonical copy, linked into each root, so a later update reaches all of them at once. Pass `--copy` for independent copies per host instead. A selection that resolves to a single directory is copied, because the distinction is immaterial there. Where symlinks are unavailable (Windows without Developer Mode) the CLI falls back to copies and reports which roots it copied.++This is a standalone install, separate from every marketplace above: it does not follow marketplace updates automatically. Pull merged updates with `npx skills update diagram-design`. It also installs the Agent Skill only, so the `/export-diagram`, `/import-mermaid`, `/profile`, and `/doctor` command surfaces stay with the native packages. On a host that has one of the marketplaces above, prefer the marketplace.+> **One-time migration:** an existing standalone `npx skills add` copy will not start following the Codex marketplace automatically. Remove that standalone copy, then use the Codex marketplace commands above. Likewise, uninstall a personal Cowork copy and reinstall Diagram Design from your organization's marketplace. Future marketplace version bumps then flow through each client's native update path.### Editable installdiff --git a/docs/cookbook.md b/docs/cookbook.mdindex 5293001..7273d4e 100644--- a/docs/cookbook.md+++ b/docs/cookbook.md@@ -41,7 +41,7 @@ This repository does not duplicate `SKILL.md` into host-specific loader stubs. F| **OpenCode** | Project `.opencode/skills/` or global `~/.config/opencode/skills/` | Link or copy the inner skill; copied installs must be replaced to update. || **GitHub Copilot** | Marketplace plugin; project `.github/skills/`, `.agents/skills/`, or `.claude/skills/`; user `~/.copilot/skills/`, `~/.agents/skills/`, or `~/.claude/skills/` | Use the marketplace for managed updates or link the inner skill for editable work. |-Marketplace installs (Claude `/plugin`, `copilot plugin install`, `codex plugin add`, `droid plugin install`) stay the right path if you do **not** need to edit `style-guide.md` in-tree. Use profiles instead.+Marketplace installs (Claude `/plugin`, `copilot plugin install`, `codex plugin add`, `droid plugin install`) stay the right path if you do **not** need to edit `style-guide.md` in-tree. Use profiles instead. For the hosts in the matrix that have no marketplace package, `npx skills add cathrynlavery/diagram-design` does the same job in one command - it installs the inner skill into every root you select, symlinking them to one canonical copy by default and copying independently under `--copy`. That install is standalone: it belongs to the CLI rather than to your checkout or to any marketplace, so it does not follow marketplace updates automatically. Refresh it with `npx skills update diagram-design`.### Unix (user-global inner skill)