Skip to content

feat: install docs as skills#16417

Open
sarahxsanders wants to merge 1 commit intomasterfrom
docs-as-skills
Open

feat: install docs as skills#16417
sarahxsanders wants to merge 1 commit intomasterfrom
docs-as-skills

Conversation

@sarahxsanders
Copy link
Copy Markdown
Contributor

@sarahxsanders sarahxsanders commented Apr 16, 2026

Changes

adds "install as a skill" download button to docs pages. this lets users download pre-packaged docs sections as claude code skills from context-mill GitHub releases

also adds a GHA workflow that builds a daily markdown artifact of all docs pages for skill packaging

install button:

  • new InstallSkillButton component in ReaderView/index.tsx is now alongside copy as markdown and github edit buttons
  • derives download URL form the current page path
  • click the icon > popover with install as skill > click to download > toast notification with setup instructions
  • ONLY show on /docs/ pages, excluded on libraries, endpoints, and api references for now
CleanShot.2026-04-16.at.18.18.56.mp4

docs artifact pipeline:

  • new daily workflow that builds markdown versions of all docs pages for skill packaging
  • adds GENERATE_DOCS_MD gate to onPostBuild.ts so the HTML to MD conversion can run in minimal builds - previously it only happened in the full production deploy
  • ONLY triggers when BOTH minimal AND generate docs MD are true (won't impact existing builds)
  • uploads a zip of all docs .md files and llms.txt as a GHA artifact

pairs w/ PostHog/context-mill#115

@sarahxsanders sarahxsanders requested review from a team April 16, 2026 22:39
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2026

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Apr 16, 2026 10:51PM

@sarahxsanders sarahxsanders marked this pull request as ready for review April 16, 2026 22:39
Copy link
Copy Markdown
Contributor

@gewenyu99 gewenyu99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excited to try this!

onClick={handleInstall}
className="flex items-center gap-2 px-2 py-1 text-sm rounded hover:bg-accent transition-colors w-full"
>
<IconDownload className="size-4" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This menu has 1 item, should it just download?

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.

2 participants