You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes the docs/zh tree and the tooling that maintained it: the translate-docs
and pre-changelog skills existed only to mirror and translate it, and gen-docs,
sync-changelog and write-tui each described a bilingual layout that no longer
exists. The VitePress config never wired a locale, so the Chinese pages were
built but unreachable from the site navigation.
The acp-adapter README pointed readers at two docs/zh paths for the capability
matrix and IDE setup; both now point at their English originals.
Copy file name to clipboardExpand all lines: .agents/skills/gen-docs/SKILL.md
+5-14Lines changed: 5 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: Update Pythinker Code CLI user documentation after meaningful code
7
7
8
8
## Overview
9
9
10
-
This repository maintains bilingual user documentation under `docs/`. `docs/en/` and `docs/zh/` are mirrored pairs for most pages; update both in the same change. **Changelog is the exception** — English is the source, and Chinese is translated from English.
10
+
This repository maintains English-only user documentation under `docs/`.
11
11
12
12
Use this skill to update the corresponding documentation whenever the codebase has changes that affect product behavior or user experience.
13
13
@@ -17,10 +17,9 @@ For a **full pre-release audit** of all pages (detecting hallucinations and cove
17
17
18
18
This skill depends on the following being in place. If any are missing, stop and report to the user before continuing:
19
19
20
-
-`docs/` directory with `docs/zh/`, `docs/en/`, and `docs/.vitepress/config.ts` set up (VitePress site).
20
+
-`docs/` directory with `docs/en/` and `docs/.vitepress/config.ts` set up (VitePress site).
- Release notes (`docs/zh/release-notes/breaking-changes.md` if a breaking change is involved)
65
-
66
-
5.**Sync bilingual content**
67
-
68
-
Invoke the `translate-docs` skill. It will:
69
-
70
-
- Sync updated non-changelog pages between `docs/en/` and `docs/zh/`
71
-
- Translate the English changelog → Chinese under `docs/zh/release-notes/changelog.md`
63
+
- Release notes (`docs/en/release-notes/breaking-changes.md` if a breaking change is involved)
72
64
73
65
## Rules and conventions
74
66
75
-
-**Locale sync**: Non-changelog pages stay mirrored between `docs/en/` and `docs/zh/`. Changelog flows English → Chinese.
76
-
-**Terminology**: Use the term table in `docs/AGENTS.md` exactly. Do not invent new translations or use synonyms.
67
+
-**Terminology**: Use the term table in `docs/AGENTS.md` exactly. Do not invent synonyms.
77
68
-**Scope discipline**: Only update sections affected by the recent changes. Do not opportunistically rewrite unrelated docs.
78
69
-**Public examples**: Never write real internal endpoints, key names, account names, or service names into docs. Use neutral placeholders such as `https://api.example.com/v1`, `https://registry.example.com/v1/models/api.json`, `example.test`, and `YOUR_API_KEY`.
79
-
-**Breaking changes**: If any change is breaking, also update `docs/en/release-notes/breaking-changes.md` (under `## Unreleased`) with `**Affected**` + `**Migration**` subsections, and mirror it in `docs/zh/release-notes/breaking-changes.md`.
70
+
-**Breaking changes**: If any change is breaking, also update `docs/en/release-notes/breaking-changes.md` (under `## Unreleased`) with `**Affected**` + `**Migration**` subsections.
80
71
-**Do not edit auto-synced files**: `docs/en/release-notes/changelog.md` is regenerated by the sync script; any manual edit will be overwritten.
0 commit comments