Docs Governance
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install cherry-studio-docs-governanceWhat this does: Use when writing, restructuring, auditing, or reviewing Cherry Studio repository documentation, READMEs, JSDoc, comments, Agent instructions, or paired English/Chinese docs, including source-linked documentation impact checks.
Manual setup by platform
Claude Code
~/.claude/skills/cherry-studio-docs-governance/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
Documentation Governance
Require an explicit scope. Read the applicable AGENTS.md, then the owning source or module README before judging prose.
Place the fact
- Cross-cutting and multi-module behavior belongs under
docs/dev/references/<domain>/. - Repository process belongs under
docs/dev/contrib/. - Module-private behavior belongs beside the module.
- Durable rationale and rejected alternatives belong in Agent Notes.
- Standing agent orders belong in the narrowest applicable
AGENTS.mdand link their rationale.
Keep one home per fact. A domain README owns its subject and summarizes children with links; it does not copy their implementation detail. A tutorial leads through ordered actions to an observable result. A reference supports lookup and states current behavior.
Inspect code impact
Run pnpm change:scope --base <verified-ref> and pnpm docs:affected --base <verified-ref>. Inspect every returned document against the changed behavior. A source-prefix match is a mandatory review prompt, not proof that prose needs a diff.
Reference docs describe current reality. Preserve behavior, failure, timing, ownership, modality, exceptions, and consequences. Remove implementation narration, reasoning transcripts, review history, duplicated rationale, status inventories, and catalogs whose source or generator already owns them.
Generated and paired docs
Reference docs carry description and sources; contrib and governance docs carry description. Never hand-edit docs/dev/README.md, docs/dev/sources-index.json, or docs/dev/i18n/terminology.md.
For an in-scope pair, read the pairing contract, translation rules, and terminology. Update the counterpart minimally and re-record only after semantic review. Use translate-docs for new pairs or batch translation.
Validation
Documentation-only work runs pnpm docs:check. Script, hook, code-comment, or skill changes also run focused tests, pnpm lint, pnpm test:lint, and git diff --check as applicable.
Security
Reviews (0)
Related skills
Browse all →More from Cherry Studio
View source →More Build skills
Browse category →Frequently asked questions about docs-governance
What does the docs-governance skill do?
Use when writing, restructuring, auditing, or reviewing Cherry Studio repository documentation, READMEs, JSDoc, comments, Agent instructions, or paired English/Chinese docs, including source-linked documentation impact checks. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the docs-governance skill?
Run `npx @skills-hub-ai/cli install cherry-studio-docs-governance` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/cherry-studio-docs-governance/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does docs-governance work with?
docs-governance runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the docs-governance skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use docs-governance after installing it?
In Claude Code, type `/cherry-studio-docs-governance` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the docs-governance skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.