page-structure

Generates section list for a page. Deterministic mapping. Does not write content.

$ 설치

git clone https://github.com/majiayu000/claude-skill-registry /tmp/claude-skill-registry && cp -r /tmp/claude-skill-registry/skills/marketing/page-structure ~/.claude/skills/claude-skill-registry

// tip: Run this command in your terminal to install the skill


name: page-structure description: Generates section list for a page. Deterministic mapping. Does not write content.

Page Structure Skill

Purpose

Outputs ordered section list for a page type. Structure only.

Input

page_type: landing | service | service-area | article | calculator | thank-you
goal: lead | inform | compare | convert
industry: removals | cleaning | trades | legal | healthcare

Output

sections: [hero, trust-strip, benefits, ...]
primary_conversion_section: final-cta
cta_sections: [hero, benefits, final-cta]
seo_roles: { hero: primary_keyword, faq: long_tail }
structure_verdict: PASS | WARN | FAIL

Invalid Combinations (STOP)

page_typegoalResult
thank-youlead❌ STOP
calculatorinform❌ STOP
articleconvert❌ STOP

Invalid combination → no output, STOP.

Primary Conversion Section

One section is THE conversion point. All other CTAs support this.

Page TypePrimary Conversion
landingfinal-cta
servicefinal-cta
service-areafinal-cta
articleservice-cta
calculatorcalculator-widget
thank-youupsell

SEO Responsibility Mapping

SectionSEO Role
heroprimary_keyword in H1
benefitssecondary_keywords
faqlong_tail_questions
service-introsemantic_support
area-introlocation_keyword

Cross-reference: heading-tree skill uses this.

CTA Limits

RuleValue
Max total CTAs4
Min distance2 sections apart

Over 4 CTAs = WARN. Adjacent CTAs = WARN.

Section Dependencies

SectionRequires
pricingbenefits
how-it-workssolution OR service-intro
local-reviewsarea-intro
related-postsbody

Missing dependency → WARN.

Conditional Sections

SectionCondition
calculatorindustry == removals
pricing-tableindustry == cleaning
galleryindustry == trades
credentials-detailindustry == legal
compliance-badgesindustry == healthcare

Section Maps (Summary)

Page TypeSectionsViewports
landing11-128-10
service116-8
service-area95-6
article8varies
calculator52-3
thank-you51-2

Full section lists → references/section-maps.md

Structure Verdict

structure_verdict: PASS | WARN | FAIL
issues: []
ConditionVerdict
Invalid page_type + goalFAIL
Missing required sectionFAIL
Missing dependencyWARN
CTA over limitWARN
All rules passPASS

FAIL States

Condition
Invalid page_type + goal combination
Missing hero section
Missing footer section
No CTA on lead goal page

WARN States

Condition
>4 CTA sections
Adjacent CTA sections
Missing section dependency

Non-goals

  • Does NOT write content
  • Does NOT generate components
  • Does NOT handle copy
  • Does NOT validate content quality

References

Definition of Done

  • page_type + goal valid combination
  • All required sections present
  • Dependencies satisfied
  • CTA count ≤4
  • primary_conversion_section defined
  • seo_roles mapped
  • structure_verdict = PASS