Skip to content

feat(skills): add Product Hunt front-page launch card#18

Draft
wuwangzhang1216 wants to merge 1 commit into
nexu-io:mainfrom
wuwangzhang1216:feat/skill-product-hunt-card
Draft

feat(skills): add Product Hunt front-page launch card#18
wuwangzhang1216 wants to merge 1 commit into
nexu-io:mainfrom
wuwangzhang1216:feat/skill-product-hunt-card

Conversation

@wuwangzhang1216
Copy link
Copy Markdown
Contributor

@wuwangzhang1216 wuwangzhang1216 commented May 15, 2026

Summary

A new skill — social-product-hunt-card — that renders Product Hunt launches as Sunday-newspaper front pages instead of the usual rounded-orange SaaS card. Sits inside the editorial signature already established by deck-guizang-editorial, magazine-poster, and doc-kami-parchment: Playfair Display + warm paper + brick accent + 1px hairlines, zero shadows / gradients / round corners.

The signature design move — "today's launch as front-page news": masthead with star ornaments and a 1px+4px double rule, big italic-accented serif headline, Playfair-italic lede, two-column body grid (editorial number stack on the left + Hunter's Note pull-quote on the right), middle-dot-separated topics (no pills), newspaper byline footer with LIVE NOW blink dot.

social-product-hunt-card-v2-full

Hard-locked design system

Mirrored in SKILL.md and example.html:

  • 5 hex tokens only — paper #f3eee2, tint #ece5d3, ink #1f1c17, muted #6e6a5d, rule #d3cdbe, accent #c2492c (brick-orange, between PH brand #DA552F and editorial #b85a3a — preserves PH brand recognition without going garish).
  • 3 fonts with strict roles — Playfair Display (display + lede italic + big numbers), Inter (body + kicker), JetBrains Mono with tnum (metrics, dateline, folio).
  • Hard bans — 0 drop-shadow, 0 gradient backgrounds, 0 corner-radius ≥ 4px, 0 blur, 0 multi-color accents. All forbidden in the prompt body and absent from the example.
  • Subtle 16px radial-dot grain pattern overlaid on the paper bg.

Files

One folder; no registration step (picker auto-discovers via src/lib/templates/loader.ts):

File Purpose
src/lib/templates/skills/social-product-hunt-card/SKILL.md frontmatter (zh/en, category: card, scenario: marketing, aspect_hint: 1200×630, 6 tags) + prompt body locking the design system above.
src/lib/templates/skills/social-product-hunt-card/example.html hand-authored 1120×~660 OG card showing html-anything itself as the launching product (self-referential — the maintainers' own future PH launch is the demo).
src/lib/templates/skills/social-product-hunt-card/example.md launch-context input shape designed to teach the agent how to elevate a tagline into editorial headline + lede.

CONTRIBUTING merge-bar (per CONTRIBUTING.md)

  • Real example.html ships in the folder
  • Renders cleanly in Chrome headless at 1200×720 (see screenshot above)
  • Hard constraints are specific (hex codes, font roles, px sizes, letter-spacing — not vague directives like "use modern typography")
  • No lorem ipsum; example uses real product copy
  • Slug uses ASCII lowercase with dashes; mirrors social-x-post-card, social-spotify-card, social-reddit-card
  • Not vendored from another repo — no third-party LICENSE to ship

Test plan

  • pnpm dev → open picker → confirm Product Hunt 头版报 appears under the Card / 卡 group
  • Click the skill → load the bundled sample → ⌘+Enter to convert with an installed agent (Claude / Cursor / Gemini / …)
  • Generated HTML respects the design tokens: paper bg #f3eee2, brick accent #c2492c, Playfair masthead, 1px hairlines, no shadows, no rounded corners ≥ 4px
  • One-click .png export works against the generated card

Why this skill

The catalog already has social-x-post-card, social-reddit-card, social-spotify-card — but no Product Hunt launch card, the single most-shared social artifact in dev-tool launches. And rather than mimic producthunt.com's UI (every PH-launch screenshot already does that), this skill reframes the moment: launch day is news, so the card is a newspaper front page. That's the signature. It also gives the project itself a ready-to-use OG card for its own eventual PH launch.

…nch card

A new skill that renders Product Hunt launches as Sunday-newspaper front
pages instead of the usual rounded-orange SaaS card. Aligns with the
project's editorial signature established by deck-guizang-editorial,
magazine-poster, and doc-kami-parchment.

Design moves:
- "PRODUCT HUNT TIMES" masthead with star ornaments + double rule
  (1px hairline + 4px ink), Playfair Display 700 wordmark.
- Editorial kicker "MAKER OPINION ·· LAUNCH DAY ·· nexu-io#1 PRODUCT OF THE DAY"
  in JetBrains Mono uppercase letterspace 0.18em.
- Big serif headline (Playfair Display 60px) with one italic accent word
  in brick-orange #c2492c.
- Italic Playfair lede, single tight paragraph.
- Two-column body grid with hairline divider — left: editorial number
  treatment of upvote / comments / views with hairline separators;
  right: Hunter's Note pull-quote in Playfair italic + em-dash byline
  + middle-dot-separated topics (no pills, no rounded corners).
- Newspaper-style byline footer: HUNTED BY @handle · MAKER stamp · 32
  makers · 12 countries · LIVE NOW with blink dot.

Hard-locked design system (mirrored in SKILL.md and example.html):
- 5 hex tokens only: paper #f3eee2, tint #ece5d3, ink #1f1c17,
  muted #6e6a5d, rule #d3cdbe, accent #c2492c.
- 3 font families with strict roles: Playfair Display (display + lede
  italic + big numbers), Inter (body + kicker), JetBrains Mono (mono
  with tnum for metrics / folio / dateline).
- 0 drop-shadow, 0 gradient backgrounds, 0 corner-radius >= 4px,
  0 blur — all forbidden in SKILL.md prompt body and absent from
  example.html.
- Subtle 16px radial-dot grain pattern overlaid on the paper bg.

Files (one folder, no registration step — picker auto-discovers via
src/lib/templates/loader.ts):
- SKILL.md — frontmatter (zh_name, en_name, category=card,
  scenario=marketing, aspect_hint=1200x630, 6 tags) + prompt body
  enforcing the hard constraints above.
- example.html — hand-authored 1120x~660 OG card showing
  html-anything itself as the launching product (self-referential).
- example.md — launch-context input shape, designed to teach the
  agent how to elevate a tagline into editorial headline + lede.

Validates against the CONTRIBUTING merge bar:
1. Real example.html ships in the folder.
2. Renders cleanly in Chrome headless at 1200x720; screenshot in PR.
3. Hard constraints are specific (hex codes, font-stack roles,
   px sizes, letter-spacing, line-height — not "use modern fonts").
4. No lorem ipsum; example uses real product copy.
5. Slug uses ASCII lowercase with dashes, mirrors social-x-post-card,
   social-spotify-card, social-reddit-card.
6. Not vendored from another repo — no third-party LICENSE to ship.
@lefarcen lefarcen requested a review from Siri-Ray May 15, 2026 13:13
@lefarcen lefarcen added size/M Medium change: 100-299 lines risk/medium Medium risk change type/feature Feature or new user-facing capability labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk/medium Medium risk change size/M Medium change: 100-299 lines type/feature Feature or new user-facing capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants