doc-sync-check

Validates bilingual documentation synchronization against code, API, and configuration changes.

1.6k|221|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/ZeroDeng01/sublinkPro --skill doc-sync-check-zerodeng01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-sync-check
Source: https://github.com/ZeroDeng01/sublinkPro/tree/main/.agents/skills/doc-sync-check
Command: npx skills add https://github.com/ZeroDeng01/sublinkPro --skill doc-sync-check-zerodeng01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code changes often ship without corresponding documentation updates, leaving READMEs, API references, and configuration guides outdated and misleading for users. ## Core Features & Use Cases - Change-Type Checklists: Maps each change type (feature, configuration, API, installation, developer workflow) to the exact documentation files that must be updated. - Bilingual Verification: Enforces synchronized updates to both English and Chinese (.zh-CN.md) documentation variants, including language-switch links and cross-references. - Exit Criteria Gates: Blocks completion until links are verified, code examples are tested, and both language versions match actual behavior. - Use Case: After adding a new API endpoint to the SublinkPro project, run this checklist to confirm the API reference, skill workflows, and both language versions of affected docs are updated in the same PR. ## Quick Start Review my recent code changes and check which documentation files need to be updated using the doc-sync-check checklist.

Frequently Asked Questions about doc-sync-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep documentation in sync with code changes?

Use a change-type checklist that maps each modification (feature, API, configuration, installation) to the specific documentation files requiring updates. Update docs in the same PR as the code change, and verify links and examples before committing.

What documentation should I update when changing an API endpoint?

Update the API reference file with new or changed endpoints, request/response examples, error codes, and authentication requirements. Also update workflow definitions and usage examples that reference the endpoint, plus both language versions of each file.

How do I manage bilingual documentation in English and Chinese?

Maintain paired files using a .zh-CN.md suffix convention, update both versions in the same commit, and ensure language-switch links work in both directions. Content should be semantically equivalent, not machine-translated, with working relative links in each variant.

Do documentation-only changes require running build or lint checks?

No, pure documentation commits do not require lint or build validation. However, you must manually verify that links work, both language versions are updated, and command examples match what actually exists in the repository.

What are common documentation mistakes to avoid?

Common anti-patterns include documenting commands that do not exist, updating only one language version, describing outdated behavior after code changes, leaving broken links, and documenting unimplemented future features.