Back to list
Soborbo

section-skeleton

by Soborbo

1🍴 0📅 Jan 19, 2026

SKILL.md


name: section-skeleton description: Generates Astro component skeleton with slots. Stateless, deterministic. No content.

Section Skeleton Skill

Purpose

Outputs Astro component skeleton with named slots. Structure only.

Input

section_type: hero | trust-strip | problem | solution | benefits | how-it-works | social-proof | faq | final-cta | footer | pricing | gallery
variant: default | compact | expanded
page_type: landing | service | service-area | article | calculator | thank-you

Output

skeleton: "<section>...</section>"
slots: [headline, body, cta-primary]
slot_semantics: { headline: h2_primary }
skeleton_verdict: PASS | WARN | FAIL

Page-Type Compatibility

SectionAllowedForbidden
herolanding, service, service-area-
problemlandingservice-area, article
solutionlandingarticle, thank-you
pricingservice, landingarticle, thank-you
galleryservice, landingcalculator
calculator-widgetcalculator, landingarticle
local-reviewsservice-arealanding
upsellthank-youlanding, service

Forbidden combination → STOP.

Section Order Constraints

SectionRule
heromust_be_first
footermust_be_last
final-ctabefore footer only
trust-stripafter hero only

Order violation → FAIL.

Slot Cardinality

SlotMinMax
headline11
subheadline01
body01
cta-primary01
cta-secondary01
image01
items0
cards0

Max exceeded → FAIL. Required missing → FAIL.

Slot Semantic Roles

SlotSEO Role
headlineh2_primary_keyword
subheadlinesemantic_support
bodytopical_depth
itemslong_tail (FAQ)

Cross-reference: heading-tree skill uses this.

Variant Behaviour

default

All slots available.

compact

forbidden_slots: [subheadline, cta-secondary, image]

expanded

required_slots: [image, subheadline]

Variant violation → WARN.

Accessibility Requirements

SlotA11y Rule
imagealt required
faq itemsaria-expanded
cta-*aria-label if icon-only

A11y missing → WARN.

Slot Naming Convention

SlotContent Type
headlineH2 element
subheadlineParagraph
bodyMultiple paragraphs
cta-primaryPrimary Button
cta-secondarySecondary Button
cta-phonePhone link
imagePicture component
itemsRepeated list items
cardsRepeated card components

Skeleton Verdict

skeleton_verdict: PASS | WARN | FAIL
issues: []
ConditionVerdict
Forbidden page-typeFAIL
Order violationFAIL
Required slot missingFAIL
Max cardinality exceededFAIL
Variant slot violationWARN
A11y missingWARN
All rules passPASS

FAIL States

Condition
Section on forbidden page-type
hero not first
footer not last
Required slot missing (headline)
Slot count > max

WARN States

Condition
Compact variant with forbidden slot
Image without alt
Icon button without aria-label

Non-goals

  • Does NOT write content
  • Does NOT style beyond structure
  • Does NOT include interactivity
  • Does NOT generate child components

References

Definition of Done

  • section_type valid for page_type
  • Order constraints satisfied
  • Required slots present
  • Cardinality rules pass
  • Variant rules pass
  • A11y requirements met
  • skeleton_verdict = PASS

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon