sb-dev-sync-docs
Keep SpecBind's English and Japanese public documentation aligned and the Japanese copy natural and readable. Use for changes or language-quality reviews under docs/en or docs/ja, including the paired reference pages, bilingual navigation, or public documentation URLs; exclude internal repository documentation.
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- sb-dev-sync-docs
- description
- Keep SpecBind's English and Japanese public documentation aligned and the Japanese copy natural and readable. Use for changes or language-quality reviews under docs/en or docs/ja, including the paired reference pages, bilingual navigation, or public documentation URLs; exclude internal repository documentation.
02 资源文件 2
- 参考文档agents/openai.yaml117 B
- 参考文档references/japanese-style.md4.7 KB
03 SKILL.md 正文
Keep bilingual documentation aligned
Public user guides are paired by relative path:
docs/en/<relative-path>
docs/ja/<relative-path>
English is published at /; Japanese is published at /ja/. Japanese remains
the practical authoring source for new product explanations, but an edit in
either language must not silently leave its counterpart with different
behavior, commands, ownership boundaries, warnings, or navigation.
Scope
Apply this workflow to index.md, guide/**/*.md, and reference/**/*.md
below both language roots. In reference pages, keep command names, state names,
file paths, and Skill names identical in both languages and translate only the
explanatory text. Internal architecture,
Decision, repository, contributor, and forward-test documents outside the two
language roots are not translation pairs.
Workflow
- Inspect the requested change and the current Git diff. Identify every affected public page and its same-relative-path counterpart.
- Read both complete pages. When Japanese content is created, edited, or reviewed for readability, also read the Japanese style reference. When the edit changes product behavior, commands, paths, or ownership, verify the current source or accepted Decision instead of translating an assumption.
- Preserve meaning, information architecture, examples, warnings, and link destinations, but write natural documentation for each audience rather than translating sentence by sentence. Edit both counterparts when meaning or information structure changes. For a Japanese-only wording improvement, inspect the English counterpart but do not manufacture an English edit when its meaning and structure already agree.
- If one counterpart does not exist, create it. If a page is intentionally language-specific, confirm that it is outside the paired scope or obtain an explicit decision to defer it; report the deferral and its tracking location. Do not call the bilingual change complete while drift is merely unmentioned.
- For a move or removal, apply the same relative-path change to both trees and
update
mkdocs.yml, inbound links, contributor guidance, and any public URL embedded in code or tests.
Verification
Run from the repository root:
python -m mkdocs build --strict
git diff --check
Confirm the generated English and Japanese pages exist at corresponding paths
and that their language selector links point to each other. When a public URL
is a CLI contract, also update its source, focused tests, and accepted Decision,
then run the focused test and python scripts/check_decisions.py.
Report the page pairs inspected and changed, any counterpart intentionally left unchanged after semantic comparison, any other exception, and the verification results.
04 同仓库更多 Skills
kiro-spec-init
暂无简介
kiro-spec-init
暂无简介
sb-verify-completion
Consequence-free check of an explicit completion or success claim against fresh evidence. Changes nothing; do not use to advance a named Spec whose implementation may be accepted.
sb-validate-implementation
Validate completed Tasks against active Requirement IDs and record completion on GO under an explicit lifecycle-validation request or ordinary Drive authority. Also owns completion withdrawal under an evidenced Drive replan recovery handoff. For a consequence-free claim check, use sb-verify-completion.
sb-validate-design
Independently judge whether a Spec's design is ready to be built on — requirement coverage, boundary, buildability, self-containment, and architectural fit.
sb-steering
Maintain durable project guidance — bootstrap it, synchronize it after code changes, or document a long-lived project convention such as testing, API, security, or deployment.