rule @community/rule-heading-hierarchy

Heading Hierarchy

Heading elements (`h1`–`h6`) MUST form a strict, gap-free hierarchy: exactly one `h1` per document, and each subsequent heading is at most one level deeper than its predecessor. Skipping levels (e.g.…

Skill
@community
Domain
accessibility
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
80/413/848
$ aoe install @community/rule-heading-hierarchy

Projection

Always in _index.xml · the agent never has to ask for this.

HeadingHierarchy [rule] v1.0.0

Heading elements (h1h6) MUST form a strict, gap-free hierarchy: exactly one h1 per document, and each subsequent heading is at most one level deeper than its predecessor. Skipping levels (e.g. h2 directly to h4) and using multiple h1s is forbidden.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/rule-heading-hierarchy/atom.yaml