Files
open-design/skills/pricing-page/SKILL.md
T
pftom af3f96379a Refactor project name from "Open Claude Design" to "Open Design"
- Updated project name in package.json, package-lock.json, and README files.
- Changed CLI commands and references from "ocd" to "od".
- Adjusted file structure references in documentation and code to reflect new naming conventions.
- Enhanced .gitignore to include new runtime data files.
- Updated metadata in LICENSE file to match new project name.
2026-04-28 14:48:45 +08:00

78 lines
2.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: pricing-page
description: |
A standalone pricing page — header, plan tiers, feature comparison table,
and an FAQ. Use when the brief asks for "pricing", "plans",
"subscription tiers", or a "compare plans" page.
triggers:
- "pricing"
- "pricing page"
- "plans"
- "subscription"
- "compare plans"
- "定价"
- "套餐"
od:
mode: prototype
platform: desktop
scenario: sales
preview:
type: html
entry: index.html
design_system:
requires: true
sections: [color, typography, layout, components]
---
# Pricing Page Skill
Produce a single-screen pricing page that respects the active DESIGN.md.
## Workflow
1. **Read the active DESIGN.md** (injected above). Use only its colors, type
tokens, and component patterns.
2. **Classify** the product from the brief and pick a tier shape:
- 3-tier (most common): Free / Pro / Team or Starter / Growth / Enterprise.
- 4-tier when the brief says "scale" or "enterprise plus".
- 2-tier when it says "individual / business" or "personal / pro".
3. **Sections**, in order:
1. **Hero** — page title (e.g. "Pricing"), one-line subhead, optional
monthly/annual toggle.
2. **Plan cards** — one card per tier. Each card: tier name, price (use the
display font + larger scale for the number), 1-line positioning, 46
bullet features, primary CTA. Mark the recommended tier with the DS
accent border or a small badge.
3. **Comparison table** — feature rows × tier columns, ✓ / — / value cells.
Group features into 23 logical sections (Core, Collaboration,
Support, Security…). Sticky header.
4. **FAQ** — 46 collapsible Q&A items. Use `<details><summary>` for the
collapse — no JS.
5. **Footer CTA** — single line + button, accent band sparingly.
4. **Write** one self-contained HTML document:
- `<!doctype html>` through `</html>`, CSS in one inline `<style>`.
- CSS Grid for the plan-card row; CSS Grid for the comparison table.
- `data-od-id` on each tier card and each table row.
5. **Money rendering**: use the display font for the big number, body for the
currency and "/mo" — sizes per DESIGN.md scale.
6. **Self-check**:
- Prices are plausible for the product (not "$X / month").
- Accent is on the recommended tier and one CTA only.
- Comparison table renders cleanly at 1024px and stacks readably below
768px (rotate column headers or scroll-x).
- No fake feature names — every row reads as something a real product
would actually offer.
## Output contract
Emit between `<artifact>` tags:
```
<artifact identifier="pricing-slug" type="text/html" title="Pricing — Product Name">
<!doctype html>
<html>...</html>
</artifact>
```
One sentence before the artifact, nothing after.