From d5f4b61541982112a5841daea332c943963be34b Mon Sep 17 00:00:00 2001 From: Harlan Wilton Date: Tue, 6 Oct 2026 03:16:30 +1100 Subject: [PATCH] feat(cli): add the /cli landing page and a CLI header link The CLI had only a generated help-text reference, so nothing sold what it gets you: Skills in your Agent, kept current. The page leads with that outcome and treats the CLI as the way there, then links /docs/cli for every flag. Every command it prints comes from shared/skill-commands.ts. The new search, outdated, update, and remove builders join the deploy grammar gate. The page mirrors /developers: noindex and out of the sitemap until a measured query admits it. --- COPY.md | 6 + app/app.vue | 16 + app/components/CliInstallChip.vue | 35 ++ app/utils/install-cmd.ts | 2 +- layers/marketing/app/pages/cli/index.vue | 479 ++++++++++++++++++ layers/marketing/app/utils/page-admissions.ts | 1 + scripts/check-published-cli-grammar.ts | 8 + shared/skill-commands.ts | 33 ++ test/a11y.spec.ts | 13 + test/unit/install-cmd.test.ts | 11 + test/unit/page-admissions.test.ts | 5 + test/unit/published-cli-grammar.test.ts | 4 +- test/unit/skill-commands.test.ts | 8 + 13 files changed, 618 insertions(+), 3 deletions(-) create mode 100644 app/components/CliInstallChip.vue create mode 100644 layers/marketing/app/pages/cli/index.vue diff --git a/COPY.md b/COPY.md index 2543378b..8adc07f8 100644 --- a/COPY.md +++ b/COPY.md @@ -33,6 +33,12 @@ These exact strings. Do not paraphrase them per page. | Home section: trending | Trending skills this week. | guidance only: the homepage trending section heading | | Home section: changes | Keep up with skill changes. | guidance only: the homepage section heading for watching and the digest | | Home section: authoring | Write a skill for your project. | guidance only: the homepage section heading for making a Skill | +| Nav: CLI | CLI | guidance only: the header nav and the mobile menu item that link `/cli` | +| CLI H1 | The skilld CLI | guidance only: the `/cli` H1 and its OG title | +| CLI line | Search, run, install, and keep Skills current. | guidance only: the `/cli` line under the H1. It is the CLI's own `--help` line, so change it in the CLI first | +| CLI intro | Give your Agent Skills that real maintainers write. A run reads the current source every time, and one command updates the Skills you install. Install the skilld Skill once, and your Agent searches and loads Skills on its own. | guidance only: the `/cli` intro under the line | +| CLI claims line | Open-source CLI · No telemetry · 19 Agent targets | guidance only: the `/cli` claims line. The page counts the `--agent` values of `skilld install --help` | +| CLI install label | Install the CLI | guidance only: the label beside `npm install --global skilld` on `/cli` | | Claim: open source | open-source CLI | guidance only: the CLI. Never call skilld.dev or its site open source | | Claim: privacy | analytics without cookies or IPs | guidance only: analytics and privacy copy. Never the bare "privacy-friendly" | | Claim: comparison | skills.sh alternative | guidance only: always a link to `/vs/skills-sh` | diff --git a/app/app.vue b/app/app.vue index 9cfe523f..2700d6a8 100644 --- a/app/app.vue +++ b/app/app.vue @@ -155,6 +155,14 @@ watch(() => route.fullPath, () => { size="sm" class="hidden lg:inline-flex" /> +