frontend-design
Create distinctive, production-grade frontend interfaces and printable HTML decks with high design quality. Use when building web components, pages, apps, executive briefs, proposals, or slide-like HTML documents; when the user asks for landscape/portrait print layouts, print CSS, overflow checks, or embedding logos as base64.
- License 许可
- MIT
- 最近更新
- 2026-09-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- frontend-design
- description
- Create distinctive, production-grade frontend interfaces and printable HTML decks with high design quality. Use when building web components, pages, apps, executive briefs, proposals, or slide-like HTML documents; when the user asks for landscape/portrait print layouts, print CSS, overflow checks, or embedding logos as base64.
02 资源文件 2
- 参考文档PRINT-DECKS.md3.3 KB
- 脚本scripts/embed_images_base64.py8.7 KB
03 SKILL.md 正文
Frontend design
Create distinctive, production-grade UI that avoids generic AI aesthetics. Commit to one bold direction and execute it with precision.
Before coding
- Purpose / tone / constraints / differentiation — pick one intentional aesthetic; do not default to purple gradients, Inter/Roboto, or Space Grotesk.
- Format (required for documents/decks) — if the deliverable is printable or slide-like and orientation was not specified, ask:
- Landscape A4 · Portrait A4 · Web fluido Then follow PRINT-DECKS.md.
- Brand assets — locate logos early. Insert HTML embed markers, then run the base64 script (below). Ask for missing partner/client logo paths.
Aesthetics
- Distinctive typography (display + body pair; no default system stacks as the hero voice)
- Cohesive CSS variables; dominant color + sharp accent
- Atmosphere (gradients, texture, depth) — not flat single fills unless intentional
- Motion with purpose (2–3 strong moments beat scattered noise)
- Match complexity to the vision (maximalist = elaborate; refined = restraint)
Printable decks / executive HTML
When building proposals, briefings, or A4 pages:
- Ask format if unknown → see PRINT-DECKS.md
- Ship print CSS (
@page,print-color-adjust, page breaks, hide toolbar) - Embed logos with the script (never ship placeholder “DF” text if an asset exists)
- Mandatory overflow check on every
.slide/.pageuntil none overflow - Offer “Imprimir / salvar PDF” via
window.print()
Logo embed script
Resolve the script next to this skill (scripts/embed_images_base64.py). Fallbacks:
- Cursor:
~/.cursor/skills/frontend-design/scripts/embed_images_base64.py - Claude plugin: skill folder under
frontend-design/skills/frontend-design/scripts/
python scripts/embed_images_base64.py \
--html path/to/doc.html \
--map logo-dfr=assets/logo-mark.svg
HTML markers: data-embed="logo-dfr", {{EMBED:logo-dfr}}, or <!-- EMBED:logo-dfr -->. Full rules in PRINT-DECKS.md.
Single URI dump:
python scripts/embed_images_base64.py assets/logo-mark.svg
04 同仓库更多 Skills
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
ui-engineering
This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible details that make software feel great.
to-tickets
Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).
to-spec
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.
to-prd
Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.