一键导入
cqa-07-toc-depth
Validates maximum heading depth does not exceed 3 levels. Use when deep heading nesting is detected.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validates maximum heading depth does not exceed 3 levels. Use when deep heading nesting is detected.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Populate JTBD navigation map files with actual include directives from Jira tickets or category/job/topic names. Use when mapping content for a JTBD job, populating nav files, or connecting existing modules to the JTBD structure.
Finds orphaned .adoc and image files not referenced by any include or image directive. Use when cleaning up unused files or after restructuring content.
Validates directory naming conventions for titles, assemblies, and modules. Use when restructuring content or adding new directories.
Runs Vale DITA compliance checks using .vale-dita-only.ini. Use when validating AsciiDoc DITA standards compliance.
Validates assembly files follow the modular docs template structure. Use when creating or restructuring assemblies.
Validates modular docs metadata, prefix conventions, and list formatting in .adoc files. Use when creating or editing modules.
| name | cqa-07-toc-depth |
| description | Validates maximum heading depth does not exceed 3 levels. Use when deep heading nesting is detected. |
Spec: See resources/cqa-spec.md section "CQA-07: ..." for full detection/fix logic and edge cases.
# Report
node build/scripts/cqa/index.js --check 07 titles/<your-title>/master.adoc
# Fix
node build/scripts/cqa/index.js --check 07 --fix titles/<your-title>/master.adoc
=, ==, ===)==== (level 4) and deeper headings that exceed the limitMany deep headings (more than 3 violations) require human judgment to restructure content. Auto-fix promotes ==== to === only when there are 3 or fewer violations.