Skip to content

Latest commit

ย 

History

History
80 lines (72 loc) ยท 2.83 KB

File metadata and controls

80 lines (72 loc) ยท 2.83 KB
name blog-post
description A long-form article / blog post โ€” masthead, hero image placeholder, article body with figures and pull quotes, author byline, related posts. Use when the brief asks for "blog", "article", "post", "essay", or "case study".
triggers
blog
blog post
article
essay
case study
newsletter
ๅšๅฎข
ๆ–‡็ซ 
od
mode platform scenario preview design_system craft
prototype
desktop
marketing
type entry
html
index.html
requires sections
true
color
typography
layout
components
requires
typography
typography-hierarchy
typography-hierarchy-editorial
rtl-and-bidi

Blog Post Skill

Produce a single long-form article page โ€” editorial layout, no chrome.

Workflow

  1. Read the active DESIGN.md (injected above). Lean into the typography tokens โ€” long-form is 70% type, 20% image, 10% chrome.
  2. Pick the topic from the brief and write a real article โ€” at least 600 words across 4โ€“6 H2 sections. No lorem ipsum.
  3. Sections, in order:
    • Masthead โ€” small wordmark + 4โ€“6 nav links, plain.
    • Article header โ€” category eyebrow, headline (display token, large), deck (1โ€“2 sentence subhead), author name + role + date.
    • Hero image โ€” a 16:9 placeholder block using a DS-tinted gradient or solid fill (no external images). Add a 1-line caption underneath.
    • Body โ€” alternating prose paragraphs with at least:
      • 1 pull quote (large display type, accent rule on the inline-start edge so the layout flips correctly under dir="rtl").
      • 1 figure (image placeholder + caption).
      • 1 list (numbered or bulleted).
      • 1 inline blockquote.
    • Author footer โ€” author avatar (initials in a circle), bio paragraph.
    • Related โ€” 3 cards linking to other posts. Each card: tiny image block, title, 1-line excerpt, date.
  4. Write a single HTML document:
    • <!doctype html> through </html>, CSS inline.
    • Article body uses the DS body font, centered, max-width per DS layout rule (typically 680โ€“720px).
    • Drop caps (first-letter) only if the DS mood is editorial / serif โ€” skip on tech-y DSes.
    • data-od-id on the headline, hero, body, pull quote, related grid.
  5. Self-check:
    • Type hierarchy is unambiguous โ€” H1 is clearly the headline; H2s are section dividers; pull quotes do not compete with H1.
    • Line length 60โ€“75 chars for body prose.
    • Accent appears at most twice (eyebrow + pull-quote rule, or one link).
    • The page reads like a magazine, not a marketing landing.

Output contract

Emit between <artifact> tags:

<artifact identifier="post-slug" type="text/html" title="Article Title">
<!doctype html>
<html>...</html>
</artifact>

One sentence before the artifact, nothing after.