AGENT SKILL

one-pager

Single-page, print-friendly product/feature/event/proposal brief — hero, three-point value prop, proof strip, CTA — built by copying the seed `assets/template.html` and pasting section blocks from `references/layouts.md`. Honors `@page` rules so it prints cleanly to one A4 sheet as well as rendering as a normal scrolling web page.

License 许可
Apache-2.0
最近更新
2026-07-09
Stars
★ 0
Forks
0

01 前言 Front Matter

od
{ "mode": "template", "craft": { "requires": [ "typography-hierarchy", "color", "anti-ai-slop", "accessibility-baseline" ] }, "preview": { "type": "html", "entry": "index.html" }, "scenario": "marketing", "design_system": { "requires": true, "sections": [ "color", "typography", "layout", "components" ] }, "example_prompt": "A one-pager for a team offsite venue — hero photo placeholder, three\nreasons to book (capacity, catering, AV), a proof strip of three past\nclients, and a \"Request a hold\" CTA with contact details." }
name
one-pager
triggers
[ "one-pager", "one pager", "product brief", "feature brief", "proposal", "single page brief", "leave-behind", "一页纸", "产品简介" ]
description
Single-page, print-friendly product/feature/event/proposal brief — hero, three-point value prop, proof strip, CTA — built by copying the seed `assets/template.html` and pasting section blocks from `references/layouts.md`. Honors `@page` rules so it prints cleanly to one A4 sheet as well as rendering as a normal scrolling web page.

02 资源文件 4

03 SKILL.md 正文

One-Pager Skill

Produce a single-page brief that reads well two ways: scrolled on screen and printed to one A4 sheet. Both must work from the same file — no separate "print version."

Resource map

one-pager/
├── SKILL.md                ← you're reading this
├── assets/
│   └── template.html       ← seed: tokens + `@page` rules + section classes (READ FIRST)
└── references/
    ├── layouts.md          ← section skeletons: hero, value-prop, proof strip, CTA
    └── checklist.md        ← P0/P1 self-review, including a print-preview pass

Workflow

Step 0 — Pre-flight

  1. Read assets/template.html end-to-end, including the @media print and @page blocks. The seed already fits one A4 page at 96dpi with 12mm margins — don't fight it by adding tall sections.
  2. Read references/layouts.md for the four required blocks (hero, value prop, proof strip, CTA) — this format has a fixed section order, unlike web-prototype's free composition, because a one-pager that wanders loses the "one page" promise.
  3. Read the active DESIGN.md and map tokens to the seed's :root variables.

Step 1 — Prepare index.html from the seed

Copy assets/template.html to the project's canonical file. Replace :root tokens, the page <title>, and the brand mark.

Step 2 — Fill the four blocks, in order

Paste each block from references/layouts.md in this exact sequence: hero → three-point value prop → proof strip → CTA. Replace every [REPLACE]. If the brief doesn't support one of the three value-prop points, cut to two rather than inventing a third — an honest two-point pitch beats a padded three-point one.

Step 3 — Fit check

The whole document must fit on one printed A4 page. After filling copy, mentally trace the vertical rhythm: if the CTA block would spill past page 1, tighten the value-prop copy or reduce the hero's vertical padding — do not shrink body text below 10pt to force a fit.

Step 4 — Self-check

Run references/checklist.md top to bottom, including its print-preview step.

Step 5 — Write and hand off

Write the completed HTML to the canonical project file. One short summary: the four sections you filled and a note that it prints to one A4 page. Do not paste the HTML into chat.

Hard rules

  • Fixed section order. Hero → value prop (3, or honestly 2) → proof strip → CTA. No inserted sections — this is a brief, not a landing page.
  • @page size is A4 (210mm × 297mm), 12mm margins. Don't override to Letter unless the brief explicitly asks for US paper.
  • 12pt minimum body text, 9pt minimum for the proof-strip fine print — print CSS rounds to points; screen CSS uses the equivalent px (16px / 12px) via the seed's --size-body/--size-fine tokens.
  • One accent, used at most twice: the eyebrow and the CTA button fill. Never a gradient.
  • No page-break-unsafe elements. Every top-level section carries break-inside: avoid (already in the seed) — don't remove it, or a section can split across two printed pages.
  • Proof strip cites real clients/results the user provided, or a neutral "in progress" placeholder that says so explicitly — never invented logos or numbers.

Output contract

index.html

Single self-contained file. Renders as a scrolling page on screen and prints to exactly one A4 sheet via the browser's print dialog. No <artifact> block.

04 同仓库更多 Skills