/design:HP-design-analysisfrom design
Provides HP's design system specification including color palette, typography, and spacing for building enterprise-consumer interfaces with HP Electric Blue and Forma DJR Micro.
Ships in design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
HP reads like a long-running consumer-electronics catalog crossed with an enterprise-software product page. The whole system sits on pure white ({colors.canvas} — #ffffff) with thin gray panels ({colors.cloud} / {colors.fog}) for alternating section bands. There is one chromatic action color — HP Electric Blue ({colors.primary} — #024ad8) — and one ink color ({colors.ink} — #1a1a1a); together they do ninety percent of the work. Type is a single family across every surface: Forma DJR Micro, HP's bespoke geometric grotesque, set at weight 500 for headlines and 400 for body — clean, neutral, slightly mechanical.
The signature gesture is angular blue chevrons — sharp 0-radius slashes derived from the HP wordmark's pair of parallel slashes — that anchor the homepage hero, the laptop-page hero, and the printer pricing page. They appear on the left and right edges of the primary banner card, layered behind product photography. Outside those decorative slashes, every other surface is rectilinear with soft 8–16px corners on cards and a 4px corner on buttons.
The system breaks into three voice modes: a white commercial body for product browsing (cards, category icons, pricing tiers); a dark navy slab ({colors.ink} near-black) for testimonial bands, the closing "How can we help?" footer-prelude, and the page footer; and a light fog band ({colors.cloud} / {colors.fog}) for utility sections like comparison strips and FAQ accordions. The blue accent appears only on filled CTAs, link text, the chevron decorations, and the active price-stamp on a featured tier — never as a section background.
Key Characteristics:
{colors.canvas}) with deep ink ({colors.ink}) running every body surface; light fog bands ({colors.cloud}, {colors.fog}) alternate for section rhythm{colors.primary}) is the lone CTA fill and link color; it appears at most twice per viewport{rounded.xl} (16px) for product/pricing tiles; buttons sit at {rounded.md} (4px) with capitalize labels{colors.primary} rectangles cut at 45°) frame hero photography and reinforce the wordmark{colors.ink}) close every page rhythm — testimonial bands, "how can we help?" prelude, and the footerNo Interaction sub-section. Hover colors are silently filtered. Allowed sub-sections: Brand & Accent, Surface, Text, Semantic.
{colors.primary} — #024ad8): the system's lone signal — primary CTA fill, link color, chevron-decoration fill, active sub-nav indicator. Reserved.{colors.primary-bright} — #296ef9): a slightly lighter variant used inside dark slabs (testimonial-card buttons, dark-band CTA links) where the deeper blue would muddy.{colors.primary-deep} — #0e3191): pressed state for the primary CTA and the visited-link color.{colors.primary-soft} — #c9e0fc): pale-blue surface used inside customer-story cards and selection chips.{colors.canvas} — #ffffff): the universal page background. White, full opacity.{colors.paper} — #ffffff): card surfaces — same white as canvas, with hairline borders or shadows providing the lift.{colors.cloud} — #f7f7f7): the lightest gray section band, used for alternating-row backgrounds and product-feature card groups.{colors.fog} — #e8e8e8): a slightly darker gray surface band, used for FAQ outer panels and the "Trending laptops" header strip.{colors.steel} — #c2c2c2): hairline border used on outlined elements with stronger emphasis (focus states, active filter).{colors.bloom-coral} / {colors.bloom-rose} — #ff5050, #f9d4d2): the "Get 25% off" sale-tag chip + soft pink lifestyle accent on the sale hero.{colors.storm-mist}, {colors.storm-sea}, {colors.storm-deep} — #8ebdce, #7fadbe, #356373): the teal-storm tones reserved for the printer-plan illustration backdrop and supporting infographic accents.{colors.ink} — #1a1a1a): the universal text color on white surfaces — headlines, body, button labels, navigation.{colors.ink-deep} — #000000): pure black used for the wordmark and 1px hairline strokes around badge outlines.{colors.ink-soft} — #292929): an alternate near-black used inside dark-navy slabs as a subtle textural shift.{colors.on-ink} — #ffffff): pure white used for headline and body text on every dark-navy slab.{colors.charcoal} — #3d3d3d): muted body color on white surfaces — secondary descriptions, fine-print disclaimers.{colors.graphite} — #636363): smaller-print color, used for legal lines and timestamp metadata.{colors.bloom-deep} — #b3262b) + Bloom Wine ({colors.bloom-wine} — #5a1313): error and discount-emphasis colors. The deep brick reads as "sale" or "destructive" depending on placement.{colors.storm-deep} — #356373): used as a neutral status accent (e.g., printer-plan tier "Versatile" tier color).The voice is single-family: Forma DJR Micro (HP's bespoke geometric grotesque, fallback Arial) across every surface — display, body, button, caption. Forma DJR Micro is a wide, slightly rounded grotesque designed at small optical sizes to stay legible at UI-chrome scale. HP runs it at weight 400 for body, 500 for display headlines, 600/700 for emphasis and button labels.
The 16/14/12-px caption tier carries the catalog metadata — model numbers, spec rows, fine print — at weight 400 with a 1.4–1.5 line-height. Button labels lift to weight 600/700 with positive 0.5–1.1px letter-spacing and uppercase transform — the only place the system tracks letters.
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|---|---|---|---|---|---|
{typography.display-xxl} | 72px | 500 | 1.0 | 0 | Hero headline (homepage, laptop hub) |
{typography.display-xl} | 56px | 500 | 1.0 | 0 | Section headlines on landing pages |
{typography.display-lg} | 44px | 500 | 1.0 | 0 | Sub-section headlines on shop pages |
{typography.display-md} | 32px | 500 | 1.0 | 0 | Promo strip headlines, FAQ section headers |
{typography.display-sm} | 24px | 500 | 1.17 | 0 | Card titles, pricing-tier names |
{typography.display-xs} | 20px | 500 | 1.0 | 0 | Inline list headers, accordion labels |
{typography.body-lg} | 18px | 400 | 1.33 | 0 | Lead paragraphs |
{typography.body-md} | 16px | 400 | 1.38 | 0 | Default body |
{typography.body-emphasis} | 16px | 500 | 1.38 | 0 | Bolded run-in copy |
{typography.caption-md} | 14px | 400 | 1.5 | 0 | Specs, metadata, captions |
{typography.caption-bold} | 14px | 700 | 1.3 | 0 | Sale tags, in-card highlights |
{typography.caption-sm} | 12px | 400 | 1.33 | 0 | Footnotes, legal lines |
{typography.link-md} | 16px | 500 | 1.38 | 0 | Inline link emphasis |
{typography.button-md} | 14px | 600 | 1.4 | 0.7px | Primary/secondary button labels (uppercase) |
{typography.button-sm} | 12.6px | 700 | 1.0 | 0.126px | Compact button labels in tight cells |
{typography.price-md} | 24px | 500 | 1.17 | 0 | Tier and product price stamps |
The typographic decision worth flagging: HP runs weight 500 for every display size, including the largest 72px hero headline. Most editorial systems jump to 600/700 at hero scale; HP doesn't. The result feels open and approachable rather than commanding — appropriate for a brand that sells across consumer, SMB, and enterprise audiences in the same catalog.
Forma DJR Micro's rounded-grotesque shapes do most of the warmth. There's no italic in the system except inside legal disclaimers; emphasis is carried by weight (500 → body-emphasis, 700 → caption-bold) instead.
Forma DJR Micro is proprietary (Commercial Type / Mark Caneso). Closest open-source substitutes:
When swapping, set body line-height to 1.4 and display line-height to 1.0 explicitly — the Forma DJR Micro line-height numbers are tight, and most substitutes default looser.
{spacing.xxs} 4px · {spacing.xs} 8px · {spacing.sm} 12px · {spacing.md} 16px · {spacing.lg} 20px · {spacing.xl} 24px · {spacing.xxl} 32px · {spacing.section} 80px{spacing.section} (80px) vertical between major bands on desktop; collapses to ~48px on mobile.{spacing.xl} (24px) for product cards; {spacing.xxl} (32px) for promo strips and feature cards; {spacing.md} (16px) for compact article tiles.{spacing.xl} (24px) between grid columns at desktop; {spacing.md} (16px) on tablet/mobile.The 80px section gap is the universal rhythm constant — it appears between every major homepage band, between the hero and the comparison table on the printer-plan page, and between feature rows on the laptop-shop page.
Whitespace is commercial-clean — generous around hero photography, tight around catalog spec rows. Product cards leave breathing room above and below the photo (≥32px) so the laptop or printer reads as a hero shot rather than a thumbnail. The fine-print disclaimer regions (legal, footnote rows) tighten line-height to 1.3 and shrink type to 11–12px so the bulk of fine print stays compact.
| Level | Treatment | Use |
|---|---|---|
| 0 — Flat | No border, no shadow. | Section bands (white, cloud, fog), full-bleed photo heroes |
| 1 — Hairline | 1px solid {colors.hairline} (#e8e8e8) border, no shadow. | Outlined buttons, comparison-table cells, FAQ accordion outers |
| 2 — Soft Lift | 0 2px 8px rgba(26, 26, 26, 0.08). | Product cards, pricing-tier columns, customer-story tiles |
| 3 — Floating Modal | 0 8px 24px rgba(26, 26, 26, 0.12). | Add-to-cart drawer, mobile-nav sheet, image zoom modal |
The system is mostly flat — depth is communicated by color contrast (cloud-band vs. white card on the same band) rather than shadow elevation. The Soft Lift level is the workhorse for the catalog — every product tile and pricing column gets it; nothing else does. Modal-floating is rare and reserved for transient overlays.
The system's most distinctive depth gesture is the HP blue chevron pair — two angular {colors.primary} slashes (no radius, no shadow) that sit on the left and right of the homepage hero card and the laptop-shop hero. They're not decorative noise; they're a literal echo of the HP wordmark's two parallel slashes, scaled up to architectural size. Treat them as a brand artifact, not a generic geometric flourish.
Photography on the homepage and laptop-shop pages frames product imagery inside {rounded.xl} (16px) containers with a soft 1px hairline. Lifestyle photography (testimonials, "How HP works for X") sits full-bleed inside dark-navy slabs without rounding.
| Token | Value | Use |
|---|---|---|
{rounded.none} | 0px | Hero chevron decorations, full-bleed photo heroes, marquee strips |
{rounded.xs} | 2px | Secondary chip backgrounds, sale-tag pills |
{rounded.sm} | 3px | Default secondary CTA radius (small touch zones) |
{rounded.md} | 4px | Primary buttons, secondary buttons, text inputs |
{rounded.lg} | 8px | Badge pills, category-icon cards, FAQ row containers |
{rounded.xl} | 16px | Product cards, pricing tiers, customer-story tiles, photo frames |
{rounded.pill} | 9999px | Category sub-nav tabs, search-pill input, filter chips |
The system maintains a clear two-tier philosophy: buttons stay sharp (4px, almost rectilinear) while cards and photo frames stay soft (16px). This split is the visual signature — sharp interactive elements against softer container surfaces.
Hero photography sits in {rounded.xl} (16px) frames with no border. Product family thumbnails inside the laptop-grid are 1:1 (square) on a {colors.canvas} background, padded so the laptop is shown at ~70% of the frame. Customer-story photography uses 16:9 inside the same {rounded.xl} frame. There are no full-bleed circular avatars; testimonial avatars are 4px-rounded squares.
No hover states documented. Every component spec below documents only Default and Active/Pressed states. Variants live as separate front-matter entries.
button-primary — the lone HP Electric Blue CTA
{colors.primary}, text {colors.on-primary}, type {typography.button-md} (uppercase, 0.7px tracking), padding {spacing.sm} {spacing.xl} (12 × 24), height 44px, rounded {rounded.md}button-primary-pressed — background {colors.primary-deep}, same textbutton-primary-disabled — background {colors.steel}, white textbutton-ink — black filled CTA
{colors.ink}, text {colors.on-primary}, padding {spacing.sm} {spacing.xl}, height 44px, rounded {rounded.md}, type {typography.button-md}button-outline — blue-text outlined CTA
{colors.canvas}, text {colors.primary}, 1px {colors.primary} border, padding {spacing.sm} {spacing.xl}, height 44px, rounded {rounded.md}button-outline-ink — black-text outlined CTA
{colors.canvas}, text {colors.ink}, 1px {colors.ink} border, padding {spacing.sm} {spacing.xl}, height 44px, rounded {rounded.md}button-text-link — inline blue link with underline
{colors.canvas}, text {colors.primary}, type {typography.link-md}, padding {spacing.xxs} 0card-product — the workhorse product tile
{colors.canvas}, rounded {rounded.xl} (16px), padding {spacing.xl} (24px), Soft Lift shadow{typography.display-xs}, spec rows in {typography.caption-md}, price in {typography.price-md}, CTA pinned to bottomcard-product-feature — full-row feature card with photo + copy
{colors.cloud}, rounded {rounded.xl}, padding {spacing.xxl} (32px)card-pricing-tier + card-pricing-tier-featured
{colors.canvas}, rounded {rounded.xl}, padding {spacing.xl}, Soft Lift shadow{typography.display-sm}, monthly price in {typography.display-md} with {typography.caption-md} cadence, page count caption, full feature list, primary CTA{colors.primary} text accent on the price-stamp + a {colors.primary} thin top border instead of a colored card background — never inverted to darkcard-customer-story — the three-up testimonial tile
{colors.canvas}, rounded {rounded.xl}, padding {spacing.md} (16px), Soft Lift shadow{rounded.xl} frame, quote excerpt in {typography.body-md}, attribution row at the bottomcard-article-tile — the four-up "Latest from HP" tile
{colors.canvas}, rounded {rounded.xl}, padding {spacing.md}, Soft Lift shadow{typography.caption-sm}, title in {typography.body-emphasis}, "Read more" linkcard-category-icon — the small icon-and-label card in the homepage "Our Products" row
{colors.canvas}, rounded {rounded.lg} (8px), padding {spacing.md}{typography.body-emphasis} belowhero-promo-card — the homepage hero card with chevron decorations
{colors.canvas}, rounded {rounded.xl}, padding {spacing.xxl} (32px)chevron-decoration blue slashes outside the card's bounding box on left and right edgespromo-strip-dark — the inline dark navy promo block
{colors.ink}, text {colors.on-ink}, rounded {rounded.xl}, padding {spacing.xxl} 48pxtext-input + text-input-focused
{colors.canvas}, text {colors.ink}, rounded {rounded.md}, padding {spacing.sm} {spacing.md}, height 44px{colors.steel} border in default; gains 1px {colors.ink} border on focus (no halo)text-input-search — pill search in the top nav
{colors.canvas}, rounded {rounded.md}, padding {spacing.sm} {spacing.md}, height 40px, 1px {colors.steel} border, magnifying-glass icon at rightbadge-pill-ink — filled tag pill
{colors.ink}, text {colors.on-primary}, rounded {rounded.lg}, padding 6px 12px, type {typography.body-md}badge-pill-outline — outlined tag pill
{colors.canvas}, text {colors.ink}, 1px {colors.ink} border, rounded {rounded.lg}, padding 6px 12pxbadge-sale-coral — the sale price-stamp
{colors.bloom-coral}, text {colors.on-primary}, rounded {rounded.sm}, padding {spacing.xxs} {spacing.xs}, type {typography.caption-bold}utility-strip — the top-of-page utility bar
{colors.ink}, text {colors.on-primary}, height 36px, padding 0 {spacing.xl}, type {typography.caption-md}nav-bar-top — desktop top nav (sits below utility strip)
{colors.canvas}, height 64px, padding 0 32px{colors.hairline} bottom border separates nav from pagenav-link
{colors.canvas}, text {colors.ink}, type {typography.body-md}, padding {spacing.xs} {spacing.md}{colors.primary} underline below the text baselineTop Nav (Mobile)
{typography.body-lg} link list and a sticky Sign-in CTA at bottomcategory-tab + category-tab-active — the pill sub-nav
{colors.canvas}, text {colors.ink}, type {typography.body-emphasis}, rounded {rounded.pill}, padding {spacing.xs} {spacing.lg}{colors.ink}, text {colors.on-primary}, same roundingchevron-decoration — the geometric blue slash motif
{colors.primary}, rounded {rounded.none}, no shadowfaq-row — the accordion row on the printer-plan FAQ
{colors.canvas}, rounded {rounded.lg}, padding {spacing.lg} {spacing.xl}, type {typography.body-emphasis}{colors.hairline} divider between rows; chevron-down icon on the right collapsed, chevron-up when expanded{typography.body-md} after expansionhelp-band-dark — the closing "How can we help?" prelude band
{colors.ink}, text {colors.on-primary}, padding 64px {spacing.xl}footer-dark
{colors.ink}, text {colors.on-primary}, type {typography.body-md}, padding 64px {spacing.xl}{typography.body-emphasis} headers and {typography.caption-md} link rows{typography.caption-sm} muted to {colors.steel}{colors.primary} for the primary CTA, link color, and chevron-decoration motif — at most twice per viewport{rounded.xl} (16px) for cards and photo frames; {rounded.md} (4px) for buttons and inputs — keep the two-tier split sharp{colors.canvas} body bands with {colors.cloud} (#f7f7f7) alternating bands; let the gray do the breathing{colors.ink} slab — the "How can we help?" prelude + footer{typography.button-md} (0.7px tracking) — the only place the system tracks letters{rounded.xl} containers; never use full-bleed circular masks{colors.primary} family + the bloom-coral sale-tag and storm printer-plan accents{rounded.md} (4px); a soft 8px+ button reads as a different brand{colors.charcoal} / {colors.graphite} instead| Name | Width | Key Changes |
|---|---|---|
| Mobile | < 480px | Single-column stack; hamburger nav; section padding drops to ~48px; hero serif scales to ~36px |
| Mobile-Large | 480–767px | Same column count; hero scales to ~44px; pricing tiers stack vertically |
| Tablet | 768–1023px | 2-column product grid; pricing 2x2; nav still full text labels |
| Desktop | 1024–1279px | 3-column product grid; 4-column pricing; full nav |
| Desktop-Large | ≥ 1280px | 4-column product grid; 1366px content max-width with full-bleed bands |
Every interactive element clears 44×44px on mobile. button-primary at 44px height + 24px horizontal padding meets WCAG-AAA touch target. category-tab at 8px 20px padding bumps to 12px 24px on touch screens. Nav-link tap areas extend invisibly beyond the text run to the full 44px row height. Sticky cart/sign-in icons in the top nav use 44×44 invisible hit boxes around their visible 24×24 glyph.
{rounded.xl} corners at every sizeHero photography uses {rounded.xl} containers at every breakpoint. The chevron decorations vanish on mobile; the underlying photo card centers in the viewport. Lifestyle photography in the testimonial and "how-can-we-help" bands maintains 16:9 ratio with horizontal cropping rather than letterboxing on mobile. There are no art-direction crop swaps between desktop and mobile — the same image is used at every size.
{colors.primary}, {typography.display-xxl}, {rounded.xl}, card-product) — do not paraphrase to hex/px in prosenpx @google/design.md lint DESIGN.md after edits — broken-ref, contrast-ratio, and orphaned-tokens warnings flag issues automatically-pressed, -disabled, -focused); never bury state inside prose{typography.body-md}; reach for {typography.body-emphasis} for run-in bolds; keep display sizes for true heading roles{colors.primary} scarce — at most two flame elements per viewport (one CTA + one chevron decoration). Three flame items in one viewport is over-saturation{colors.canvas} / {colors.cloud} / {colors.fog} / {colors.ink} — six pre-defined surface modes is the entire surface vocabularyWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub skillmds/skillmd --plugin design30 skills in this plugin
/ads-dnaExtract a public-safe brand and offer profile for paid advertising from an authorized website and operator input. Triggers on: brand DNA, brand profile, brand identity, brand style, brand colors, brand voice, visual identity, style guide, website brand analysis./ads-xAudit X Ads measurement, X Pixel and Conversions API, campaign objectives, keyword and conversation targeting, creative, budgets, brand safety, app measurement, and reporting. Use for X Ads, Twitter Ads, promoted posts, X Pixel, X Conversions API, conversation targeting, or paid campaigns on X./agentic-kaggle-skillKaggle-first end-to-end competition workflow for scored submissions. Use when Codex must run Kaggle or competitive ML workflows through scored submission, including code competitions, validation, metrics, policy-safe public notebook/discussion intel, tabular/text/image modeling, tuning, ensembling/stacking, proactive multi-notebook architectures, producer notebooks that train models and export private Kaggle artifact datasets, downstream consumer notebooks, Kaggle GPU offload, kagglehub access, hidden-test debugging, and public score retrieval./article-poster-generator将文章内容自动拆分为多张信息图海报(2400x3600竖版),支持多种风格模板和6种页面布局。
Use when: (1) 用户说"生成海报", (2) 用户发文章要求做图, (3) 用户说"做成卡片/信息图"
(4) 用户发文章并希望转成可分享的图片, (5) 用户要求制作信息图/infographic
/BMW-design-analysisBMW's corporate site — distinct from BMW M's motorsport-bombastic variant, this is a measured and settled corporate-automotive interface. On a light (cream-tinted white) canvas, BMW corporate blue (#1c69d4) carries every primary CTA; dark navy hero bands frame model photography. BMW Type Next Latin sets the entire hierarchy on two weights — heavy 700 display and Light 300 body. Configuration and reservation flows ride a card-based 4-up grid, where each card holds a model render, a name, and a "Learn More" link./brandBrand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.Other plugins' skills for the same job