Command Palette

Search for a command to run...

Back to skills
skill № 71833

cqa-07-toc-depth

Validates maximum heading depth does not exceed 3 levels. Use when deep heading nesting is detected.

FreeNo executable scripts
redhat-developerby 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
Sign up freeI already have an account

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

Compare cqa-07-toc-depth with