
Design system generator and enforcer. Generates a complete, project-aware design foundation from a single brand color and project type. Produces color palettes, semantic tokens, mathematical type scales, spacing scales, shadow systems, and border radii. Every command operates on YOUR generated system, not generic rules. Use when building any frontend UI to ensure consistent, intentional design decisions from the first line of code.
Audit visual density and whitespace balance. Checks that spacing from your system creates appropriate rhythm between sections.
Full accessibility audit using your design system's color tokens. Checks contrast, focus styles, semantic HTML, touch targets, and motion safety.
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
Audit elevation consistency. Checks that shadow usage follows a logical hierarchy — cards < dropdowns < modals.
Export your design system in Figma Tokens format. Ready to import into Figma via the Tokens Studio plugin.
Export your design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and radii.
Auto-fix design system violations. Replaces raw hex values with token references, snaps spacing to the scale, and normalizes font usage.
Add a complementary or analogous accent color to your system. Computes the harmonically ideal secondary color from your brand.
Add error states, loading states, i18n safety, and edge case handling using your design system's tokens.
Side-by-side comparison of two versions. Shows score changes per category, what improved, what regressed.
Check all motion declarations for purpose, performance, and accessibility. Flags decorative jitter, layout-animating properties, and missing reduced-motion fallbacks.
Map all layout patterns. Identify grid/flexbox usage, spacing patterns, nesting depth, and responsive breakpoints across the codebase.
Run a full 0-100 OPTIK design quality analysis on the current interface or component. Produces category scores for Typography, Color, Layout, Motion, and Accessibility with specific issue callouts and fix suggestions.
Run a full 0-100 OPTIK design quality analysis on the current interface or component. Produces category scores for Typography, Color, Layout, Motion, and Accessibility with specific issue callouts and fix suggestions.
Add prefers-reduced-motion support. Wraps existing animations in a media query and provides static fallbacks.
Add a complementary or analogous accent color to your system. Computes the harmonically ideal secondary color from your brand.
Generate a complete design system from a brand color and project type. Creates .forge.json with palette, tokens, type scale, spacing, shadows, and radii. This is the starting command — everything else references what it generates.
Align text spacing to a vertical rhythm baseline. Ensures headings, paragraphs, and other elements maintain consistent vertical flow.
Get contextual font pairing recommendations based on your project type. Never suggests banned fonts.
Generate a dark mode variant of your design system. Creates dark-mode token overrides that preserve contrast ratios from the light theme.
Full accessibility audit covering focus management, semantic HTML, ARIA attributes, color contrast, touch targets, screen reader experience, and motion safety.
Full accessibility audit covering focus management, semantic HTML, ARIA attributes, color contrast, touch targets, screen reader experience, and motion safety.
Auto-fix detectable accessibility issues. Adds focus styles, semantic HTML, ARIA attributes, and touch target sizing.
Audit and fix ARIA attributes. Ensures proper aria-label, aria-hidden, aria-live, and role usage throughout the interface.
--- name: animate description: Add purposeful motion and transitions to the interface. Focuses on high-impact moments: page load reveals, hover states, and scroll-triggered entries. Not decorative jitter. user-invokable: true --- # /animate — Purposeful Motion Add motion that serves a purpose: **Page load:** Staggered fade-up reveals for above-fold content. Use animation-delay in 80-120ms increments. Total reveal sequence should complete within 600ms. **Hover states:** Scale (1.02-1.05), sub
Audit and fix ARIA attributes. Ensures proper aria-label, aria-hidden, aria-live, and role usage throughout the interface.
Comprehensive design quality audit with severity ratings, specific line references, and actionable fix instructions. Deeper than /score — examines every declaration.
Comprehensive design quality audit with severity ratings, specific line references, and actionable fix instructions. Deeper than /score — examines every declaration.
Verify the design meets a specific OPTIK score threshold. Returns pass/fail with score breakdown. Use in CI/CD pipelines.
Map all colors in the codebase. Find duplicates, near-duplicates, one-off values, and colors not in the token system.
Ensure the full color palette passes WCAG contrast at every text size. Tests every foreground/background combination.
Side-by-side comparison of two versions. Shows score changes per category, what improved, what regressed.
Verify component consistency. Same component type should use same spacing, typography, and color patterns everywhere.
Check WCAG contrast ratios between any two colors. Reports AA/AAA compliance for normal text, large text, and UI components.
Check WCAG contrast ratios between any two colors. Reports AA/AAA compliance for normal text, large text, and UI components.
UX-focused design review examining visual hierarchy, information architecture, emotional resonance, and user flow. Goes beyond code quality into design effectiveness.
Generate dark mode color variant that preserves contrast ratios and visual hierarchy from the light theme. Not just color inversion — proper dark surface design.
Strip a design to its essential form. Remove every element, decoration, and effect that doesn't earn its place. Reduce without losing meaning.
Design system generator and enforcer. Generates a complete, project-aware design foundation from a single brand color and project type. Produces color palettes, semantic tokens, mathematical type scales, spacing scales, shadow systems, and border radii. Every command operates on YOUR generated system, not generic rules. Use when building any frontend UI to ensure consistent, intentional design decisions from the first line of code.
Add memorable moments of joy. Micro-interactions, easter eggs, personality in copy, unexpected animations. Use sparingly for maximum impact.
Export the current design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and custom screens.
Export the current design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and custom screens.
Pull reusable patterns from the codebase into a design system. Identifies shared tokens, repeated components, and common patterns.
Generate a complete focus ring system. Creates consistent, visible :focus-visible styles that match the design aesthetic while meeting accessibility requirements.
Pull reusable patterns from the codebase into a design system. Identifies shared tokens, repeated components, and common patterns.
Full accessibility audit using your design system's color tokens. Checks contrast, focus styles, semantic HTML, touch targets, and motion safety.
Check the current codebase against your .forge.json design system. Finds raw hex values that should be tokens, spacing off your scale, fonts not in your system, and missing token references.
Amplify the design within your system's range. Use stronger palette shades, higher type scale steps, and more dramatic shadows.
Amplify the design within your system's range. Use stronger palette shades, higher type scale steps, and more dramatic shadows.
Amplify the design within your system's range. Use stronger palette shades, higher type scale steps, and more dramatic shadows.
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
Generate a dark mode variant of your design system. Creates dark-mode token overrides that preserve contrast ratios from the light theme.
Generate a dark mode variant of your design system. Creates dark-mode token overrides that preserve contrast ratios from the light theme.
Audit visual density and whitespace balance. Checks that spacing from your system creates appropriate rhythm between sections.
Audit visual density and whitespace balance. Checks that spacing from your system creates appropriate rhythm between sections.
Audit visual density and whitespace balance. Checks that spacing from your system creates appropriate rhythm between sections.
Design system generator and enforcer. Generates a complete, project-aware design foundation from a single brand color and project type. Produces color palettes, semantic tokens, mathematical type scales, spacing scales, shadow systems, and border radii. Every command operates on YOUR generated system, not generic rules. Use when building any frontend UI to ensure consistent, intentional design decisions from the first line of code.
Show the difference between your .forge.json design system and what's actually in the code. Lists every value that drifts from the system.
Audit elevation consistency. Checks that shadow usage follows a logical hierarchy — cards < dropdowns < modals.
Audit elevation consistency. Checks that shadow usage follows a logical hierarchy — cards < dropdowns < modals.
Export your complete design system as CSS custom properties. Includes palette, tokens, type scale, spacing, shadows, and radii in a single :root block.
Show the difference between your .forge.json design system and what's actually in the code. Lists every value that drifts from the system.
Audit elevation consistency. Checks that shadow usage follows a logical hierarchy — cards < dropdowns < modals.
Snap all spacing values in the codebase to your system's grid. Replaces arbitrary padding, margin, and gap values.
Snap all spacing values in the codebase to your system's grid. Replaces arbitrary padding, margin, and gap values.
Export your design system as SCSS variables and mixins. Includes palette map, type scale mixin, spacing function, and breakpoint mixin.
Export your design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and radii.
Export your complete design system as CSS custom properties. Includes palette, tokens, type scale, spacing, shadows, and radii in a single :root block.
Export your design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and token management tools.
Export your design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and token management tools.
Export your design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and radii.
Auto-fix design system violations. Replaces raw hex values with token references, snaps spacing to the scale, and normalizes font usage.
Generate a focus ring system using your system's accent color. Creates consistent :focus-visible styles for all interactive elements.
Generate a focus ring system using your system's accent color. Creates consistent :focus-visible styles for all interactive elements.
Generate a focus ring system using your system's accent color. Creates consistent :focus-visible styles for all interactive elements.
Snap all spacing values in the codebase to your system's grid. Replaces arbitrary padding, margin, and gap values.
Add error states, loading states, i18n safety, and edge case handling using your design system's tokens.
Add error states, loading states, i18n safety, and edge case handling using your design system's tokens.
Add error states, loading states, i18n safety, and edge case handling using your design system's tokens.
Add a complementary or analogous accent color to your system. Computes the harmonically ideal secondary color from your brand.
Generate a complete design system from a brand color and project type. Creates .forge.json with palette, tokens, type scale, spacing, shadows, and radii. This is the starting command — everything else references what it generates.
Generate a complete design system from a brand color and project type. Creates .forge.json with palette, tokens, type scale, spacing, shadows, and radii. This is the starting command — everything else references what it generates.
--- name: forge-measure description: Check line lengths across the interface. Optimal: 45-75 characters per line. Flags containers that are too wide or too narrow for their font size. user-invokable: true --- # /forge-measure — Line Measure Check Calculate line measure for text containers: container-width / (font-size × 0.5) ≈ characters per line Flag: - Over 75 chars: add max-width constraint - Under 45 chars: container may be too narrow Suggest max-width values to achieve optimal measure.
--- name: forge-measure description: Check line lengths across the interface. Optimal: 45-75 characters per line. Flags containers that are too wide or too narrow for their font size. user-invokable: true --- # /forge-measure — Line Measure Check Calculate line measure for text containers: container-width / (font-size × 0.5) ≈ characters per line Flag: - Over 75 chars: add max-width constraint - Under 45 chars: container may be too narrow Suggest max-width values to achieve optimal measure.
Align every value in the codebase to the nearest system token. The nuclear option for system compliance.
Align every value in the codebase to the nearest system token. The nuclear option for system compliance.
Align every value in the codebase to the nearest system token. The nuclear option for system compliance.
Align every value in the codebase to the nearest system token. The nuclear option for system compliance.
Get contextual font pairing recommendations based on your project type. Never suggests banned fonts.
Regenerate the 50-950 shade palette from the current brand color in .forge.json. Updates the palette section without changing other parts of the system.
Regenerate the 50-950 shade palette from the current brand color in .forge.json. Updates the palette section without changing other parts of the system.
Final quality pass checking every value against your design system. The last command before shipping.
Tone down the design within your system's range. Use subtler shades, smaller type differences, and softer shadows.
Regenerate the border radius scale based on project type. SaaS gets moderate, portfolio gets soft, e-commerce gets tight.
Regenerate the border radius scale based on project type. SaaS gets moderate, portfolio gets soft, e-commerce gets tight.
Regenerate the border radius scale based on project type. SaaS gets moderate, portfolio gets soft, e-commerce gets tight.
Check responsive behavior using your system's spacing scale. Verifies that spacing reduces proportionally at smaller breakpoints.
Enforce vertical rhythm using your system's baseline grid. Ensures heading margins, paragraph spacing, and section padding are multiples of the baseline.
Enforce vertical rhythm using your system's baseline grid. Ensures heading margins, paragraph spacing, and section padding are multiples of the baseline.
Enforce vertical rhythm using your system's baseline grid. Ensures heading margins, paragraph spacing, and section padding are multiples of the baseline.
Score how well the codebase adheres to your design system. 0-100, where 100 means every value references a token and every pattern follows the system.
Score how well the codebase adheres to your design system. 0-100, where 100 means every value references a token and every pattern follows the system.
Rebuild the semantic token mapping from your palette. Maps surface, text, border, accent, and feedback tokens to specific palette shades based on project type.
Regenerate the shadow elevation system tinted with your brand hue. Produces 5 levels from sm to 2xl.
Regenerate the shadow elevation system tinted with your brand hue. Produces 5 levels from sm to 2xl.
Regenerate the spacing scale from your system's base unit. Outputs 13 steps from 4px to 128px.
Find every spacing value in the codebase that doesn't match your scale. Lists violations by file and line.
Regenerate the spacing scale from your system's base unit. Outputs 13 steps from 4px to 128px.
Check background color hierarchy. Verifies that surfaces, cards, and modals use the correct token from your system.
Check background color hierarchy. Verifies that surfaces, cards, and modals use the correct token from your system.
Check background color hierarchy. Verifies that surfaces, cards, and modals use the correct token from your system.
Verify all interactive elements meet 44×44px minimum touch target size. Suggests padding increases using your spacing scale.
Verify all interactive elements meet 44×44px minimum touch target size. Suggests padding increases using your spacing scale.
Verify all interactive elements meet 44×44px minimum touch target size. Suggests padding increases using your spacing scale.
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
Improve interface resilience. Add error handling, i18n support, text overflow handling, and edge case management.
Fix palette coherence issues. Ensures all colors in the palette work together harmonically (complementary, analogous, triadic, or split-complementary).
Fix palette coherence issues. Ensures all colors in the palette work together harmonically (complementary, analogous, triadic, or split-complementary).
Auto-fix layout issues. Snaps off-grid spacing, adds missing max-width constraints, and normalizes gap usage.
Auto-fix layout issues. Snaps off-grid spacing, adds missing max-width constraints, and normalizes gap usage.
Check all motion declarations for purpose, performance, and accessibility. Flags decorative jitter, layout-animating properties, and missing reduced-motion fallbacks.
Design intelligence engine for frontend interfaces. Measures and enforces design quality through scoring algorithms, mathematical scales, and anti-pattern detection. Goes beyond subjective prompting with computable metrics across typography, color, layout, motion, and accessibility. Use when building any frontend UI to ensure output avoids generic AI aesthetics and hits measurable quality thresholds.
Final quality pass before shipping. Checks alignment, spacing consistency, hover states, focus styles, loading states, edge cases, and overall refinement.
Tone down overly aggressive designs. Reduce contrast, soften colors, decrease animation intensity, and restore breathing room without losing character.
Add prefers-reduced-motion support. Wraps existing animations in a media query and provides static fallbacks.
Generate a shareable OPTIK score card. Produces an SVG/image showing score, category breakdowns, and grade.
Check responsive behavior at key breakpoints. Verifies layout doesn't break, text remains readable, touch targets meet minimum sizes, and spacing scales appropriately.
Enforce vertical spacing rhythm. Ensures consistent vertical flow using a baseline grid approach.
Generate a complete spacing scale from a base unit. Outputs CSS custom properties and shows recommended usage for each step.
Verify all interactive elements meet 44x44px minimum touch target size. Suggests fixes for undersized targets.
Audit and improve CSS transition declarations. Replace generic easing with intentional curves. Ensure consistent durations.
Recommend font pairings based on the project context. Pairs a distinctive display font with a complementary body font. Never suggests banned fonts.
Align text spacing to a vertical rhythm baseline. Ensures headings, paragraphs, and other elements maintain consistent vertical flow.
Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.
Export your complete design system as CSS custom properties. Includes palette, tokens, type scale, spacing, shadows, and radii in a single :root block.
--- name: forge-measure description: Check line lengths across the interface. Optimal: 45-75 characters per line. Flags containers that are too wide or too narrow for their font size. user-invokable: true --- # /forge-measure — Line Measure Check Calculate line measure for text containers: container-width / (font-size × 0.5) ≈ characters per line Flag: - Over 75 chars: add max-width constraint - Under 45 chars: container may be too narrow Suggest max-width values to achieve optimal measure.
Regenerate the spacing scale from your system's base unit. Outputs 13 steps from 4px to 128px.
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
Check background color hierarchy. Verifies that surfaces, cards, and modals use the correct token from your system.
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
Verify visual alignment across sections. Check that headings, text, images, and components share consistent alignment points.
Comprehensive design quality audit with severity ratings, specific line references, and actionable fix instructions. Deeper than /score — examines every declaration.
Ensure the full color palette passes WCAG contrast at every text size. Tests every foreground/background combination.
Auto-fix color issues. Replace failing contrast pairs, consolidate near-duplicates, and add missing CSS custom properties.
Check WCAG contrast ratios between any two colors. Reports AA/AAA compliance for normal text, large text, and UI components.
Audit visual density and whitespace balance. Checks that sections alternate between sparse and dense, avoiding uniform monotony.
Export the current design system as CSS custom properties. Includes color, typography, spacing, shadows, and radii tokens.
Export the current design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and other token management tools.
Generate a complete focus ring system. Creates consistent, visible :focus-visible styles that match the design aesthetic while meeting accessibility requirements.
Apply 8px grid system with automatic snap correction. Finds all spacing values not aligned to the grid and snaps them to the nearest valid value.
Align an interface to its design system standards. Replace one-off values with tokens. Ensure every element uses the system.
Push past conventional limits with technically ambitious effects. WebGL shaders, spring physics, GPU-accelerated particle systems, scroll-driven 3D transforms. Use sparingly for maximum impact.
Check responsive behavior at key breakpoints. Verifies layout doesn't break, text remains readable, touch targets meet minimum sizes, and spacing scales appropriately.
Test the screen reader experience. Simulate how a screen reader would traverse the page and identify issues with reading order, landmarks, and announcements.
Add scroll-triggered reveals and parallax effects. Uses IntersectionObserver for reveals and CSS scroll-driven animations for parallax.
Map all layout patterns. Identify grid/flexbox usage, spacing patterns, nesting depth, and responsive breakpoints across the codebase.
Generate a complete semantic color token set from a brand palette. Produces surface, text, border, accent, feedback, and interactive state tokens.
Generate a complete design token set. Covers color, typography, spacing, shadows, radii, and breakpoints. Exports as CSS custom properties, Tailwind config, SCSS variables, and W3C Design Tokens JSON.
Track OPTIK score across iterations. Shows improvement over time with category-level delta tracking.
Enforce proper heading and body text hierarchy. Verify h1 > h2 > h3 progression, size ratios, and weight differentiation.
Apply a complete typography system in one command. Sets type scale, font pairings, line heights, letter spacing, and hierarchy simultaneously.
Auto-fix detectable accessibility issues. Adds focus styles, semantic HTML, ARIA attributes, and touch target sizing.
Verify the design meets a specific OPTIK score threshold. Returns pass/fail with score breakdown. Use in CI/CD pipelines.
Map all colors in the codebase. Find duplicates, near-duplicates, one-off values, and colors not in the token system.
Auto-fix color issues. Replace failing contrast pairs, consolidate near-duplicates, and add missing CSS custom properties.
UX-focused design review examining visual hierarchy, information architecture, emotional resonance, and user flow. Goes beyond code quality into design effectiveness.
Verify component consistency. Same component type should use same spacing, typography, and color patterns everywhere.
Generate dark mode color variant that preserves contrast ratios and visual hierarchy from the light theme. Not just color inversion — proper dark surface design.
Audit visual density and whitespace balance. Checks that sections alternate between sparse and dense, avoiding uniform monotony.
Strip a design to its essential form. Remove every element, decoration, and effect that doesn't earn its place. Reduce without losing meaning.
Fix palette coherence issues. Ensures all colors in the palette work together harmonically (complementary, analogous, triadic, or split-complementary).
Generate a complete focus ring system. Creates consistent, visible :focus-visible styles that match the design aesthetic while meeting accessibility requirements.
Align an interface to its design system standards. Replace one-off values with tokens. Ensure every element uses the system.
Push past conventional limits with technically ambitious effects. WebGL shaders, spring physics, GPU-accelerated particle systems, scroll-driven 3D transforms. Use sparingly for maximum impact.
Generate a complete 50-950 shade palette from a single hex color. Outputs 11 perceptually uniform shades with CSS variables, Tailwind config, and design token formats.
Generate a shareable OPTIK score card. Produces an SVG/image showing score, category breakdowns, and grade.
Enforce vertical spacing rhythm. Ensures consistent vertical flow using a baseline grid approach.
Generate a complete semantic color token set from a brand palette. Produces surface, text, border, accent, feedback, and interactive state tokens.
Test the screen reader experience. Simulate how a screen reader would traverse the page and identify issues with reading order, landmarks, and announcements.
Audit and improve CSS transition declarations. Replace generic easing with intentional curves. Ensure consistent durations.
Generate a complete design token set. Covers color, typography, spacing, shadows, radii, and breakpoints. Exports as CSS custom properties, Tailwind config, SCSS variables, and W3C Design Tokens JSON.
Check line lengths (measure) across the interface. Optimal reading length is 45-75 characters per line.
Apply a complete typography system in one command. Sets type scale, font pairings, line heights, letter spacing, and hierarchy simultaneously.
--- name: animate provider: codex description: Add purposeful motion and transitions to the interface. Focuses on high-impact moments: page load reveals, hover states, and scroll-triggered entries. Not decorative jitter. user-invokable: true --- # /animate — Purposeful Motion Add motion that serves a purpose: **Page load:** Staggered fade-up reveals for above-fold content. Use animation-delay in 80-120ms increments. Total reveal sequence should complete within 600ms. **Hover states:** Scale
Verify component consistency. Same component type should use same spacing, typography, and color patterns everywhere.
Add memorable moments of joy. Micro-interactions, easter eggs, personality in copy, unexpected animations. Use sparingly for maximum impact.
Audit visual density and whitespace balance. Checks that sections alternate between sparse and dense, avoiding uniform monotony.
Export the current design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and custom screens.
Apply 8px grid system with automatic snap correction. Finds all spacing values not aligned to the grid and snaps them to the nearest valid value.
Align an interface to its design system standards. Replace one-off values with tokens. Ensure every element uses the system.
Push past conventional limits with technically ambitious effects. WebGL shaders, spring physics, GPU-accelerated particle systems, scroll-driven 3D transforms. Use sparingly for maximum impact.
Generate a complete 50-950 shade palette from a single hex color. Outputs 11 perceptually uniform shades with CSS variables, Tailwind config, and design token formats.
Final quality pass before shipping. Checks alignment, spacing consistency, hover states, focus styles, loading states, edge cases, and overall refinement.
Check responsive behavior at key breakpoints. Verifies layout doesn't break, text remains readable, touch targets meet minimum sizes, and spacing scales appropriately.
Enforce vertical spacing rhythm. Ensures consistent vertical flow using a baseline grid approach.
Run a full 0-100 OPTIK design quality analysis on the current interface or component. Produces category scores for Typography, Color, Layout, Motion, and Accessibility with specific issue callouts and fix suggestions.
Test the screen reader experience. Simulate how a screen reader would traverse the page and identify issues with reading order, landmarks, and announcements.
Add scroll-triggered reveals and parallax effects. Uses IntersectionObserver for reveals and CSS scroll-driven animations for parallax.
Generate a complete semantic color token set from a brand palette. Produces surface, text, border, accent, feedback, and interactive state tokens.
Generate a complete spacing scale from a base unit. Outputs CSS custom properties and shows recommended usage for each step.
Generate a complete design token set. Covers color, typography, spacing, shadows, radii, and breakpoints. Exports as CSS custom properties, Tailwind config, SCSS variables, and W3C Design Tokens JSON.
Track OPTIK score across iterations. Shows improvement over time with category-level delta tracking.
Verify all interactive elements meet 44x44px minimum touch target size. Suggests fixes for undersized targets.
Check line lengths (measure) across the interface. Optimal reading length is 45-75 characters per line.
Align text spacing to a vertical rhythm baseline. Ensures headings, paragraphs, and other elements maintain consistent vertical flow.
Full accessibility audit covering focus management, semantic HTML, ARIA attributes, color contrast, touch targets, screen reader experience, and motion safety.
Auto-fix detectable accessibility issues. Adds focus styles, semantic HTML, ARIA attributes, and touch target sizing.
Apply a complete typography system in one command. Sets type scale, font pairings, line heights, letter spacing, and hierarchy simultaneously.
Verify visual alignment across sections. Check that headings, text, images, and components share consistent alignment points.
--- name: animate description: Add purposeful motion and transitions to the interface. Focuses on high-impact moments: page load reveals, hover states, and scroll-triggered entries. Not decorative jitter. user-invokable: true --- # /animate — Purposeful Motion Add motion that serves a purpose: **Page load:** Staggered fade-up reveals for above-fold content. Use animation-delay in 80-120ms increments. Total reveal sequence should complete within 600ms. **Hover states:** Scale (1.02-1.05), sub
Audit and fix ARIA attributes. Ensures proper aria-label, aria-hidden, aria-live, and role usage throughout the interface.
Verify the design meets a specific OPTIK score threshold. Returns pass/fail with score breakdown. Use in CI/CD pipelines.
Ensure the full color palette passes WCAG contrast at every text size. Tests every foreground/background combination.
Map all colors in the codebase. Find duplicates, near-duplicates, one-off values, and colors not in the token system.
Auto-fix color issues. Replace failing contrast pairs, consolidate near-duplicates, and add missing CSS custom properties.
Verify component consistency. Same component type should use same spacing, typography, and color patterns everywhere.
Check WCAG contrast ratios between any two colors. Reports AA/AAA compliance for normal text, large text, and UI components.
Audit visual density and whitespace balance. Checks that sections alternate between sparse and dense, avoiding uniform monotony.
Export the current design system as CSS custom properties. Includes color, typography, spacing, shadows, and radii tokens.
Apply 8px grid system with automatic snap correction. Finds all spacing values not aligned to the grid and snaps them to the nearest valid value.
Pull reusable patterns from the codebase into a design system. Identifies shared tokens, repeated components, and common patterns.
Push past conventional limits with technically ambitious effects. WebGL shaders, spring physics, GPU-accelerated particle systems, scroll-driven 3D transforms. Use sparingly for maximum impact.
Final quality pass before shipping. Checks alignment, spacing consistency, hover states, focus styles, loading states, edge cases, and overall refinement.
Check responsive behavior at key breakpoints. Verifies layout doesn't break, text remains readable, touch targets meet minimum sizes, and spacing scales appropriately.
Test the screen reader experience. Simulate how a screen reader would traverse the page and identify issues with reading order, landmarks, and announcements.
Generate a complete semantic color token set from a brand palette. Produces surface, text, border, accent, feedback, and interactive state tokens.
Audit and improve CSS transition declarations. Replace generic easing with intentional curves. Ensure consistent durations.
Generate a complete design token set. Covers color, typography, spacing, shadows, radii, and breakpoints. Exports as CSS custom properties, Tailwind config, SCSS variables, and W3C Design Tokens JSON.
Auto-fix typography issues found by /type-audit. Replaces banned fonts, normalizes type scale, adds missing line-height and letter-spacing declarations.
Enforce proper heading and body text hierarchy. Verify h1 > h2 > h3 progression, size ratios, and weight differentiation.
Verify visual alignment across sections. Check that headings, text, images, and components share consistent alignment points.
Regenerate the 50-950 shade palette from the current brand color in .forge.json. Updates the palette section without changing other parts of the system.
Add scroll-triggered reveals and parallax effects. Uses IntersectionObserver for reveals and CSS scroll-driven animations for parallax.
Check for design system drift. Finds tokens that are defined but unused, used values that aren't in tokens, and inconsistencies between token definition and usage.
Generate a dark mode variant of your design system. Creates dark-mode token overrides that preserve contrast ratios from the light theme.
Pull reusable patterns from the codebase into a design system. Identifies shared tokens, repeated components, and common patterns.
Compare the current design against quality baselines. Shows where the design ranks relative to typical AI output, typical professional output, and exceptional output.
Compare the current design against quality baselines. Shows where the design ranks relative to typical AI output, typical professional output, and exceptional output.
Compare the current design against quality baselines. Shows where the design ranks relative to typical AI output, typical professional output, and exceptional output.
Amplify safe, boring designs. Increase contrast, enlarge key elements, add motion, intensify color, and push the aesthetic direction further.
Amplify safe, boring designs. Increase contrast, enlarge key elements, add motion, intensify color, and push the aesthetic direction further.
Generate dark mode color variant that preserves contrast ratios and visual hierarchy from the light theme. Not just color inversion — proper dark surface design.
Generate dark mode color variant that preserves contrast ratios and visual hierarchy from the light theme. Not just color inversion — proper dark surface design.
Add memorable moments of joy. Micro-interactions, easter eggs, personality in copy, unexpected animations. Use sparingly for maximum impact.
Generate a complete 50-950 shade palette from a single hex color. Outputs 11 perceptually uniform shades with CSS variables, Tailwind config, and design token formats.
Generate a complete 50-950 shade palette from a single hex color. Outputs 11 perceptually uniform shades with CSS variables, Tailwind config, and design token formats.
Tone down overly aggressive designs. Reduce contrast, soften colors, decrease animation intensity, and restore breathing room without losing character.
Tone down overly aggressive designs. Reduce contrast, soften colors, decrease animation intensity, and restore breathing room without losing character.
Improve interface resilience. Add error handling, i18n support, text overflow handling, and edge case management.
Check the current codebase against your .forge.json design system. Finds raw hex values that should be tokens, spacing off your scale, fonts not in your system, and missing token references.
Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.
Generate a dark mode variant of your design system. Creates dark-mode token overrides that preserve contrast ratios from the light theme.
Audit visual density and whitespace balance. Checks that spacing from your system creates appropriate rhythm between sections.
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
Design system generator and enforcer. Generates a complete, project-aware design foundation from a single brand color and project type. Produces color palettes, semantic tokens, mathematical type scales, spacing scales, shadow systems, and border radii. Every command operates on YOUR generated system, not generic rules. Use when building any frontend UI to ensure consistent, intentional design decisions from the first line of code.
Audit elevation consistency. Checks that shadow usage follows a logical hierarchy — cards < dropdowns < modals.
Export your design system as SCSS variables and mixins. Includes palette map, type scale mixin, spacing function, and breakpoint mixin.
Export your design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and token management tools.
Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.
Export your design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and radii.
Export your complete design system as CSS custom properties. Includes palette, tokens, type scale, spacing, shadows, and radii in a single :root block.
Snap all spacing values in the codebase to your system's grid. Replaces arbitrary padding, margin, and gap values.
Add a complementary or analogous accent color to your system. Computes the harmonically ideal secondary color from your brand.
Auto-fix design system violations. Replaces raw hex values with token references, snaps spacing to the scale, and normalizes font usage.
Generate a complete design system from a brand color and project type. Creates .forge.json with palette, tokens, type scale, spacing, shadows, and radii. This is the starting command — everything else references what it generates.
Get contextual font pairing recommendations based on your project type. Never suggests banned fonts.
Regenerate the shadow elevation system tinted with your brand hue. Produces 5 levels from sm to 2xl.
Check that all animations have prefers-reduced-motion fallbacks. Adds them if missing.
Tone down the design within your system's range. Use subtler shades, smaller type differences, and softer shadows.
--- name: forge-measure description: Check line lengths across the interface. Optimal: 45-75 characters per line. Flags containers that are too wide or too narrow for their font size. user-invokable: true --- # /forge-measure — Line Measure Check Calculate line measure for text containers: container-width / (font-size × 0.5) ≈ characters per line Flag: - Over 75 chars: add max-width constraint - Under 45 chars: container may be too narrow Suggest max-width values to achieve optimal measure.
Check responsive behavior using your system's spacing scale. Verifies that spacing reduces proportionally at smaller breakpoints.
Align every value in the codebase to the nearest system token. The nuclear option for system compliance.
Final quality pass checking every value against your design system. The last command before shipping.
Score how well the codebase adheres to your design system. 0-100, where 100 means every value references a token and every pattern follows the system.
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.
Enforce vertical rhythm using your system's baseline grid. Ensures heading margins, paragraph spacing, and section padding are multiples of the baseline.
Find every spacing value in the codebase that doesn't match your scale. Lists violations by file and line.
Rebuild the semantic token mapping from your palette. Maps surface, text, border, accent, and feedback tokens to specific palette shades based on project type.
Regenerate the spacing scale from your system's base unit. Outputs 13 steps from 4px to 128px.
Amplify the design within your system's range. Use stronger palette shades, higher type scale steps, and more dramatic shadows.
Verify all interactive elements meet 44×44px minimum touch target size. Suggests padding increases using your spacing scale.
Full accessibility audit using your design system's color tokens. Checks contrast, focus styles, semantic HTML, touch targets, and motion safety.
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
Auto-fix all off-scale spacing values. Snaps to nearest system value and replaces with token reference.
Show the difference between your .forge.json design system and what's actually in the code. Lists every value that drifts from the system.
Export your complete design system as CSS custom properties. Includes palette, tokens, type scale, spacing, shadows, and radii in a single :root block.
Audit visual density and whitespace balance. Checks that spacing from your system creates appropriate rhythm between sections.
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
Export your design system as SCSS variables and mixins. Includes palette map, type scale mixin, spacing function, and breakpoint mixin.
Add a complementary or analogous accent color to your system. Computes the harmonically ideal secondary color from your brand.
Export your design system in Figma Tokens format. Ready to import into Figma via the Tokens Studio plugin.
Export your design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and token management tools.
Export your design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and radii.
Regenerate the 50-950 shade palette from the current brand color in .forge.json. Updates the palette section without changing other parts of the system.
Final quality pass checking every value against your design system. The last command before shipping.
Regenerate the shadow elevation system tinted with your brand hue. Produces 5 levels from sm to 2xl.
Score how well the codebase adheres to your design system. 0-100, where 100 means every value references a token and every pattern follows the system.
Check background color hierarchy. Verifies that surfaces, cards, and modals use the correct token from your system.
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.
Auto-fix all off-scale spacing values. Snaps to nearest system value and replaces with token reference.
Verify all interactive elements meet 44×44px minimum touch target size. Suggests padding increases using your spacing scale.
Full accessibility audit using your design system's color tokens. Checks contrast, focus styles, semantic HTML, touch targets, and motion safety.
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
Regenerate the spacing scale from your system's base unit. Outputs 13 steps from 4px to 128px.
Amplify the design within your system's range. Use stronger palette shades, higher type scale steps, and more dramatic shadows.
Check the current codebase against your .forge.json design system. Finds raw hex values that should be tokens, spacing off your scale, fonts not in your system, and missing token references.
Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.
Design system generator and enforcer. Generates a complete, project-aware design foundation from a single brand color and project type. Produces color palettes, semantic tokens, mathematical type scales, spacing scales, shadow systems, and border radii. Every command operates on YOUR generated system, not generic rules. Use when building any frontend UI to ensure consistent, intentional design decisions from the first line of code.
Audit elevation consistency. Checks that shadow usage follows a logical hierarchy — cards < dropdowns < modals.
Export your design system in Figma Tokens format. Ready to import into Figma via the Tokens Studio plugin.
Export your design system as SCSS variables and mixins. Includes palette map, type scale mixin, spacing function, and breakpoint mixin.
Snap all spacing values in the codebase to your system's grid. Replaces arbitrary padding, margin, and gap values.
--- name: forge-measure description: Check line lengths across the interface. Optimal: 45-75 characters per line. Flags containers that are too wide or too narrow for their font size. user-invokable: true --- # /forge-measure — Line Measure Check Calculate line measure for text containers: container-width / (font-size × 0.5) ≈ characters per line Flag: - Over 75 chars: add max-width constraint - Under 45 chars: container may be too narrow Suggest max-width values to achieve optimal measure.
Get contextual font pairing recommendations based on your project type. Never suggests banned fonts.
Final quality pass checking every value against your design system. The last command before shipping.
Regenerate the 50-950 shade palette from the current brand color in .forge.json. Updates the palette section without changing other parts of the system.
Add a complementary or analogous accent color to your system. Computes the harmonically ideal secondary color from your brand.
Check that all animations have prefers-reduced-motion fallbacks. Adds them if missing.
Tone down the design within your system's range. Use subtler shades, smaller type differences, and softer shadows.
Check responsive behavior using your system's spacing scale. Verifies that spacing reduces proportionally at smaller breakpoints.
Rebuild the semantic token mapping from your palette. Maps surface, text, border, accent, and feedback tokens to specific palette shades based on project type.
Find every spacing value in the codebase that doesn't match your scale. Lists violations by file and line.
Regenerate the border radius scale based on project type. SaaS gets moderate, portfolio gets soft, e-commerce gets tight.
Score how well the codebase adheres to your design system. 0-100, where 100 means every value references a token and every pattern follows the system.
Enforce vertical rhythm using your system's baseline grid. Ensures heading margins, paragraph spacing, and section padding are multiples of the baseline.
Regenerate the spacing scale from your system's base unit. Outputs 13 steps from 4px to 128px.
Check the current codebase against your .forge.json design system. Finds raw hex values that should be tokens, spacing off your scale, fonts not in your system, and missing token references.
Regenerate the type scale from your .forge.json ratio and base size. Outputs 8 steps with px values and CSS custom properties.
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
Generate a dark mode variant of your design system. Creates dark-mode token overrides that preserve contrast ratios from the light theme.
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
Export your design system in Figma Tokens format. Ready to import into Figma via the Tokens Studio plugin.
Export your complete design system as CSS custom properties. Includes palette, tokens, type scale, spacing, shadows, and radii in a single :root block.
Design system generator and enforcer. Generates a complete, project-aware design foundation from a single brand color and project type. Produces color palettes, semantic tokens, mathematical type scales, spacing scales, shadow systems, and border radii. Every command operates on YOUR generated system, not generic rules. Use when building any frontend UI to ensure consistent, intentional design decisions from the first line of code.
Add error states, loading states, i18n safety, and edge case handling using your design system's tokens.
Export your design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and radii.
Export your design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and token management tools.
Export your design system as SCSS variables and mixins. Includes palette map, type scale mixin, spacing function, and breakpoint mixin.
Show the difference between your .forge.json design system and what's actually in the code. Lists every value that drifts from the system.
Auto-fix design system violations. Replaces raw hex values with token references, snaps spacing to the scale, and normalizes font usage.
Generate a complete design system from a brand color and project type. Creates .forge.json with palette, tokens, type scale, spacing, shadows, and radii. This is the starting command — everything else references what it generates.
Enforce vertical rhythm using your system's baseline grid. Ensures heading margins, paragraph spacing, and section padding are multiples of the baseline.
--- name: forge-measure description: Check line lengths across the interface. Optimal: 45-75 characters per line. Flags containers that are too wide or too narrow for their font size. user-invokable: true --- # /forge-measure — Line Measure Check Calculate line measure for text containers: container-width / (font-size × 0.5) ≈ characters per line Flag: - Over 75 chars: add max-width constraint - Under 45 chars: container may be too narrow Suggest max-width values to achieve optimal measure.
Check that all animations have prefers-reduced-motion fallbacks. Adds them if missing.
Get contextual font pairing recommendations based on your project type. Never suggests banned fonts.
Regenerate the shadow elevation system tinted with your brand hue. Produces 5 levels from sm to 2xl.
Tone down the design within your system's range. Use subtler shades, smaller type differences, and softer shadows.
Check responsive behavior using your system's spacing scale. Verifies that spacing reduces proportionally at smaller breakpoints.
Find every spacing value in the codebase that doesn't match your scale. Lists violations by file and line.
Rebuild the semantic token mapping from your palette. Maps surface, text, border, accent, and feedback tokens to specific palette shades based on project type.
Final quality pass checking every value against your design system. The last command before shipping.
Regenerate the border radius scale based on project type. SaaS gets moderate, portfolio gets soft, e-commerce gets tight.
Regenerate the border radius scale based on project type. SaaS gets moderate, portfolio gets soft, e-commerce gets tight.
Auto-fix all off-scale spacing values. Snaps to nearest system value and replaces with token reference.
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
Check responsive behavior using your system's spacing scale. Verifies that spacing reduces proportionally at smaller breakpoints.
Generate a focus ring system using your system's accent color. Creates consistent :focus-visible styles for all interactive elements.
Snap all font sizes to the nearest step in your type scale. Replaces arbitrary values with var(--type-step) references.
Check that all animations have prefers-reduced-motion fallbacks. Adds them if missing.
Final quality pass checking every value against your design system. The last command before shipping.
Find every spacing value in the codebase that doesn't match your scale. Lists violations by file and line.
Check all motion declarations for purpose, performance, and accessibility. Flags decorative jitter, layout-animating properties, and missing reduced-motion fallbacks.
Map all layout patterns. Identify grid/flexbox usage, spacing patterns, nesting depth, and responsive breakpoints across the codebase.
Run a full 0-100 OPTIK design quality analysis on the current interface or component. Produces category scores for Typography, Color, Layout, Motion, and Accessibility with specific issue callouts and fix suggestions.
Auto-fix all off-scale spacing values. Snaps to nearest system value and replaces with token reference.
Get contextual font pairing recommendations based on your project type. Never suggests banned fonts.
Apply a complete typography system in one command. Sets type scale, font pairings, line heights, letter spacing, and hierarchy simultaneously.
Generate a mathematical type scale from base size and ratio. Outputs pixel values, rem equivalents, and CSS custom properties. Use Perfect Fourth (1.333) for compact UIs, Major Third (1.250) for standard, or Perfect Fifth (1.500) for dramatic hierarchy.
Generate a mathematical type scale from base size and ratio. Outputs pixel values, rem equivalents, and CSS custom properties. Use Perfect Fourth (1.333) for compact UIs, Major Third (1.250) for standard, or Perfect Fifth (1.500) for dramatic hierarchy.
Generate a mathematical type scale from base size and ratio. Outputs pixel values, rem equivalents, and CSS custom properties. Use Perfect Fourth (1.333) for compact UIs, Major Third (1.250) for standard, or Perfect Fifth (1.500) for dramatic hierarchy.
Generate a mathematical type scale from base size and ratio. Outputs pixel values, rem equivalents, and CSS custom properties. Use Perfect Fourth (1.333) for compact UIs, Major Third (1.250) for standard, or Perfect Fifth (1.500) for dramatic hierarchy.
Check line lengths (measure) across the interface. Optimal reading length is 45-75 characters per line.
Check line lengths (measure) across the interface. Optimal reading length is 45-75 characters per line.
Enforce proper heading and body text hierarchy. Verify h1 > h2 > h3 progression, size ratios, and weight differentiation.
Enforce proper heading and body text hierarchy. Verify h1 > h2 > h3 progression, size ratios, and weight differentiation.
Auto-fix typography issues found by /type-audit. Replaces banned fonts, normalizes type scale, adds missing line-height and letter-spacing declarations.
Auto-fix typography issues found by /type-audit. Replaces banned fonts, normalizes type scale, adds missing line-height and letter-spacing declarations.
Auto-fix typography issues found by /type-audit. Replaces banned fonts, normalizes type scale, adds missing line-height and letter-spacing declarations.
Audit all font-family, font-size, font-weight, line-height, and letter-spacing declarations across the codebase. Find inconsistencies, banned fonts, and missing hierarchy.
Audit all font-family, font-size, font-weight, line-height, and letter-spacing declarations across the codebase. Find inconsistencies, banned fonts, and missing hierarchy.
Audit all font-family, font-size, font-weight, line-height, and letter-spacing declarations across the codebase. Find inconsistencies, banned fonts, and missing hierarchy.
Audit all font-family, font-size, font-weight, line-height, and letter-spacing declarations across the codebase. Find inconsistencies, banned fonts, and missing hierarchy.
Track OPTIK score across iterations. Shows improvement over time with category-level delta tracking.
Track OPTIK score across iterations. Shows improvement over time with category-level delta tracking.
Audit and improve CSS transition declarations. Replace generic easing with intentional curves. Ensure consistent durations.
Verify all interactive elements meet 44x44px minimum touch target size. Suggests fixes for undersized targets.
Verify all interactive elements meet 44x44px minimum touch target size. Suggests fixes for undersized targets.
Check for design system drift. Finds tokens that are defined but unused, used values that aren't in tokens, and inconsistencies between token definition and usage.
Check for design system drift. Finds tokens that are defined but unused, used values that aren't in tokens, and inconsistencies between token definition and usage.
Check for design system drift. Finds tokens that are defined but unused, used values that aren't in tokens, and inconsistencies between token definition and usage.
Generate a complete spacing scale from a base unit. Outputs CSS custom properties and shows recommended usage for each step.
Generate a complete spacing scale from a base unit. Outputs CSS custom properties and shows recommended usage for each step.
Add scroll-triggered reveals and parallax effects. Uses IntersectionObserver for reveals and CSS scroll-driven animations for parallax.
Enforce vertical spacing rhythm. Ensures consistent vertical flow using a baseline grid approach.
Generate a shareable OPTIK score card. Produces an SVG/image showing score, category breakdowns, and grade.
Generate a shareable OPTIK score card. Produces an SVG/image showing score, category breakdowns, and grade.
Add prefers-reduced-motion support. Wraps existing animations in a media query and provides static fallbacks.
Tone down overly aggressive designs. Reduce contrast, soften colors, decrease animation intensity, and restore breathing room without losing character.
Final quality pass before shipping. Checks alignment, spacing consistency, hover states, focus styles, loading states, edge cases, and overall refinement.
Design intelligence engine for frontend interfaces. Measures and enforces design quality through scoring algorithms, mathematical scales, and anti-pattern detection. Goes beyond subjective prompting with computable metrics across typography, color, layout, motion, and accessibility. Use when building any frontend UI to ensure output avoids generic AI aesthetics and hits measurable quality thresholds.
Design intelligence engine for frontend interfaces. Measures and enforces design quality through scoring algorithms, mathematical scales, and anti-pattern detection. Goes beyond subjective prompting with computable metrics across typography, color, layout, motion, and accessibility. Use when building any frontend UI to ensure output avoids generic AI aesthetics and hits measurable quality thresholds.
Design intelligence engine for frontend interfaces. Measures and enforces design quality through scoring algorithms, mathematical scales, and anti-pattern detection. Goes beyond subjective prompting with computable metrics across typography, color, layout, motion, and accessibility. Use when building any frontend UI to ensure output avoids generic AI aesthetics and hits measurable quality thresholds.
Align an interface to its design system standards. Replace one-off values with tokens. Ensure every element uses the system.
Auto-fix layout issues. Snaps off-grid spacing, adds missing max-width constraints, and normalizes gap usage.
Fix palette coherence issues. Ensures all colors in the palette work together harmonically (complementary, analogous, triadic, or split-complementary).
Apply 8px grid system with automatic snap correction. Finds all spacing values not aligned to the grid and snaps them to the nearest valid value.
Generate a complete focus ring system. Creates consistent, visible :focus-visible styles that match the design aesthetic while meeting accessibility requirements.
Export the current design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and other token management tools.
Export the current design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and other token management tools.
Export the current design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and other token management tools.
Export the current design system as CSS custom properties. Includes color, typography, spacing, shadows, and radii tokens.
Export the current design system as CSS custom properties. Includes color, typography, spacing, shadows, and radii tokens.
Strip a design to its essential form. Remove every element, decoration, and effect that doesn't earn its place. Reduce without losing meaning.
Strip a design to its essential form. Remove every element, decoration, and effect that doesn't earn its place. Reduce without losing meaning.
Add memorable moments of joy. Micro-interactions, easter eggs, personality in copy, unexpected animations. Use sparingly for maximum impact.
UX-focused design review examining visual hierarchy, information architecture, emotional resonance, and user flow. Goes beyond code quality into design effectiveness.
UX-focused design review examining visual hierarchy, information architecture, emotional resonance, and user flow. Goes beyond code quality into design effectiveness.
Side-by-side comparison of two versions. Shows score changes per category, what improved, what regressed.
Auto-fix color issues. Replace failing contrast pairs, consolidate near-duplicates, and add missing CSS custom properties.
Map all colors in the codebase. Find duplicates, near-duplicates, one-off values, and colors not in the token system.
Ensure the full color palette passes WCAG contrast at every text size. Tests every foreground/background combination.
Verify the design meets a specific OPTIK score threshold. Returns pass/fail with score breakdown. Use in CI/CD pipelines.
Amplify safe, boring designs. Increase contrast, enlarge key elements, add motion, intensify color, and push the aesthetic direction further.
Compare the current design against quality baselines. Shows where the design ranks relative to typical AI output, typical professional output, and exceptional output.
Comprehensive design quality audit with severity ratings, specific line references, and actionable fix instructions. Deeper than /score — examines every declaration.
Comprehensive design quality audit with severity ratings, specific line references, and actionable fix instructions. Deeper than /score — examines every declaration.
Audit and fix ARIA attributes. Ensures proper aria-label, aria-hidden, aria-live, and role usage throughout the interface.
Audit and fix ARIA attributes. Ensures proper aria-label, aria-hidden, aria-live, and role usage throughout the interface.
--- name: animate description: Add purposeful motion and transitions to the interface. Focuses on high-impact moments: page load reveals, hover states, and scroll-triggered entries. Not decorative jitter. user-invokable: true --- # /animate — Purposeful Motion Add motion that serves a purpose: **Page load:** Staggered fade-up reveals for above-fold content. Use animation-delay in 80-120ms increments. Total reveal sequence should complete within 600ms. **Hover states:** Scale (1.02-1.05), sub
--- name: animate description: Add purposeful motion and transitions to the interface. Focuses on high-impact moments: page load reveals, hover states, and scroll-triggered entries. Not decorative jitter. user-invokable: true --- # /animate — Purposeful Motion Add motion that serves a purpose: **Page load:** Staggered fade-up reveals for above-fold content. Use animation-delay in 80-120ms increments. Total reveal sequence should complete within 600ms. **Hover states:** Scale (1.02-1.05), sub
Verify visual alignment across sections. Check that headings, text, images, and components share consistent alignment points.
Verify visual alignment across sections. Check that headings, text, images, and components share consistent alignment points.
Auto-fix detectable accessibility issues. Adds focus styles, semantic HTML, ARIA attributes, and touch target sizing.
Auto-fix detectable accessibility issues. Adds focus styles, semantic HTML, ARIA attributes, and touch target sizing.
Full accessibility audit covering focus management, semantic HTML, ARIA attributes, color contrast, touch targets, screen reader experience, and motion safety.
Full accessibility audit covering focus management, semantic HTML, ARIA attributes, color contrast, touch targets, screen reader experience, and motion safety.
Recommend font pairings based on the project context. Pairs a distinctive display font with a complementary body font. Never suggests banned fonts.
Amplify safe, boring designs. Increase contrast, enlarge key elements, add motion, intensify color, and push the aesthetic direction further.
Auto-fix all off-scale spacing values. Snaps to nearest system value and replaces with token reference.
Auto-fix layout issues. Snaps off-grid spacing, adds missing max-width constraints, and normalizes gap usage.
Check that all animations have prefers-reduced-motion fallbacks. Adds them if missing.
Side-by-side comparison of two versions. Shows score changes per category, what improved, what regressed.
Export the current design system as a Tailwind CSS configuration. Generates theme.extend with colors, fonts, spacing, shadows, and custom screens.
Recommend font pairings based on the project context. Pairs a distinctive display font with a complementary body font. Never suggests banned fonts.
Align text spacing to a vertical rhythm baseline. Ensures headings, paragraphs, and other elements maintain consistent vertical flow.
Full accessibility audit using your design system's color tokens. Checks contrast, focus styles, semantic HTML, touch targets, and motion safety.
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
Amplify the design within your system's range. Use stronger palette shades, higher type scale steps, and more dramatic shadows.
Export your design system in Figma Tokens format. Ready to import into Figma via the Tokens Studio plugin.
Show the difference between your .forge.json design system and what's actually in the code. Lists every value that drifts from the system.
Generate a focus ring system using your system's accent color. Creates consistent :focus-visible styles for all interactive elements.
Add error states, loading states, i18n safety, and edge case handling using your design system's tokens.
Check the current codebase against your .forge.json design system. Finds raw hex values that should be tokens, spacing off your scale, fonts not in your system, and missing token references.
Auto-fix design system violations. Replaces raw hex values with token references, snaps spacing to the scale, and normalizes font usage.
Check that all animations have prefers-reduced-motion fallbacks. Adds them if missing.
Rebuild the semantic token mapping from your palette. Maps surface, text, border, accent, and feedback tokens to specific palette shades based on project type.
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
Export your design system as W3C Design Tokens JSON format. Compatible with Style Dictionary, Figma Tokens, and token management tools.
Improve interface resilience. Add error handling, i18n support, text overflow handling, and edge case management.
Check the current codebase against your .forge.json design system. Finds raw hex values that should be tokens, spacing off your scale, fonts not in your system, and missing token references.
Regenerate the 50-950 shade palette from the current brand color in .forge.json. Updates the palette section without changing other parts of the system.
Full accessibility audit using your design system's color tokens. Checks contrast, focus styles, semantic HTML, touch targets, and motion safety.
Find every color in the codebase that isn't in your palette or token system. Lists orphan colors with suggested replacements.
Check WCAG contrast ratios across your entire token system. Tests every text token against every surface token.
Export your design system in Figma Tokens format. Ready to import into Figma via the Tokens Studio plugin.
Export your design system as SCSS variables and mixins. Includes palette map, type scale mixin, spacing function, and breakpoint mixin.
Auto-fix design system violations. Replaces raw hex values with token references, snaps spacing to the scale, and normalizes font usage.
Snap all spacing values in the codebase to your system's grid. Replaces arbitrary padding, margin, and gap values.
Rebuild the semantic token mapping from your palette. Maps surface, text, border, accent, and feedback tokens to specific palette shades based on project type.
Align every value in the codebase to the nearest system token. The nuclear option for system compliance.
Tone down the design within your system's range. Use subtler shades, smaller type differences, and softer shadows.
Tone down the design within your system's range. Use subtler shades, smaller type differences, and softer shadows.
Check responsive behavior using your system's spacing scale. Verifies that spacing reduces proportionally at smaller breakpoints.
Find every spacing value in the codebase that doesn't match your scale. Lists violations by file and line.
Verify all interactive elements meet 44×44px minimum touch target size. Suggests padding increases using your spacing scale.
Find every font-size in the codebase that doesn't match your type scale. Lists violations with suggested scale values.
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
Regenerate the entire design system from a new brand color while preserving the project type. Updates .forge.json and shows what changed.
Auto-fix all off-scale spacing values. Snaps to nearest system value and replaces with token reference.
Check background color hierarchy. Verifies that surfaces, cards, and modals use the correct token from your system.
Replace all orphan colors with the nearest token from your system. Converts raw hex values to var(--token) references.
Score how well the codebase adheres to your design system. 0-100, where 100 means every value references a token and every pattern follows the system.
Check all motion declarations for purpose, performance, and accessibility. Flags decorative jitter, layout-animating properties, and missing reduced-motion fallbacks.
Generate a complete design system from a brand color and project type. Creates .forge.json with palette, tokens, type scale, spacing, shadows, and radii. This is the starting command — everything else references what it generates.
Show the difference between your .forge.json design system and what's actually in the code. Lists every value that drifts from the system.
Generate a focus ring system using your system's accent color. Creates consistent :focus-visible styles for all interactive elements.
Regenerate the shadow elevation system tinted with your brand hue. Produces 5 levels from sm to 2xl.
Map all layout patterns. Identify grid/flexbox usage, spacing patterns, nesting depth, and responsive breakpoints across the codebase.
Improve interface resilience. Add error handling, i18n support, text overflow handling, and edge case management.
Add prefers-reduced-motion support. Wraps existing animations in a media query and provides static fallbacks.
Recommend font pairings based on the project context. Pairs a distinctive display font with a complementary body font. Never suggests banned fonts.