Skip to content

Remove Agent Skills from web + docs, redirect to bundles (skills purge, stage 2)#125

Open
mgoldsborough wants to merge 1 commit into
mainfrom
chore/purge-skills-web
Open

Remove Agent Skills from web + docs, redirect to bundles (skills purge, stage 2)#125
mgoldsborough wants to merge 1 commit into
mainfrom
chore/purge-skills-web

Conversation

@mgoldsborough

Copy link
Copy Markdown
Contributor

Stage 2 of 4: bundle-only web UI + docs

mpak is being refocused to handle only MCPB bundles. This removes all Agent Skills surfaces from the web app and docs site. Inbound skill links resolve on-domain to their bundle equivalents (per decision: redirect to mpak.dev URLs, not off-domain).

Builds on the positioning refocus in #124.

Redirects (both layers)

From To Mechanism
/skills, /skills/* /bundles nginx 301 + React Router <Navigate>
/publish/skills /publish nginx 301 + React Router <Navigate>

nginx uses ^~ /skills/ prefix matching so /skills/@scope/name redirects while /skillsfoo does not. Client-side <Navigate> matches the repo's existing convention (/browse/bundles).

Web

  • Deleted: SkillsPage, SkillDetailPage, PublishSkillsPage, generated skill.ts schema
  • Pruned: nav links, homepage hero "Browse skills" + "What are Skills?" FAQ, About page skills column, publish gateway/page skill cards, lib/api skill methods, BadgeSection (now bundle-only)
  • SEO/build: prerender, generate-sitemap, generate-feed, generate-og-image, manifest.json, llms.txt, committed sitemap.xml/feed.xml all bundle-only

Docs

  • Deleted: docs/skills/* (5 pages) + cli/skills.mdx; removed the Skills sidebar section
  • Pruned: skill refs from index, ecosystem, quickstart, browsing, cli/{search,show,completion}, registry/{api,access-model,how-it-works}

Verification (all green)

  • web typecheck ✓ · 60 tests ✓ · biome lint ✓
  • docs build ✓ (34 pages, no skills) · web build ✓
  • prerender ✓ (10 routes, zero skills)

Net

+109 / −3,951 across 46 files.

Note: the backend /v1/skills API still exists after this PR (removed in stage 3). Until then, the redirected /bundles UI simply won't query skill endpoints.

…bundles

Stage 2 of the skills purge. mpak's web UI and docs are now bundle-only.
Inbound skill links resolve on-domain to bundle equivalents.

Web:
- delete SkillsPage, SkillDetailPage, PublishSkillsPage, generated skill schema
- App.tsx routes: /skills + /skills/* -> /bundles, /publish/skills -> /publish
  (React Router Navigate); nginx.conf adds matching server-side 301s
- prune skills from nav, homepage hero/FAQ, About, publish gateway/page,
  lib/api (searchSkills/getSkill/getSkillDownloadUrl), BadgeSection (bundle-only)
- SEO/build: prerender, sitemap, feed, og-image, manifest, llms.txt -> bundles only

Docs:
- delete docs/skills/* and cli/skills.mdx; drop Skills sidebar section
- prune skill refs from index, ecosystem, quickstart, browsing, cli/*, registry/*

Verified: web typecheck, 60 tests, biome lint, docs build, web build, prerender
(10 routes, no skills) all green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant