docs-quality
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDocs Quality
文档质量
Use this skill to produce documentation that is accurate, scannable, and complete enough for first-time and advanced users.
使用本技能可产出准确、易读且内容完整的文档,满足新用户和资深用户的需求。
Workflow
工作流程
- Read first to understand IA, tabs, and existing groups.
docs/docs.json - Research source-of-truth implementation details before writing:
- scan relevant files under
src/ - read for public types/options/contracts
/src/types.ts - read for config keys/defaults/enums
/schema/isol8.config.schema.json
- scan relevant files under
- Read the target page(s) and at least 2 neighboring pages to match tone and structure.
- Load the skill and check whether a better component exists to represent the current content (instead of defaulting to plain Markdown).
mintlify - Choose the page archetype (,
overview,how-to,reference,guide,faq,troubleshooting).api - Apply the standards in .
references/docs-quality-manual.md - If adding pages, update navigation in .
docs/docs.json - Add cross-links to adjacent conceptual and reference pages.
- Run checks from .
references/review-checklist.md - Optionally run for quick structural linting.
scripts/docs_qc.sh
- 首先阅读以了解信息架构(IA)、标签页和现有分组。
docs/docs.json - 编写前调研真实实现细节:
- 扫描下的相关文件
src/ - 阅读了解公开类型/选项/约定
/src/types.ts - 阅读了解配置键/默认值/枚举类型
/schema/isol8.config.schema.json
- 扫描
- 阅读目标页面及至少2个相邻页面,以匹配文档的语气和结构。
- 加载技能,检查是否有更合适的组件来呈现当前内容(而非默认使用纯Markdown)。
mintlify - 选择页面原型(概览、
overview操作指南、how-to参考文档、reference教程、guide常见问题、faq故障排查、troubleshooting接口文档)。api - 遵循中的标准。
references/docs-quality-manual.md - 若添加新页面,需更新中的导航配置。
docs/docs.json - 添加至相邻概念性页面和参考页面的交叉链接。
- 执行中的检查项。
references/review-checklist.md - 可选择运行进行快速结构检查。
scripts/docs_qc.sh
Which reference file to load
参考文件选择
- Complete standards:
references/docs-quality-manual.md - Page skeletons:
references/page-templates.md - Final QA gate:
references/review-checklist.md - Mintlify component decisions:
references/component-playbook.md - Ollama structural references:
references/ollama-reference-notes.md
- 完整标准:
references/docs-quality-manual.md - 页面模板:
references/page-templates.md - 最终质检关卡:
references/review-checklist.md - Mintlify组件决策:
references/component-playbook.md - Ollama结构参考:
references/ollama-reference-notes.md
Non-negotiables
硬性要求
- Every page must have clear and
titlefrontmatter.description - Use explicit parameter/flag coverage for reference pages.
- Examples must be realistic and runnable-looking.
- Include expected output/behavior only when the snippet has a meaningful observable result to validate.
- When documenting explicit input/output pairs, group them in a single (for example:
<CodeGroup>+Command) instead of separating them into distant blocks.Expected output - When CLI + Library + API examples appear together, present them in (one tab per interface).
<Tabs> - For substantial “Related pages” sections, use a with descriptive cards instead of plain bullet links.
<CardGroup> - Diagrams must be readable on standard viewport (prefer vertical/simple over wide dense graphs).
- New/changed pages must be cross-linked from related pages.
- Avoid parser pitfalls in Markdown tables (especially unescaped pipe characters in inline code cells).
- End substantial pages with page-relevant FAQ and troubleshooting guidance (or links to dedicated FAQ/troubleshooting pages when full sections would be redundant).
- Callouts must follow intent: for risk/breakage,
<Warning>for operational context,<Info>for best-practice recommendations,<Tip>for important but non-risk caveats,<Note>for explicit success confirmation.<Check>
- 每个页面必须包含清晰的和
title前置元数据。description - 参考页面需明确覆盖所有参数/标志。
- 示例必须真实且看起来可运行。
- 仅当代码片段有可验证的有意义可观察结果时,才包含预期输出/行为说明。
- 记录明确的输入/输出对时,需将它们放在同一个中(例如:
<CodeGroup>命令 +Command预期输出),而非分散在不同的区块中。Expected output - 当CLI、库和API示例同时出现时,使用标签页展示(每个界面对应一个标签页)。
<Tabs> - 对于内容较多的“相关页面”板块,使用搭配描述性卡片,而非纯项目符号链接。
<CardGroup> - 图表需在标准视口下可读(优先选择垂直/简洁的图表,而非宽且密集的图形)。
- 新增/修改的页面必须从相关页面添加交叉链接。
- 避免Markdown表格中的解析陷阱(尤其是行内代码单元格中未转义的竖线字符)。
- 内容丰富的页面末尾需添加与页面相关的FAQ和故障排查指南(若完整板块会冗余,可链接至专门的FAQ/故障排查页面)。
- 提示框需遵循用途:用于风险/故障提示,
<Warning>用于操作上下文说明,<Info>用于最佳实践建议,<Tip>用于重要但无风险的注意事项,<Note>用于明确的成功确认。<Check>