update-docs
Keep apps/docs in sync with merged product changes. On each run, audit recently merged PRs against docs content, update only drifted pages, verify with blume build, and open or update a blume/* PR — or report a clean no-op.
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- update-docs
- description
- Keep apps/docs in sync with merged product changes. On each run, audit recently merged PRs against docs content, update only drifted pages, verify with blume build, and open or update a blume/* PR — or report a clean no-op.
03 SKILL.md 正文
Update docs — sync apps/docs with merged PRs
Upstream workflow: npx skills add haydenbleasel/blume --skill blume-update-docs. This local skill encodes it for scheduled agents in this repo.
When to use
- Scheduled — weekly (or similar) run to catch docs drift from merged PRs.
- On demand — after a batch of merged PRs that may have changed public API surfaces, adapter hooks, or Blume config.
Workflow
- Collect merged PRs in the lookback window (default 7 days):
git log --since="7 days ago" --merges --first-parentandgh pr list --state merged --search "merged:>$DATE". Done: every merged PR in the window listed with title, number, and surfaces touched. - Drop feature-flagged work — skip PRs/commits touching flag-gated code; never document unreleased surfaces. Done: flag-gated PRs removed from the list.
- Map changed surfaces to docs pages — trace diffs in
packages/core/src,packages/*/srcexports,blume.config.ts, and CLI to the pages that document them (content/reference/core-api.mdx,content/reference/adapter-hooks.mdx,content/adapters/**,content/guides/**, plus related examples/recipes when behavior changed). Done: every changed public surface mapped to zero or more docs pages. - Edit only drifted facts — signatures, option tables, behavior descriptions. Use
<AutoTypeTable>where types changed (regenerates from source); do not rewrite stable prose. Done: every drifted fact updated; no stable prose touched. - Verify —
bun run docs:validate -- --strict && bun run docs:check -- --isolated && bun run docs:build; fix until green. Do not commit if any fail. Perverify-after-each-step. Done: all three green. - Open or update a PR on branch
blume/sync-docs-<date>with a summary of what drifted and the fixes. Label itdocsso merge deploys the site (docs-governance/LIFECYCLE.md§ README surfaces). Follow commit/PR conventions; never--no-verify(no-bypass-hooks). Done: PR open withdocslabel and drift summary, or step 7 applies. - Clean no-op — if nothing drifted, report the PRs checked and surfaces audited; do not open a PR. Done: report lists every PR checked and every surface audited.
Boundaries
- Only
apps/docs/— never editdocs/(maintainer-only plans/research); docs-only PRs, never library source. - Minimal diffs — drifted facts only; no cosmetic rewrites, unrelated refactors, or removing source comments in touched files (
authoring-discipline). - No PR on a clean no-op; no commit on a failing build.
Reference
- Verify loop:
verify-after-each-step·harden-pr(lite before commit, full before merge) - Authoring:
authoring-discipline - Voice/tone/format for the public site (headline grammar, disclaimer wording, do/don't):
docs-voice - Docs site scope:
docs-governance(governsdocs/; this skill governsapps/docs/sync only)
04 同仓库更多 Skills
vue-layers
Vue adapter for @stainless-code/vue-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`
svelte-layers
Svelte bindings for @stainless-code/svelte-layers (runes + stores). Use to open overlay UI imperatively from anywhere, manage ordered named stacks, choose the Svelte 5.7+ runes or Svelte 3+ stores entry, and wire layer context or stack outlets.
solid-layers
SolidJS adapter for @stainless-code/solid-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`
react-layers
React adapter for @stainless-code/react-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`
preact-layers
Preact adapter for @stainless-code/preact-layers — use for awaitable confirm flows, singleton toasts, nested drawers, stack subscriptions, and custom layer hosts
lit-layers
Lit adapter for @stainless-code/lit-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open` via Reactive Controllers and custom elements