navigation-modeling
Model navigation for a site or app. Selects pattern, designs primary + secondary + utility + contextual + footer navigation, adapts mobile vs desktop with declared breakpoints, defines state behaviors. Cross-references site-mapping + taxonomy-design.
What this skill does
# Navigation Modeling
You design the navigation system for a site or app — the primary way users move between pages / sections / states. Distinct from `site-mapping` (which is the page inventory / hierarchy) — navigation is how the hierarchy is *exposed*.
## Core rules
- **Pattern fits product**: don't default to a mega-menu if 12 pages; don't default to flat if 200 pages
- **Mobile and desktop treated separately**: neither is a resize of the other
- **State behavior explicit**: active / hover / focus / disabled / current-section breadcrumb
- **Accessibility-first**: landmark roles, keyboard navigation, focus order
- **No fabricated navigation items**: work from supplied page inventory / site-map / content
## Input handling
| Dimension | Required | Default |
|---|---|---|
| **Subject** (site / app) | Yes | — |
| **Content scope** (page count or site-map reference) | Yes | — |
| **Platforms** | No | web + mobile |
| **User segments** | No | Single-segment |
| **Existing navigation pattern** | No | Elicit |
## Phase 1 — Setup
```
**Subject**: [name]
**Content scope**: [page count, or `site-mapping` reference]
**Platforms**: [web-desktop / web-mobile / iOS / Android / desktop-app]
**User segments**: [all / admin / end-user / multi-role]
**Breakpoints**: [asked: mobile / tablet / laptop / desktop]
```
Ask render mode per `diagram-rendering` mixin and output path (default: `/documentation/[case]/navigation-modeling/`).
## Phase 2 — Pattern selection
| Pattern | Use when | Example |
|---|---|---|
| **Hub-and-spoke** | Clear home base; few distinct destinations; user returns to home frequently | Mobile OS home screen, marketing site |
| **Hierarchical** (tree / drill-down) | Content has clear parent-child structure | Docs, knowledge bases, catalogs |
| **Flat** | Small site, ≤ 7 top-level areas, all equal importance | Small marketing sites, simple apps |
| **Faceted** (filter-based) | Large content, multi-dimensional search / filter | E-commerce, job boards, libraries |
| **Sequential / wizard** | Linear process (signup, checkout, onboarding) | Forms, setup flows |
| **Hybrid** | Mix of patterns for different sections | Most real-world products |
Declare pattern + rationale. Hybrid is most common in production products.
## Phase 3 — Navigation areas
Design each area (skip if not applicable):
### Primary navigation
- **Location**: top bar (web) / bottom tabs (mobile app) / hamburger drawer (mobile web) / sidebar (app)
- **Items**: 5–7 max for top bar; 3–5 for bottom tabs
- **Labels**: user language (from `taxonomy-design` if available)
- **Max depth before drill-down**: typically 1 (top-level items are destinations or mega-menu triggers)
### Secondary navigation
- **Location**: sub-nav under primary / sidebar / second tier in mega-menu / contextual
- **Triggered by**: primary selection or current-section context
- **Items**: 5–12 typical
### Utility navigation
- **Location**: top-right corner (web) / profile menu (app)
- **Items**: account, settings, help, notifications, sign-out
- **Persistent**: always available regardless of primary selection
### Contextual navigation
- **Location**: within content (breadcrumbs, in-page tabs, "related", "jump to")
- **Triggered by**: current content
- **Items**: page-specific; computed not curated
### Footer navigation
- **Location**: bottom of page
- **Items**: legal, support, company, locale, sitemap
- **Purpose**: low-frequency but universally expected
### Mobile adaptations
| Element | Desktop | Mobile |
|---|---|---|
| Primary | Top bar | Bottom tabs (app) / hamburger (web) |
| Secondary | Sub-nav / sidebar | Drill-down screens or accordions |
| Utility | Top-right profile | Profile tab / hamburger top |
| Search | Persistent in header | Icon → expands to full screen |
| Contextual | Inline | Bottom sheet or drill-down |
## Phase 4 — Per-item spec
Per primary / secondary / utility item:
| Field | Description |
|---|---|
| **ID** | `N-001` |
| **Label** | User-facing text (from taxonomy if available) |
| **Destination** | Page ID (from `site-mapping`) or URL pattern |
| **Icon** (if used) | Semantic meaning |
| **Position** | Order in nav area |
| **Platform scope** | web / mobile / both |
| **Visibility rules** | always / authenticated / role-specific / feature-flag |
| **Active-state trigger** | URL pattern that marks this item active |
## Phase 5 — State behavior
Per navigation item:
| State | Visual + a11y behavior |
|---|---|
| **Default (rest)** | Visible, clickable |
| **Hover** | Visual change; no action |
| **Focus** | Focus ring visible |
| **Active** (current) | Current-section indicator; `aria-current="page"` or `"true"` |
| **Disabled** | Grayed; non-clickable; `aria-disabled` |
| **Loading** (submenus) | Loading indicator where async |
For dropdown / mega-menu:
- Trigger (hover / click / both)
- Open direction
- Close behavior (click-outside / Escape / mouse-leave with grace)
- Keyboard support (Arrow keys to navigate items, Tab to next trigger)
## Phase 6 — Accessibility
| Requirement | How |
|---|---|
| Landmark roles | `<nav aria-label="Primary">`, `<nav aria-label="Footer">` (multiple navs need unique labels) |
| Skip links | Present for keyboard users to bypass primary nav |
| Current page | `aria-current="page"` on active item |
| Keyboard order | Logical tab sequence; sub-nav reachable via keyboard |
| Screen reader announcements | Menu open / close states announced via `aria-expanded` |
| Target size | ≥ 24×24 CSS px (WCAG 2.2) |
| Contrast | ≥ 4.5:1 for text, ≥ 3:1 for focus indicators |
## Phase 7 — Wayfinding signals
Beyond navigation items, how does user know where they are?
- **Breadcrumbs** — for hierarchical > 2 levels deep
- **Active-state indicator** — visual emphasis on current item
- **Page title** (H1) matching nav label — reinforces
- **URL** — reflects hierarchy where possible (see `site-mapping` URL conventions)
- **Progress indicator** — for sequential flows
## Phase 8 — Transitions & persistence
- **Scroll behavior** — sticky primary? collapsing header? always-visible?
- **Session persistence** — remember last-visited sub-nav state?
- **Cross-device** — sync active section on mobile ↔ desktop?
- **Animation** — none (default) / subtle / none-preferred (respect `prefers-reduced-motion`)
## Phase 9 — Diagrams
### 1. Navigation system overview
```mermaid
flowchart TB
subgraph Top["Primary (top bar)"]
P1[Home]
P2[Products]
P3[Solutions]
P4[Support]
end
subgraph Utility["Utility (top-right)"]
U1[Account]
U2[Cart]
U3[Search]
end
subgraph Footer["Footer"]
F1[Legal]
F2[Support]
F3[Company]
end
```
### 2. Primary nav item pattern
Mermaid flowchart showing hover / dropdown / mega-menu behavior.
### 3. Mobile adaptation
Side-by-side comparison of desktop vs mobile primary nav (flowchart with two columns).
## Phase 10 — Diagram rendering
Per `diagram-rendering` mixin. File names:
- `nav-system.mmd` / `.png`
- `nav-state-behavior.mmd` / `.png`
- `mobile-vs-desktop.mmd` / `.png`
## Phase 11 — Report assembly and approval
```markdown
# Navigation Model: [Subject]
**Date**: [date]
**Subject**: [name]
**Pattern**: [chosen + rationale]
**Platforms**: [list]
## Scope
[Subject, content scope, platforms, segments, breakpoints]
## Pattern Selection
[Rationale]
## Navigation Areas
[Primary / Secondary / Utility / Contextual / Footer — full specs]
## Per-item Specification
[Table: ID / label / destination / position / visibility / active-state]
## State Behavior
[Default / hover / focus / active / disabled / loading per item type]
## Mobile Adaptation
[Desktop vs mobile per area + breakpoint behavior]
## Accessibility
[Landmark roles / skip / aria-current / keyboard / contrast / target]
## Wayfinding Signals
[Breadcrumbs / active state / title / URL / progress]
## Transitions & Persistence
[Scroll / session / cross-device / animation]
## Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.