card

$npx mdskill add kostja94/marketing-skills/card

Design and audit card layouts for scannable content display.

  • Helps users create focused, scannable card components for various content types.
  • Relies on card anatomy elements like container, image, title, description, and CTA.
  • Selects card type based on use case: product, template, tool, feature, etc.
  • Delivers responsive card layouts optimized for grids and content grouping.

SKILL.md

.github/skills/cardView on GitHub ↗
---
name: card
description: When the user wants to design, optimize, or audit card layouts for content display. Also use when the user mentions "card layout," "card component," "card grid," "product cards," "template cards," "tool cards," "feature cards," "gallery cards," "integration cards," or "card design." For grids, use grid.
metadata:
  version: 1.1.1
---

# Components: Card Layout

Guides card layout design for scannable, responsive content display. Cards are self-contained containers that group related content; used in grids for blog posts, products, templates, tools, features, galleries, and integrations.

**When invoking**: On **first use**, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On **subsequent use** or when the user asks to skip, go directly to the main output.

## Card Anatomy

| Element | Purpose |
|---------|---------|
| **Container** | Border, background, shadow; consistent padding |
| **Image / Thumbnail** | Visual anchor; consistent aspect ratio (1:1, 4:3 common) |
| **Title** | Clear; keyword-rich where relevant |
| **Description / Metadata** | Supporting text; date, author, category |
| **CTA** | Action button or link; "View," "Use," "Connect," etc. |

**Principle**: One card = one topic. Keep each card focused for scannability.

## Card Types by Use Case

| Type | Typical Elements | Page Skill |
|------|------------------|------------|
| **Product card** | Image, name, price, CTA (Add to cart, View) | **products-page-generator** |
| **Template card** | Thumbnail, name, short description, "Use" or "Preview" CTA | **template-page-generator** |
| **Tool card** | Name, one-line benefit, CTA to tool page | **tools-page-generator** |
| **Feature card** | Name, benefit, optional screenshot | **features-page-generator** |
| **Gallery / Showcase item** | Thumbnail, title, creator, link | **showcase-page-generator** |
| **Integration card** | Logo, name, short description, "Connect" or "Install" | **integrations-page-generator** |
| **Blog / Article card** | Cover image, title, excerpt, date, author | **blog-page-generator**, **article-page-generator** |
| **Resource card** | Thumbnail, title, format (guide, webinar), CTA | **resources-page-generator** |

## Layout & Responsiveness

- **Grid**: CSS Grid `repeat(auto-fill, minmax())` or Flexbox; columns adapt to viewport
- **Mobile**: Single column on small screens; 2–4 columns on desktop
- **Consistency**: Same padding, spacing, and aspect ratios across cards
- **Hover**: Subtle elevation (shadow, translate-y); avoid scale that causes layout shift (CLS)

## Design Principles

| Principle | Practice |
|-----------|----------|
| **Visual hierarchy** | Title > description > CTA; clear flow |
| **Scannability** | Minimal text; benefit-led copy |
| **Consistency** | Same structure across all cards in a grid |
| **Action clarity** | One primary CTA per card; avoid choice overload |

## SEO & Schema

- **Cards themselves**: No specific schema; layout is UI
- **Content in cards**: Use appropriate schema for the page (Product, Article, ItemList, etc.); see **schema-markup**
- **Images**: Alt text on thumbnails; see **image-optimization**
- **Links**: Descriptive anchor text; internal linking; see **internal-links**

## Grid vs List vs Masonry vs Carousel

| Layout | Best for | Skill |
|--------|----------|-------|
| **Grid** | Visual content (products, templates, gallery); equal emphasis | **grid** |
| **List** | Text-heavy (blog index, docs); compact; scan by title | **list** |
| **Masonry** | Varying heights; image gallery, portfolio | **masonry** |
| **Carousel** | Limited space; testimonials, logos, featured rotation | **carousel** |

## Related Skills

- **products-page-generator**: Product cards, grid layout, category pages
- **template-page-generator**: Template cards, gallery structure
- **tools-page-generator**: Tool cards, toolkit hub
- **features-page-generator**: Feature grid/list
- **showcase-page-generator**: Gallery grid, per-item format
- **integrations-page-generator**: Catalog grid, integration cards
- **category-page-generator**: Product grid, consistent layout
- **grid**: Grid layout for card display; when to use grid
- **list**: List layout; cards in list format
- **masonry**: Masonry for varying-height cards (gallery)
- **carousel**: Carousel for card slides (testimonials, featured)
- **hero-generator**: Hero vs card—hero is single above-fold; cards are repeated units
- **brand-visual-generator**: Typography, spacing, visual consistency
- **image-optimization**: Card thumbnail optimization, alt text, LCP

More from kostja94/marketing-skills

SkillDescription
404-page-generatorWhen the user wants to create, optimize, or audit 404 error pages. Also use when the user mentions "404 page," "404 error," "error page," "page not found," "broken link page," "404 design," "custom 404," "404 redirect," "404 page UX," or "404 recovery." For sitewide page planning, use website-structure.
about-page-generatorWhen the user wants to create, optimize, or audit About page content. Also use when the user mentions "about page," "about us," "company story," "our team," "about section," "company overview," "brand story," "team page," or "who we are." For sitewide page planning, use website-structure.
affiliate-marketingWhen the user wants to plan, implement, or optimize affiliate marketing strategy. Also use when the user mentions "affiliate marketing," "affiliate program strategy," "CPS model," "affiliate recruitment," "commission structure," "affiliate partners," "affiliate network," "affiliate tracking," "affiliate commission," or "partner marketing." For affiliate page, use affiliate-page-generator.
affiliate-page-generatorWhen the user wants to create, optimize, or audit affiliate program page content. Also use when the user mentions "affiliate program," "affiliate page," "partner program," "referral program page," "affiliate landing," "partner landing," "commission page," or "affiliate signup." For affiliate program strategy, use affiliate-marketing.
ai-traffic-trackingWhen the user wants to track AI search traffic in GA4 or GSC. Also use when the user mentions "AI traffic," "ChatGPT referral," "Perplexity traffic," "AI Overviews," "GA4 AI sources," "AI search analytics," "track AI referrals," "AI search traffic," "Claude traffic," or "how to track AI traffic." For AI SEO strategy, use generative-engine-optimization.
alternatives-page-generatorWhen the user wants to create, optimize, or audit alternatives or comparison content (page or blog article). Also use when the user mentions "alternatives page," "alternatives listicle," "X alternatives," "competitor comparison," "vs page," "compare page," "best alternatives to X," "switch from X," "competitor brand traffic," "brand keyword ads," or "intercept competitor search." For competitor research, use competitor-research.
api-page-generatorWhen the user wants to create, optimize, or audit the API introduction/overview page. Also use when the user mentions "API page," "API landing page," "/api page," "API overview," "developer landing," "API marketing," or "API for developers." Note: API documentation (endpoint reference) lives in docs; use docs-page-generator.
app-adsWhen the user wants to run app install ads, user acquisition (UA), or promote mobile apps. Also use when the user mentions "app ads," "app install ads," "UA," "user acquisition," "Google App Campaigns," "Apple Search Ads," "ASA," "UAC," "App Store ads," "Play Store ads," "CPI," or "app promotion." For store listings, use distribution-channels.
article-contentWhen the user wants to write, generate, or create article body content—blog post body, long-form content, how-to guide, listicle. Also use when the user mentions "write article," "article content," "blog post content," "article body," "long-form content creation," "generate article," "article draft," "how-to guide content," "listicle content," "information gain," or "content density." For single post page structure, schema, and SEO metadata, use article-page-generator. For blog index/listing page, use blog-page-generator. For short ad, landing, or email copy, use copywriting.
backlink-analysisWhen the user wants to analyze backlinks, audit link profile, or identify link issues. Also use when the user mentions "backlink analysis," "backlink audit," "referring domains," "toxic links," "link profile," or "disavow file." For acquisition, use link-building.