release-docs
GitHub负责发布前的文档审查、Changelog 编写与验证,以及应用发布时的网站内容同步与发布。分离桌面和移动端发布流程,确保文档与版本状态一致。
Trigger Scenarios
Install
npx skills add fastrepl/anarlog --skill release-docs -g -y
SKILL.md
Frontmatter
{
"name": "release-docs",
"metadata": {
"internal": true
},
"description": "Prepare Anarlog release notes and documentation, publish the website changelog when the app is published, and verify the live content without a separate request."
}
Release Docs
Review every release. Inherit scope and session authorization from Release a New Version. Own documentation and changelog publication through completion, not just the source file or PR. For mobile-only distribution, prepare Mobile notes and review affected mobile and shared documentation. Use the Mobile publication steps below; desktop release/tag checks are not applicable.
Before candidate freeze
- Read
docs/AGENTS.mdand New Changelog. Compare all user-facing changes since the previous published release in that stream (previous stable for stable notes) withpackages/changelog/content/<stream>/<version>.md,docs/,docs/docs.json, andapps/web/public/llms.txt. Cover guides, installation/upgrade instructions, CLI/MCP/API examples, screenshots, troubleshooting, and platform availability. Preserve external-contributor credits and describe shipped behavior only. - Prepare the changelog with its
dateand plain-textsummary. Run changed-file formatting,pnpm -F @anlg/changelog typecheck, and affected web checks fromweb_ci.yaml/rootAGENTS.md. For docs, use the Mintlify version pinned incli_ci.yamlto runvalidateandbroken-links --check-anchors --check-redirectsfromdocs/; preview affected pages and navigation. Coordinate public skill changes with Agent packages. - Merge required content before freezing the candidate. Keep unreleased
notes hidden: desktop entries require published, non-draft, non-prerelease
GitHub
desktop_v<version>releases; mobile entries require verified adjacent publication records as specified inpackages/changelog/content/mobile/AGENTS.md. Verify the production index omits the candidate and its direct URL returns 404 before publication. A local production build can test this;vite devintentionally previews drafts.
Publish with the app
These steps are part of the authorized stable release, without another user prompt.
Read desktop_publish.yaml, web_cd.yaml, and apps/web/changelog-build.ts
before selecting the deployment; do not assume merging the notes publishes them.
- Wait for the exact GitHub/CrabNebula app version to be published. A website build made before that event deliberately excludes its notes, even when its source contains the Markdown. Do not weaken that gate or move the desktop tag.
- Complete the website publication in the same release operation. The desktop
workflow currently calls
web_cd.yamlthroughlinux-apt-deployafter merging Linux metadata. Follow an existing matching deploy to completion and reuse it if its build began after app publication and its source includes the notes. - If no such deployment exists, including when Linux is excluded, verify the
approved
mainsource contains the notes and dispatchweb_cd.yaml --ref mainwithgh workflow run. Verify the returned run'sheadShaagainst that source and follow it to completion. Avoid duplicate deployments and preserve newer APT metadata; never deploy the old desktop candidate over newer website/package content. Ifmaincontains unrelated unapproved web changes, resolve that source scope before deploying and report the concrete publication blocker. - Fetch
https://anarlog.so/changelog/desktop/<version>/andhttps://anarlog.so/changelog/from the live site. Verify the expected version, summary and release-note sections/body, plus the index link. For the latest desktop release, verify it is marked Latest within the Desktop stream. Verify the legacy/changelog/<version>/URL redirects to its Desktop page. HTTP 200, a generic page, a source file, a search-engine snapshot, or a green build alone is insufficient. If content is stale, inspect the actual deployment revision and cache response and resolve it within this release operation. Do not report completion with missing notes. - Verify GitHub release notes link to the working page and check public download and update routes for the published version. In-app bundled notes, updater payload notes, GitHub release text, and the website are separate surfaces; do not use one as proof of another or promise inline notes where only a link exists.
Mobile publication
- Prepare
packages/changelog/content/mobile/<version>.mdbefore candidate freeze, with the requested audience and platform-specific sections. - Follow the coordinator's mobile distribution reference. Verify the exact candidate build is available to the intended testers or public store users; upload/submission success alone is insufficient.
- Create the adjacent
<version>.jsonusing the contract inpackages/changelog/content/mobile/AGENTS.md. Include candidate SHA, channel, exact build numbers, per-platform availability timestamps, and evidence links. Record only available platforms; do not infer simultaneous iOS and Android approval. Run the affected web checks. - Merge the verified record, then reuse or dispatch the website deployment
from approved
mainwithin the existing mobile release authorization. A build made before the record was merged deliberately excludes the notes. - Verify
/changelog/mobile/<version>/,/changelog/?stream=mobile, and the combined index, including full notes, channel, and actual destinations. Add later platform availability to the same record and publish that update. Do not report stable public availability for a beta-only release.
Other documentation and completion
Publish changed Mintlify content through its configured connected deployment and
verify the actual changed content at https://docs.anarlog.so, including
skill.md, llms.txt, and llms-full.txt when affected. Mintlify and Vercel are
separate publication paths; inspect current configuration rather than assuming
that a website deployment also updates docs. Reuse unchanged surfaces with evidence.
Return content revisions, validation, website run URL/SHA, live changelog page and index evidence, other published docs, and any blocker or explicit deferral to the coordinator. Do not send announcements or newsletters unless separately requested.
Version History
-
2660f77
Current 2026-10-20 04:34
分离桌面和移动端发布说明,按流保留发布门禁,通过环境变量传递版本URL,明确稳定版源选择。
- 088f348 2026-09-23 08:30


