# Blog prompt

- **[Agent kit](/agent/)**

Articles: cards, a list or the article page itself.

## Prompt

Prompt

> Use the klarhimmel-design skill. Build the blog section for {site}: {posts}.
> Install: npx shadcn add @klarhimmel/blog-cards @klarhimmel/blog-list @klarhimmel/blog-post (remove what you do not use)
> Pick:
> - blog-cards: up to 6 cards with image and excerpt
> - blog-list: rows with date and excerpt
> - blog-post: the article page: cover, meta and reading column
> Props: posts with category, title, excerpt, meta (the date, as text you format), href and media; blog-post takes body as one text (≤4000) and a cover as { src, alt }; more as { label, href }.
> Copy: Titles say what the reader learns. Excerpts are one sentence. Dates are text you format yourself.
> Accessibility: blog-post holds the page's h1; the lists start at h2. Cover images need alt text. Link text names the post.
> Never: viewport variants (md:, lg:), style=, text or images outside Text and Media, fields the schema lacks. Shorten copy to fit the limits.
> Done when: one h1 on an article page; every card links somewhere real; excerpts within the limit.

- **Copy for AI**

## Variables

- {site} · The site · Exempelhotellet
- {posts} · The posts to show · three recent posts on running a small hotel

## Blocks it uses

- **[blog/cards](/blocks/blog/cards)**
- **[blog/list](/blocks/blog/list)**
- **[blog/post](/blocks/blog/post)**

## A good result

One h1 on an article page. Every card links somewhere real. Excerpts within the limit.

checklist.md

```
- [ ] one h1 on an article page
- [ ] every card links somewhere real
- [ ] excerpts within the limit
```
