dify-docs-format-check
Installation
SKILL.md
Formatting Check (en / zh / ja)
Read-only audit of documentation formatting. Mechanical rules are enforced by two linter scripts in this skill directory; judgment-call rules are checked by reading each file. Route by path:
| Files under | Linter | Judgment digest |
|---|---|---|
en/ |
check-format-en.py |
Step 4 (English) |
zh/ |
check-format-cjk.py |
Step 5 (CJK shared + Chinese) |
ja/ |
check-format-cjk.py |
Step 5 (CJK shared + Japanese) |
Procedure
-
Read the rule sources for the languages in scope. The digests in steps 4-5 are summaries of these files; wherever a digest and its source disagree, the source file wins.
writing-guides/formatting-guide.md— all languagestools/translate/formatting-zh.md— when anyzh/file is in scopetools/translate/formatting-ja.md— when anyja/file is in scope
-
Detect the files to audit. Audit entire files, not just diffs. Default to the files currently under review: