Skip to content

feat(skills): persona/JTBD taxonomy, curl-able hosting, catalog browser, b2c-operator plugin#508

Open
clavery wants to merge 3 commits into
mainfrom
feature/skills-presentation-refactor
Open

feat(skills): persona/JTBD taxonomy, curl-able hosting, catalog browser, b2c-operator plugin#508
clavery wants to merge 3 commits into
mainfrom
feature/skills-presentation-refactor

Conversation

@clavery

@clavery clavery commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Refactor of how we present and deliver agent skills, adapting Sentry-for-AI's curl-first distribution while keeping our local-skill harness model. Plan of record: PLAN_SKILL_PRESENTATION.md.

What changed

Taxonomy (hybrid metadata)

  • Per-skill persona / category / tags now live in each SKILL.md frontmatter (source of truth, edited with content). The SDK parser ignores them, so this is non-breaking across all IDE targets.
  • Closed vocabulary in skills/taxonomy.schema.json (CI-enforced — frontmatter can't invent buckets).
  • Generated consumer manifest skills/taxonomy.generated.json (committed, DO-NOT-EDIT, freshness-checked in CI).
  • Two active personas: developer (41) + operator (16) = 57 governed skills. merchant is defined but active: false (deferred).

Curl-able hosting

  • The docs build now publishes the entire skills/** tree (SKILL.md + every references/*.md) plus a machine-readable skills-index.json and an agent-friendly skills.txt, with absolute URLs and a "use curl -sL, not WebFetch" fidelity note. Cold agents / CI can fetch guidance with no install.

Interactive catalog

  • New <skills-catalog /> Vue browser embedded on /guide/agent-skills: persona→category tree, tag cloud, search, and one-click copy curl per skill or for all matches. Build-time data loader (SSR-safe, no runtime fetch).

Doc page split

  • /guide/agent-skills is now a quick-start-first showcase (keeps its slug — the most-linked URL); exhaustive per-IDE install detail moved to a new /guide/install-skills page. Inbound anchors repointed.

b2c-operator persona plugin

  • A new plugin assembled by scripts/assemble-personas.mjs from the 16 operator-tagged skills (deploys, sandboxes, jobs, logs, debugging, edge/MRT, access admin) drawn across b2c-cli/b2c. Generated + committed (DO-NOT-EDIT), with a CI drift check. Each skill is still authored once in its home plugin.
  • Registered across skills/plugins.json (flagged generated so it's published but not double-counted), .claude-plugin/marketplace.json, the SDK SkillSet/SKILL_SOURCES/ReleaseInfo, version sync, and a CLI overlap warning.

Tooling & guards (new CI skills job)

  • scripts/validate-skills.mjs --check (frontmatter + reference-link resolution + manifest freshness), assemble-personas.mjs --check (drift), check-skills-hosting.mjs (curl URLs resolve), check-doc-anchors.mjs (page-split anchor guard).

Incidental fixes

  • 6 pre-existing off-by-one cross-plugin links in b2c-scapi-shopper/b2c-scapi-admin (../../b2c-cli../../../b2c-cli).
  • A stale #reading-log-files anchor in docs/cli/logs.md.

Follow-ups (deferred by design)

  • merchant persona activation + a b2c-merchant bundle (only 3 merchant skills today).
  • A b2c-developer bundle (low value — near-union of existing plugins).

clavery added 3 commits June 17, 2026 19:25
…er, b2c-operator plugin

Refactor agent-skill presentation and delivery, adapting Sentry-for-AI's
curl-first distribution while keeping our local-skill harness model.

- Taxonomy (hybrid): per-skill persona/category/tags in SKILL.md frontmatter
  (source of truth), closed vocabulary in skills/taxonomy.schema.json
  (CI-enforced), generated skills/taxonomy.generated.json consumer manifest.
  Two active personas — developer (41) + operator (16) = 57 governed skills.
- Curl hosting: docs build publishes the whole skills/** tree + skills-index.json
  + skills.txt with absolute URLs and a "curl, don't WebFetch" fidelity note.
- Interactive catalog: <skills-catalog /> Vue browser (persona tree + tag cloud
  + per-card/batch copy curl) embedded on /guide/agent-skills.
- Page split: install detail moved to /guide/install-skills; showcase slug kept.
- b2c-operator plugin: a generated, committed bundle of the 16 operator skills,
  registered across plugins.json/marketplace/SDK SkillSet/CLI.
- Validators: scripts/validate-skills.mjs (--check), assemble-personas.mjs
  (--check drift), check-skills-hosting.mjs, check-doc-anchors.mjs; new CI job.
- Fix 6 pre-existing off-by-one cross-plugin links in the SCAPI skills and a
  stale anchor in cli/logs.md.

Plan of record: PLAN_SKILL_PRESENTATION.md
…-server curl

Address review feedback on the skills presentation refactor:

- Pivot b2c-operator from a generated re-bundle to a hand-authored plugin of
  unique operator runbooks (b2c-production-release, b2c-incident-triage) that
  compose the b2c-cli commands. Removes the assembler + personas.json + the
  "install instead of" caveat; the plugin now installs alongside b2c-cli.
  Skills are grounded in the official B2C ops docs (code deployment, log-file
  taxonomy, incident troubleshooting).
- Add multi-persona overlap: skills keep one primary persona plus optional
  alsoFor[]; the catalog filter and chip counts match either. Cross-over CLI
  skills (code/logs/debug/sandbox, config/slas) now surface under both roles.
- Curl framing aligned with Sentry: instruction-style "Use curl to download,
  read, and follow: <url>" + a why-curl note; skills.txt gains an ask-first
  header. Serve the skill tree/index during `vitepress dev` so curl works
  locally (buildEnd only runs on build).
- Simplify the catalog UI: discovery-first cards, search + persona chips (no
  tag sidebar), 2-up readable grid, full un-truncated names, per-card
  "Copy for agent" (no batch copy).
- Page titles: "Agent Skills + MCP" / "Installing Agent Plugins"; home
  "Install Agent Skills + MCP".
…tation-refactor

# Conflicts:
#	docs/.vitepress/config.mts
#	docs/.vitepress/theme/index.ts
#	docs/guide/agent-skills.md
#	docs/index.md
#	skills/b2c-cli/skills/b2c-config/SKILL.md
#	skills/b2c-cli/skills/b2c-docs/SKILL.md
#	skills/b2c/skills/b2c-custom-job-steps/SKILL.md
#	skills/b2c/skills/b2c-scapi-admin/SKILL.md
@clavery
clavery marked this pull request as ready for review July 14, 2026 13:39
@clavery
clavery temporarily deployed to b2c-docs-preview July 14, 2026 13:39 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

📘 Docs preview

Your documentation changes are published at:

https://d3uhw92m2zac57.cloudfront.net/pr-508/

Commit d9cf11c · ✅ Published

This preview updates on every push and is removed when the PR is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant