cqa-07-toc-depth
Validates maximum heading depth does not exceed 3 levels. Use when deep heading nesting is detected.
by redhat-developer★ 24 GitHub stars
Install cqa-07-toc-depth in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
CQA-07: TOC Depth
Spec: See resources/cqa-spec.md section "CQA-07: ..." for full detection/fix logic and edge cases.
Run
# 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
What It Checks
- Maximum 3 heading levels allowed (
=,==,===) - Detects
====(level 4) and deeper headings that exceed the limit - Validates table of contents depth is navigable
Manual Items
Many deep headings (more than 3 violations) require human judgment to restructure content. Auto-fix promotes ==== to === only when there are 3 or fewer violations.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the cqa-07-toc-depth skill do?
Validates maximum heading depth does not exceed 3 levels. Use when deep heading nesting is detected.
How do I install the cqa-07-toc-depth skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the cqa-07-toc-depth skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…