No Uniform Spacing Without Headings
Unrelated content blocks must not use identical spacing between them when no heading or visual separator distinguishes their boundaries — spacing variation is itself a structural signal, and uniform spacing creates an un…
$ prime install @community/rule-no-uniform-spacing-without-headings Projection
Always in _index.xml · the agent never has to ask for this.
NoUniformSpacingWithoutHeadings [rule] v1.0.0
Unrelated content blocks must not use identical spacing between them when no heading or visual separator distinguishes their boundaries — spacing variation is itself a structural signal, and uniform spacing creates an undifferentiated wall of content.
Loaded when retrieval picks the atom as adjacent / supporting.
NoUniformSpacingWithoutHeadings [rule] v1.0.0
Unrelated content blocks must not use identical spacing between them when no heading or visual separator distinguishes their boundaries — spacing variation is itself a structural signal, and uniform spacing creates an undifferentiated wall of content.
Applies To
@community/type-html-artifact
Severity
warning
Spacing Ratio
Inter-section gap ≥ 1.5× intra-section gap. A common scale: 16px within a section, 48–80px between sections.
Remediation
- Audit margins: identify cases where consecutive sections share identical top/bottom margins.
- Either add section headings (h2/h3) or increase the gap between unrelated blocks.
- Use a spacing scale (8, 16, 24, 32, 48, 64, 80, 96) and reserve the larger values for inter-section gaps.
Loaded when retrieval picks the atom as a focal / direct hit.
NoUniformSpacingWithoutHeadings [rule] v1.0.0
Unrelated content blocks must not use identical spacing between them when no heading or visual separator distinguishes their boundaries — spacing variation is itself a structural signal, and uniform spacing creates an undifferentiated wall of content.
Applies To
@community/type-html-artifact
Severity
warning
Spacing Ratio
Inter-section gap ≥ 1.5× intra-section gap. A common scale: 16px within a section, 48–80px between sections.
Remediation
- Audit margins: identify cases where consecutive sections share identical top/bottom margins.
- Either add section headings (h2/h3) or increase the gap between unrelated blocks.
- Use a spacing scale (8, 16, 24, 32, 48, 64, 80, 96) and reserve the larger values for inter-section gaps.
Rationale
Gestalt proximity: elements spaced equally appear to belong to the same group. When every block has identical spacing, nothing signals 'this is a new topic'. Readers lose context about section boundaries.
Applies To
@community/type-html-artifact
Severity
warning
Spacing Ratio
Inter-section gap ≥ 1.5× intra-section gap. A common scale: 16px within a section, 48–80px between sections.
Remediation
- Audit margins: identify cases where consecutive sections share identical top/bottom margins.
- Either add section headings (h2/h3) or increase the gap between unrelated blocks.
- Use a spacing scale (8, 16, 24, 32, 48, 64, 80, 96) and reserve the larger values for inter-section gaps.
Source
prime-system/examples/frontend-design/primes/compiled/@community/rule-no-uniform-spacing-without-headings/atom.yaml