frontend-strategy
Strategic website planning skill that conducts structured client discovery, produces professional deliverables (website brief, sitemap, design direction, content strategy), and orchestrates frontend-design, frontend-layout, seo-specialist, and content-marketer agents automatically. TRIGGER WHEN: planning a new website or redesign before any code is written. DO NOT TRIGGER WHEN: the task is outside the specific scope of this component.
What this skill does
# Frontend Strategy
Strategic website planning skill. Bridges the gap between "I need a website" and writing code. Produces professional strategy documents through structured discovery, then orchestrates specialist agents at defined handoff points.
**Positioning:** This skill handles the discovery and strategy phase. Hand off to the `frontend-engineer` agent when ready to build. Use `/frontend:review-design` instead if improving an existing frontend codebase.
---
## Psychology Foundation
Four principles woven into every phase and deliverable. Every recommendation must tie back to at least one.
### 1. Halo Effect - First Impressions Shape Everything
Users form an opinion about a website in ~50 milliseconds. That first impression colors judgment of everything that follows - products, services, company quality. A professional, clean hero section creates a positive halo; clutter or low-quality imagery creates a negative halo that no amount of good content below the fold can overcome.
**Application:**
- Define the "3-second halo moment" for every key landing page
- Hero section is the most important real estate - engineer it deliberately
- Ask: "What is the single feeling a visitor should have in the first 50ms?"
- Reference: Apple (full-screen product shot, single bold headline, minimalist confidence)
### 2. Cognitive Load + Cognitive Fluency - Make It Easy
Brains conserve energy. High cognitive load feels stressful and unprofessional. Cognitive fluency - things that are easy to process - gets interpreted as better, more trustworthy, higher quality. Premium websites are masterclasses in clarity: generous white space, clear visual hierarchy, simple predictable navigation.
**Application:**
- Max 7 primary navigation items (Miller's Law)
- 3-click maximum depth to any content
- Progressive disclosure - show only what's needed at each step
- One primary goal per section, clear visual hierarchy
- White space is not empty space - it's a psychological cue of confidence and exclusivity
- Reference: Hermes/Bottega Veneta (extreme white space = exclusivity), Stripe/Figma (complex products made simple)
### 3. Inclusive Design + Accessibility - Design for Every User
Premium means flawless execution for everyone. Accessible design is not an afterthought - it reduces cognitive load for all users, not just those with disabilities. High contrast, semantic HTML, keyboard navigability, and screen-reader support signal a mature, top-tier brand.
**Application:**
- WCAG AA minimum contrast ratios on all text/background combinations
- Semantic heading hierarchy (h1-h6) and landmark regions for screen readers
- All interactive elements must be keyboard-accessible with visible focus states
- Document focus order and tab sequence in the design direction phase
- Alt text strategy for images - decorative vs informative
- Reference: Gov.uk (world-class accessibility as design quality), Apple (accessibility as premium feature)
### 4. Micro-interactions + Peak-End Rule - Design the Memorable Moments
People remember experiences by their most intense points (peaks) and how they ended, not as an average of every moment. Micro-interactions create small peaks of positive emotion - a satisfying hover state, a smooth scroll transition, a gentle form confirmation. Premium websites feel alive because of these thoughtful details. They signal that the creator cared.
**Application:**
- Every page must end with a strong, intentional moment (CTA, confirmation, delight)
- Identify 3-5 "peak moments" per user journey and design them deliberately
- Confirmation/success pages are positive peaks - never treat them as afterthoughts
- Static and lifeless = cheap. Thoughtful details = premium craftsmanship
- Reference: Apple (scroll animations, menu transitions), any premium SaaS (loading states, onboarding flows)
---
## Phase 0: Client Discovery
Structured interview. Do not proceed until all questions are answered and confirmed.
### Discovery Template
```
CLIENT DISCOVERY
-------------------------------------------
Business: [company name, industry, what they sell/do]
Objective: [primary goal - leads, sales, awareness, portfolio, SaaS signups]
Audience: [who, demographics, tech comfort, device preference]
Competitors: [3-5 competitor URLs]
Tone: [3 adjectives describing desired brand feeling]
Brand assets: [existing brand guidelines, logo, specific colors/fonts, or "none - start fresh"]
UVP: [unique value proposition - biggest competitive advantage]
Existing site: [URL if redesign, "none" if new]
Budget range: [ballpark for scope calibration]
Timeline: [launch target]
Success metrics:[how they'll measure if the site worked]
-------------------------------------------
```
**Hard gate:** Do not proceed to Phase 1 until the user confirms all discovery answers. If answers are vague, push for specifics - especially Audience, Objective, and Success metrics. These drive every decision downstream.
---
## Phase 1: Website Brief
Compile discovery into a professional brief document. Use the `references/website-brief-template.md` template.
Sections:
- Executive summary (2-3 sentences)
- Target audience profile (demographics, goals, pain points, device behavior). For persona-style critique testing during Phase 5 review, consult `plugins/frontend/skills/frontend-css/references/personas.md` (5 archetypes: Alex impatient power user, Jordan confused first-timer, Sam accessibility-dependent, Riley stress tester, Casey distracted mobile)
- Competitor analysis (table: site, strengths, weaknesses, design quality, key takeaway)
- Value proposition (what makes this business different, stated in one sentence)
- Brand personality (3 adjectives from discovery with explanation of each)
- Technical requirements (CMS, e-commerce, integrations, performance targets)
- **Halo Moment Definition** - for the homepage and each key landing page: "In the first 50ms, the visitor should feel [X] because [Y]"
- **Scope calibration** - if budget is low (<5k), favor standard layouts and native UI components; if budget is premium (>20k), push advanced CSS interactions, WebGL, scroll-driven animations, and View Transitions
### HANDOFF: SEO Competitive Analysis
```
HANDOFF
-------------------------------
Brief: [paste the full client discovery, unchanged]
Context: [competitor URLs, industry, target audience]
Ask: Analyze the SEO landscape for these competitors.
Report: domain authority estimates, top-ranking keywords,
content gaps, backlink strategies, and opportunities
for the client to differentiate in search.
-------------------------------
```
Invoke `seo-specialist` agent. Incorporate findings into the competitor analysis section of the brief.
---
## Phase 2: Sitemap + User Flows
Information architecture phase. Use the `references/sitemap-template.md` template.
Sections:
- Page inventory (every page with purpose statement)
- Page hierarchy (tree format showing parent-child relationships)
- Navigation structure (primary nav, footer nav, utility nav)
- User flows (text-arrow notation for key journeys)
- Conversion funnels (entry point -> steps -> conversion)
**Cognitive Load rules:**
- Max 7 primary navigation items
- Max 3-click depth to any content
- Progressive disclosure - complex information revealed in stages
- Every page has one primary purpose and one primary CTA
### HANDOFF SEQUENCE: IA Validation -> Layout Design
**Step 1: frontend-design**
```
HANDOFF
-------------------------------
Brief: [paste the full client discovery, unchanged]
Context: [sitemap, page hierarchy, proposed user flows, conversion funnels]
Ask: Validate this information architecture against the target
audience's mental model. Review user flows for friction
points. Optimize conversion funnels - identify drop-off
risks and suggest improvements. Flag any IA decisions
that increase cognitive lRelated in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".