404-page-generator

$npx mdskill add kostja94/marketing-skills/404-page-generator

Designs or audits 404 error pages for UX and conversion recovery.

  • Users need to create or improve custom 404 pages to retain visitors.
  • Reads project context files for brand voice and visual identity.
  • Assesses site structure, brand tone, and conversion goals to tailor recommendations.
  • Outputs best practices for error messaging, navigation, and redirection.

SKILL.md

.github/skills/404-page-generatorView on GitHub ↗
---
name: 404-page-generator
description: When 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.
metadata:
  version: 1.0.1
---

# Pages: 404 Error Page

Guides 404 error page design for UX, conversion recovery, and brand consistency.

**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.

## Initial Assessment

**Check for project context first:** If `.claude/project-context.md` or `.cursor/project-context.md` exists, read it for brand voice, key pages, and Section 12 (Visual Identity).

Identify:
1. **Site structure**: Key pages to link (homepage, popular pages, search)
2. **Brand tone**: Friendly, professional, playful
3. **Conversion goal**: Recover lost visitors, drive to key pages

## Best Practices

### Clear Error Messaging

- **User-friendly**: Neutral message explaining the page wasn't found
- **Optional 404 display**: Can show "404" but avoid blaming the user
- **Empathetic tone**: Acknowledge the error gracefully; turn frustration into opportunity

### Navigation and Redirection

| Element | Purpose |
|---------|---------|
| **Site navigation** | Header/footer so users know they're still on your site |
| **Search** | Help users find what they need |
| **Popular pages** | Links to homepage, features, pricing, blog |
| **Similar URLs** | Suggest corrections for common typos |
| **Avoid auto-redirect** | Unless confident of user intent |

### Design and Branding

- **Consistent design**: Same header, footer, colors as rest of site (brand-visual-generator)
- **Avoid confusion**: Users should not think they've left your domain
- **Mobile responsive**: Test on all devices

### Conversion Opportunities

404 pages can drive conversions by:
- Showcasing popular products or features
- Featuring testimonials or social proof
- Offering special promotions or value
- Linking to mobile app or newsletter

### Technical

- **Track 404s**: Monitor broken links, fix or redirect
- **Accessibility**: Maintain WCAG standards
- **HTTP status**: Ensure proper 404 response code

## Output Format

- **Copy** options (headline, message, CTA)
- **Link structure** (what to include)
- **Design** checklist
- **SEO**: Typically noindex; ensure canonical if needed

## Related Skills

- **homepage-generator**: Primary escape route
- **brand-visual-generator**: Typography, colors for consistent 404 design
- **indexing**: noindex for 404 if desired
- **title-tag, meta-description, page-metadata**: 404 page metadata

More from kostja94/marketing-skills

SkillDescription
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.
blog-page-generatorWhen the user wants to create, optimize, or audit blog index or listing page structure (not a single post). Also use when the user mentions "blog page," "blog index," "blog layout," "content hub," "blog homepage," "blog listing," "subdomain vs subdirectory," "blog structure," or "blog SEO." For single post page SEO and schema, use article-page-generator.