docus-playground
Sample skill for testing the Docus agent skills discovery feature. Use to verify that /.well-known/skills/ routes work correctly.
Draft the GitHub release body for a new Docus version. Use when asked to write release notes, do the release notes, or prepare the GitHub release for a version. Generates emoji sections, Contributors and new docs candidates from CHANGELOG.md into a local file to edit and paste,
$ npx -y skills add nuxt-content/docus --skill release-notes --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/release-notesContext preview
The summary Claude sees to decide when to auto-load this skill.
Draft the GitHub release body for a new Docus version. Use when asked to write release notes, do the release notes, or prepare the GitHub release for a version. Generates emoji sections, Contributors and new docs candidates from CHANGELOG.md into a local file to edit and paste,
name: release-notes description: Draft the GitHub release body for a new Docus version. Use when asked to write release notes, do the release notes, or prepare the GitHub release for a version. Generates emoji sections, Contributors and new docs candidates from CHANGELOG.md into a local file to edit and paste, plus Highlights on minor and major versions.
Produce the full GitHub release body for a new Docus version, based on `CHANGELOG.md`, into `v<version>.md` at the repo root. The user edits it and pastes it into the GitHub release. The generator does everything mechanical; **you** write the Highlights and the New documentation list (the parts that need judgement and verification).
**When to run:** `pnpm release` writes the `CHANGELOG.md` block, tags, pushes and opens a prefilled GitHub release in the browser. Run this skill at that point; the generated body replaces the prefilled one.
**Patch releases** (`x.y.z` with `z > 0`) have no Highlights section. The generator detects this from the version, so for a patch skip step 2.
node .claude/skills/release-notes/scripts/generate.mjs # newest version in CHANGELOG.md node .claude/skills/release-notes/scripts/generate.mjs 5.16.0 # a specific version
This reads the version block of `CHANGELOG.md` and writes `v<version>.md` with:
sections with emoji headers, copied from the changelog,
call), `@larbish` first then by contribution count,
It prints the **highlight candidates** (Features, Performance and Breaking Changes bullets) and the **new documentation candidates** (new pages and new `##`/`###` headings). `gh` must be authenticated (`gh auth status`).
Skip this step for a patch release, even when a fix is notable.
Pick **2 to 4** changes, most impactful first. Candidates include Performance: a minor can ship without features (v5.15.0 was all performance work).
Good highlight material:
`nuxt.config.ts` option, a new component, slot or composable),
search, SEO, i18n, theming, performance),
Skip narrow fixes, docs fixes and internal refactors. For each highlight write:
### 🤖 Short title One or two sentences on what it does and why it matters, linking the [guide](https://docus.dev/en/ai/assistant#custom-provider). ```ts [app.config.ts] // a minimal, real example
> [!TIP] > Optional callout for a caveat or neat detail.
Rules: - **Verify before you write.** Check option names, defaults and components against the merged PR (`gh pr view <n> --repo nuxt-content/docus`), `docs/content/en/**`, `layer/index.d.ts` (`nuxt.config` options), `layer/app/types/index.d.ts` and `layer/nuxt.schema.ts` (`app.config`), `layer/modules/**` and `layer/app/components/**`. Never invent an API. - **Match the voice**: concise, direct, no em dashes, reads like Baptiste wrote it. Look at the last few releases for tone: `gh release list --repo nuxt-content/docus --limit 5`, then `gh release view <tag> --repo nuxt-content/docus`. - **Describe what actually shipped, not what it enables.** A title must match the real change. Don't inflate a small option into a big feature (e.g. a `vary` header on markdown negotiation is a caching fix, not "agent-ready docs"). - When unsure, prefer fewer, accurate highlights over four. - Emojis: `🤖` assistant/MCP/agents, `🏎️` performance, `🔍` search/SEO, `🎨` theming/customization, `🌐` i18n, `🧩` components, `♿` accessibility. ### 3. Breaking changes and upgrade notes If there is a `⚠️ Breaking Changes` section, or a feature/fix requires users to change their project on upgrade (check the PR description), add a callout with the migration step and a docs link, right below the related section: ```md > [!WARNING] > What changed, what to do, and a [link to the docs](https://docus.dev/en/...).
Keep only pages and sections that document something new in this release. Drop headings that were renamed, moved or reworded. Check each anchor against the heading on the page. List them as bare URLs, one per bullet:
## 📚 New documentation * https://docus.dev/en/ai/assistant#custom-provider
Delete the section if nothing qualifies.
to a GitHub account are missed: `git log <prev>..<tag> --pretty=%b | grep -i co-authored-by`.
and which docs links you kept.
pastes into GitHub.
Performance → Reverts → Contributors → New documentation → Full Changelog.
`https://docus.dev/en/ai/assistant`.
Sample skill for testing the Docus agent skills discovery feature. Use to verify that /.well-known/skills/ routes work correctly.