mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Route required checks by changed surface, add offline provider and chat contracts, and keep fork PRs independent of live credentials. Layer agent guidance by subtree and enforce a compact instruction budget. Tested: bun run check:policy Confidence: high Scope-risk: broad
10 lines
690 B
Markdown
10 lines
690 B
Markdown
# Documentation Instructions
|
|
|
|
These rules apply to `docs/` changes in addition to the root instructions.
|
|
|
|
- Keep Chinese pages and their `docs/en/` counterparts aligned when both versions exist.
|
|
- Preserve VitePress structure and existing terminology; do not replace reference screenshots or media unless the task requires it.
|
|
- Run `bun run check:docs` when selected by `bun run check:impact`.
|
|
- `check:docs` runs `npm ci` and may rebuild root `node_modules`; run it sequentially with other checks that use the root dependency tree.
|
|
- Release instructions must stay consistent with `scripts/release.ts`, `.github/workflows/release-desktop.yml`, and the versioned release-notes convention.
|