[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQTR94RE18V7X9BMBYTX3Q":3,"skill-same:01M6HQTR94RE18V7X9BMBYTX3Q":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M6HQTR94RE18V7X9BMBYTX3Q","responsive-mobile-first",null,"Mobile-first responsive patterns with sticky headers, floating CTAs, accessible navigation, and touch-friendly interactions. Use when implementing responsive layouts, mobile navigation, or ensuring touch-friendly UI.","BlackBeltTechnology\u002Fpi-agent-dashboard","BlackBeltTechnology","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8101592?v=4","01M6HQDX7QAJA0QP4NYRYBMJ8A","BlackBelt Technology","01M6HQDXCC7719N9YDMQVH9JS6",348,"MIT","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Ffrontend-patterns\u002F.pi\u002Fskills\u002Fresponsive-mobile-first\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"first","mobile","mobile first","responsive","responsive mobile first","ui","use","navigation","patterns","touch","with","headers","implementing","sticky","when","2026-11-10 10:12:30",false,"---\nname: responsive-mobile-first\ndescription: Mobile-first responsive patterns with sticky headers, floating CTAs, accessible navigation, and touch-friendly interactions. Use when implementing responsive layouts, mobile navigation, or ensuring touch-friendly UI.\n---\n\n# Responsive Mobile-First\n\n## Breakpoint Strategy\n\n```tsx\n\u002F\u002F Tailwind default breakpoints (mobile-first)\n\u002F\u002F sm: 640px\n\u002F\u002F md: 768px\n\u002F\u002F lg: 1024px\n\u002F\u002F xl: 1280px\n\u002F\u002F 2xl: 1536px\n\n\u002F\u002F Write base styles for mobile, add breakpoints for larger screens\n\u003Cdiv className=\"\n  px-4 md:px-6 lg:px-8        \u002F\u002F Padding increases\n  text-sm md:text-base         \u002F\u002F Font size scales\n  grid-cols-1 md:grid-cols-2   \u002F\u002F Grid expands\n\">\n```\n\n## Sticky Header\n\n```tsx\n\u002F\u002F components\u002Flayout\u002FHeader.tsx\n'use client';\n\nimport { useState, useEffect } from 'react';\nimport { cn } from '@\u002Flib\u002Futils';\n\nexport function Header() {\n  const [isScrolled, setIsScrolled] = useState(false);\n\n  useEffect(() => {\n    const handleScroll = () => setIsScrolled(window.scrollY > 10);\n    window.addEventListener('scroll', handleScroll);\n    return () => window.removeEventListener('scroll', handleScroll);\n  }, []);\n\n  return (\n    \u003Cheader\n      className={cn(\n        'fixed top-0 left-0 right-0 z-50 transition-all duration-300',\n        isScrolled\n          ? 'bg-background\u002F95 backdrop-blur-sm shadow-sm'\n          : 'bg-transparent'\n      )}\n    >\n      \u003Cnav className=\"container mx-auto px-4 h-16 flex items-center justify-between\">\n        \u003CLogo \u002F>\n        \n        {\u002F* Desktop Navigation *\u002F}\n        \u003Cdiv className=\"hidden md:flex items-center gap-6\">\n          \u003CNavLinks \u002F>\n          \u003CButton>Book Now\u003C\u002FButton>\n        \u003C\u002Fdiv>\n        \n        {\u002F* Mobile Menu Button *\u002F}\n        \u003CMobileMenuButton className=\"md:hidden\" \u002F>\n      \u003C\u002Fnav>\n    \u003C\u002Fheader>\n  );\n}\n```\n\n## Mobile Navigation Drawer\n\n```tsx\n'use client';\n\nimport { useState } from 'react';\nimport { motion, AnimatePresence } from 'framer-motion';\nimport { X, Menu } from 'lucide-react';\n\nexport function MobileNav() {\n  const [isOpen, setIsOpen] = useState(false);\n\n  return (\n    \u003C>\n      \u003Cbutton\n        onClick={() => setIsOpen(true)}\n        className=\"md:hidden p-2\"\n        aria-label=\"Open menu\"\n      >\n        \u003CMenu className=\"w-6 h-6\" \u002F>\n      \u003C\u002Fbutton>\n\n      \u003CAnimatePresence>\n        {isOpen && (\n          \u003C>\n            {\u002F* Backdrop *\u002F}\n            \u003Cmotion.div\n              initial={{ opacity: 0 }}\n              animate={{ opacity: 1 }}\n              exit={{ opacity: 0 }}\n              onClick={() => setIsOpen(false)}\n              className=\"fixed inset-0 bg-black\u002F50 z-50 md:hidden\"\n            \u002F>\n            \n            {\u002F* Drawer *\u002F}\n            \u003Cmotion.div\n              initial={{ x: '100%' }}\n              animate={{ x: 0 }}\n              exit={{ x: '100%' }}\n              transition={{ type: 'tween', duration: 0.3 }}\n              className=\"fixed top-0 right-0 bottom-0 w-80 bg-background z-50 md:hidden\"\n            >\n              \u003Cdiv className=\"p-4 flex justify-end\">\n                \u003Cbutton\n                  onClick={() => setIsOpen(false)}\n                  className=\"p-2\"\n                  aria-label=\"Close menu\"\n                >\n                  \u003CX className=\"w-6 h-6\" \u002F>\n                \u003C\u002Fbutton>\n              \u003C\u002Fdiv>\n              \n              \u003Cnav className=\"px-4 space-y-4\">\n                \u003CNavLink href=\"\u002F\" onClick={() => setIsOpen(false)}>\n                  Home\n                \u003C\u002FNavLink>\n                \u003CNavLink href=\"\u002Fservices\" onClick={() => setIsOpen(false)}>\n                  Services\n                \u003C\u002FNavLink>\n                {\u002F* More links *\u002F}\n              \u003C\u002Fnav>\n              \n              \u003Cdiv className=\"absolute bottom-8 left-4 right-4\">\n                \u003CButton className=\"w-full\" size=\"lg\">\n                  Book a Session\n                \u003C\u002FButton>\n              \u003C\u002Fdiv>\n            \u003C\u002Fmotion.div>\n          \u003C\u002F>\n        )}\n      \u003C\u002FAnimatePresence>\n    \u003C\u002F>\n  );\n}\n```\n\n## Floating Mobile CTA\n\n```tsx\n\u002F\u002F components\u002FFloatingCTA.tsx\n'use client';\n\nimport { useState, useEffect } from 'react';\nimport { motion, AnimatePresence } from 'framer-motion';\nimport Link from 'next\u002Flink';\nimport { useLocale } from 'next-intl';\n\nexport function FloatingCTA() {\n  const [isVisible, setIsVisible] = useState(false);\n  const locale = useLocale();\n\n  useEffect(() => {\n    const handleScroll = () => {\n      \u002F\u002F Show after scrolling past hero\n      setIsVisible(window.scrollY > 500);\n    };\n    \n    window.addEventListener('scroll', handleScroll);\n    return () => window.removeEventListener('scroll', handleScroll);\n  }, []);\n\n  return (\n    \u003CAnimatePresence>\n      {isVisible && (\n        \u003Cmotion.div\n          initial={{ y: 100, opacity: 0 }}\n          animate={{ y: 0, opacity: 1 }}\n          exit={{ y: 100, opacity: 0 }}\n          className=\"fixed bottom-6 left-4 right-4 z-40 md:hidden\"\n        >\n          \u003CLink\n            href={`\u002F${locale}\u002Fbook`}\n            className=\"block w-full bg-primary text-primary-foreground text-center py-4 rounded-full font-medium shadow-lg\"\n          >\n            Book a Session\n          \u003C\u002FLink>\n        \u003C\u002Fmotion.div>\n      )}\n    \u003C\u002FAnimatePresence>\n  );\n}\n```\n\n## Responsive Grid Patterns\n\n```tsx\n\u002F\u002F 1-2-3 column grid\n\u003Cdiv className=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6\">\n  {items.map(item => \u003CCard key={item.id} {...item} \u002F>)}\n\u003C\u002Fdiv>\n\n\u002F\u002F Sidebar layout\n\u003Cdiv className=\"flex flex-col lg:flex-row gap-8\">\n  \u003Cmain className=\"flex-1\">{\u002F* Main content *\u002F}\u003C\u002Fmain>\n  \u003Caside className=\"w-full lg:w-80\">{\u002F* Sidebar *\u002F}\u003C\u002Faside>\n\u003C\u002Fdiv>\n\n\u002F\u002F Hero with text\u002Fimage\n\u003Cdiv className=\"flex flex-col-reverse md:flex-row items-center gap-8\">\n  \u003Cdiv className=\"flex-1\">{\u002F* Text content *\u002F}\u003C\u002Fdiv>\n  \u003Cdiv className=\"w-full md:w-1\u002F2\">{\u002F* Image *\u002F}\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n## Touch-Friendly Targets\n\n```tsx\n\u002F\u002F Minimum 44x44px touch targets\n\u003Cbutton className=\"min-h-[44px] min-w-[44px] p-3\">\n  \u003CIcon className=\"w-5 h-5\" \u002F>\n\u003C\u002Fbutton>\n\n\u002F\u002F Adequate spacing between interactive elements\n\u003Cdiv className=\"flex gap-3\">\n  \u003CButton>Primary\u003C\u002FButton>\n  \u003CButton variant=\"outline\">Secondary\u003C\u002FButton>\n\u003C\u002Fdiv>\n\n\u002F\u002F Large tap areas for cards\n\u003CLink href={href} className=\"block p-4 md:p-6\">\n  \u003CCard \u002F>\n\u003C\u002FLink>\n```\n\n## Responsive Typography\n\n```tsx\n\u002F\u002F Heading scale\n\u003Ch1 className=\"text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-bold\">\n  Main Heading\n\u003C\u002Fh1>\n\n\u003Ch2 className=\"text-2xl md:text-3xl lg:text-4xl font-semibold\">\n  Section Heading\n\u003C\u002Fh2>\n\n\u002F\u002F Body text\n\u003Cp className=\"text-base md:text-lg leading-relaxed\">\n  Body content with comfortable reading line height.\n\u003C\u002Fp>\n\n\u002F\u002F Small text\n\u003Cspan className=\"text-xs md:text-sm text-muted-foreground\">\n  Caption or meta text\n\u003C\u002Fspan>\n```\n\n## Responsive Spacing\n\n```tsx\n\u002F\u002F Section padding\n\u003Csection className=\"py-12 md:py-16 lg:py-24\">\n\n\u002F\u002F Container with responsive padding\n\u003Cdiv className=\"container mx-auto px-4 md:px-6 lg:px-8\">\n\n\u002F\u002F Stack spacing\n\u003Cdiv className=\"space-y-4 md:space-y-6 lg:space-y-8\">\n```\n\n## Hide\u002FShow Utilities\n\n```tsx\n\u002F\u002F Show only on mobile\n\u003Cdiv className=\"block md:hidden\">Mobile only\u003C\u002Fdiv>\n\n\u002F\u002F Show only on desktop\n\u003Cdiv className=\"hidden md:block\">Desktop only\u003C\u002Fdiv>\n\n\u002F\u002F Different content per breakpoint\n\u003Cspan className=\"md:hidden\">Menu\u003C\u002Fspan>\n\u003Cspan className=\"hidden md:inline\">Navigation\u003C\u002Fspan>\n```\n\n## Responsive Images\n\n```tsx\nimport Image from 'next\u002Fimage';\n\n\u002F\u002F Full-width responsive image\n\u003Cdiv className=\"relative aspect-video w-full\">\n  \u003CImage\n    src=\"\u002Fhero.jpg\"\n    alt=\"Hero\"\n    fill\n    className=\"object-cover\"\n    sizes=\"100vw\"\n    priority\n  \u002F>\n\u003C\u002Fdiv>\n\n\u002F\u002F Responsive sizes attribute\n\u003CImage\n  src=\"\u002Fservice.jpg\"\n  alt=\"Service\"\n  fill\n  sizes=\"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw\"\n\u002F>\n```\n\n## Container Component\n\n```tsx\n\u002F\u002F components\u002Fshared\u002FContainer.tsx\nimport { cn } from '@\u002Flib\u002Futils';\n\ninterface ContainerProps {\n  children: React.ReactNode;\n  className?: string;\n  size?: 'default' | 'narrow' | 'wide';\n}\n\nexport function Container({ \n  children, \n  className,\n  size = 'default' \n}: ContainerProps) {\n  return (\n    \u003Cdiv\n      className={cn(\n        'mx-auto px-4 md:px-6',\n        {\n          'max-w-7xl': size === 'default',\n          'max-w-4xl': size === 'narrow',\n          'max-w-screen-2xl': size === 'wide',\n        },\n        className\n      )}\n    >\n      {children}\n    \u003C\u002Fdiv>\n  );\n}\n```\n","# Responsive Mobile-First\n\n## Breakpoint Strategy\n\n```tsx\n\u002F\u002F Tailwind default breakpoints (mobile-first)\n\u002F\u002F sm: 640px\n\u002F\u002F md: 768px\n\u002F\u002F lg: 1024px\n\u002F\u002F xl: 1280px\n\u002F\u002F 2xl: 1536px\n\n\u002F\u002F Write base styles for mobile, add breakpoints for larger screens\n\u003Cdiv className=\"\n  px-4 md:px-6 lg:px-8        \u002F\u002F Padding increases\n  text-sm md:text-base         \u002F\u002F Font size scales\n  grid-cols-1 md:grid-cols-2   \u002F\u002F Grid expands\n\">\n```\n\n## Sticky Header\n\n```tsx\n\u002F\u002F components\u002Flayout\u002FHeader.tsx\n'use client';\n\nimport { useState, useEffect } from 'react';\nimport { cn } from '@\u002Flib\u002Futils';\n\nexport function Header() {\n  const [isScrolled, setIsScrolled] = useState(false);\n\n  useEffect(() => {\n    const handleScroll = () => setIsScrolled(window.scrollY > 10);\n    window.addEventListener('scroll', handleScroll);\n    return () => window.removeEventListener('scroll', handleScroll);\n  }, []);\n\n  return (\n    \u003Cheader\n      className={cn(\n        'fixed top-0 left-0 right-0 z-50 transition-all duration-300',\n        isScrolled\n          ? 'bg-background\u002F95 backdrop-blur-sm shadow-sm'\n          : 'bg-transparent'\n      )}\n    >\n      \u003Cnav className=\"container mx-auto px-4 h-16 flex items-center justify-between\">\n        \u003CLogo \u002F>\n        \n        {\u002F* Desktop Navigation *\u002F}\n        \u003Cdiv className=\"hidden md:flex items-center gap-6\">\n          \u003CNavLinks \u002F>\n          \u003CButton>Book Now\u003C\u002FButton>\n        \u003C\u002Fdiv>\n        \n        {\u002F* Mobile Menu Button *\u002F}\n        \u003CMobileMenuButton className=\"md:hidden\" \u002F>\n      \u003C\u002Fnav>\n    \u003C\u002Fheader>\n  );\n}\n```\n\n## Mobile Navigation Drawer\n\n```tsx\n'use client';\n\nimport { useState } from 'react';\nimport { motion, AnimatePresence } from 'framer-motion';\nimport { X, Menu } from 'lucide-react';\n\nexport function MobileNav() {\n  const [isOpen, setIsOpen] = useState(false);\n\n  return (\n    \u003C>\n      \u003Cbutton\n        onClick={() => setIsOpen(true)}\n        className=\"md:hidden p-2\"\n        aria-label=\"Open menu\"\n      >\n        \u003CMenu className=\"w-6 h-6\" \u002F>\n      \u003C\u002Fbutton>\n\n      \u003CAnimatePresence>\n        {isOpen && (\n          \u003C>\n            {\u002F* Backdrop *\u002F}\n            \u003Cmotion.div\n              initial={{ opacity: 0 }}\n              animate={{ opacity: 1 }}\n              exit={{ opacity: 0 }}\n              onClick={() => setIsOpen(false)}\n              className=\"fixed inset-0 bg-black\u002F50 z-50 md:hidden\"\n            \u002F>\n            \n            {\u002F* Drawer *\u002F}\n            \u003Cmotion.div\n              initial={{ x: '100%' }}\n              animate={{ x: 0 }}\n              exit={{ x: '100%' }}\n              transition={{ type: 'tween', duration: 0.3 }}\n              className=\"fixed top-0 right-0 bottom-0 w-80 bg-background z-50 md:hidden\"\n            >\n              \u003Cdiv className=\"p-4 flex justify-end\">\n                \u003Cbutton\n                  onClick={() => setIsOpen(false)}\n                  className=\"p-2\"\n                  aria-label=\"Close menu\"\n                >\n                  \u003CX className=\"w-6 h-6\" \u002F>\n                \u003C\u002Fbutton>\n              \u003C\u002Fdiv>\n              \n              \u003Cnav className=\"px-4 space-y-4\">\n                \u003CNavLink href=\"\u002F\" onClick={() => setIsOpen(false)}>\n                  Home\n                \u003C\u002FNavLink>\n                \u003CNavLink href=\"\u002Fservices\" onClick={() => setIsOpen(false)}>\n                  Services\n                \u003C\u002FNavLink>\n                {\u002F* More links *\u002F}\n              \u003C\u002Fnav>\n              \n              \u003Cdiv className=\"absolute bottom-8 left-4 right-4\">\n                \u003CButton className=\"w-full\" size=\"lg\">\n                  Book a Session\n                \u003C\u002FButton>\n              \u003C\u002Fdiv>\n            \u003C\u002Fmotion.div>\n          \u003C\u002F>\n        )}\n      \u003C\u002FAnimatePresence>\n    \u003C\u002F>\n  );\n}\n```\n\n## Floating Mobile CTA\n\n```tsx\n\u002F\u002F components\u002FFloatingCTA.tsx\n'use client';\n\nimport { useState, useEffect } from 'react';\nimport { motion, AnimatePresence } from 'framer-motion';\nimport Link from 'next\u002Flink';\nimport { useLocale } from 'next-intl';\n\nexport function FloatingCTA() {\n  const [isVisible, setIsVisible] = useState(false);\n  const locale = useLocale();\n\n  useEffect(() => {\n    const handleScroll = () => {\n      \u002F\u002F Show after scrolling past hero\n      setIsVisible(window.scrollY > 500);\n    };\n    \n    window.addEventListener('scroll', handleScroll);\n    return () => window.removeEventListener('scroll', handleScroll);\n  }, []);\n\n  return (\n    \u003CAnimatePresence>\n      {isVisible && (\n        \u003Cmotion.div\n          initial={{ y: 100, opacity: 0 }}\n          animate={{ y: 0, opacity: 1 }}\n          exit={{ y: 100, opacity: 0 }}\n          className=\"fixed bottom-6 left-4 right-4 z-40 md:hidden\"\n        >\n          \u003CLink\n            href={`\u002F${locale}\u002Fbook`}\n            className=\"block w-full bg-primary text-primary-foreground text-center py-4 rounded-full font-medium shadow-lg\"\n          >\n            Book a Session\n          \u003C\u002FLink>\n        \u003C\u002Fmotion.div>\n      )}\n    \u003C\u002FAnimatePresence>\n  );\n}\n```\n\n## Responsive Grid Patterns\n\n```tsx\n\u002F\u002F 1-2-3 column grid\n\u003Cdiv className=\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6\">\n  {items.map(item => \u003CCard key={item.id} {...item} \u002F>)}\n\u003C\u002Fdiv>\n\n\u002F\u002F Sidebar layout\n\u003Cdiv className=\"flex flex-col lg:flex-row gap-8\">\n  \u003Cmain className=\"flex-1\">{\u002F* Main content *\u002F}\u003C\u002Fmain>\n  \u003Caside className=\"w-full lg:w-80\">{\u002F* Sidebar *\u002F}\u003C\u002Faside>\n\u003C\u002Fdiv>\n\n\u002F\u002F Hero with text\u002Fimage\n\u003Cdiv className=\"flex flex-col-reverse md:flex-row items-center gap-8\">\n  \u003Cdiv className=\"flex-1\">{\u002F* Text content *\u002F}\u003C\u002Fdiv>\n  \u003Cdiv className=\"w-full md:w-1\u002F2\">{\u002F* Image *\u002F}\u003C\u002Fdiv>\n\u003C\u002Fdiv>\n```\n\n## Touch-Friendly Targets\n\n```tsx\n\u002F\u002F Minimum 44x44px touch targets\n\u003Cbutton className=\"min-h-[44px] min-w-[44px] p-3\">\n  \u003CIcon className=\"w-5 h-5\" \u002F>\n\u003C\u002Fbutton>\n\n\u002F\u002F Adequate spacing between interactive elements\n\u003Cdiv className=\"flex gap-3\">\n  \u003CButton>Primary\u003C\u002FButton>\n  \u003CButton variant=\"outline\">Secondary\u003C\u002FButton>\n\u003C\u002Fdiv>\n\n\u002F\u002F Large tap areas for cards\n\u003CLink href={href} className=\"block p-4 md:p-6\">\n  \u003CCard \u002F>\n\u003C\u002FLink>\n```\n\n## Responsive Typography\n\n```tsx\n\u002F\u002F Heading scale\n\u003Ch1 className=\"text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-bold\">\n  Main Heading\n\u003C\u002Fh1>\n\n\u003Ch2 className=\"text-2xl md:text-3xl lg:text-4xl font-semibold\">\n  Section Heading\n\u003C\u002Fh2>\n\n\u002F\u002F Body text\n\u003Cp className=\"text-base md:text-lg leading-relaxed\">\n  Body content with comfortable reading line height.\n\u003C\u002Fp>\n\n\u002F\u002F Small text\n\u003Cspan className=\"text-xs md:text-sm text-muted-foreground\">\n  Caption or meta text\n\u003C\u002Fspan>\n```\n\n## Responsive Spacing\n\n```tsx\n\u002F\u002F Section padding\n\u003Csection className=\"py-12 md:py-16 lg:py-24\">\n\n\u002F\u002F Container with responsive padding\n\u003Cdiv className=\"container mx-auto px-4 md:px-6 lg:px-8\">\n\n\u002F\u002F Stack spacing\n\u003Cdiv className=\"space-y-4 md:space-y-6 lg:space-y-8\">\n```\n\n## Hide\u002FShow Utilities\n\n```tsx\n\u002F\u002F Show only on mobile\n\u003Cdiv className=\"block md:hidden\">Mobile only\u003C\u002Fdiv>\n\n\u002F\u002F Show only on desktop\n\u003Cdiv className=\"hidden md:block\">Desktop only\u003C\u002Fdiv>\n\n\u002F\u002F Different content per breakpoint\n\u003Cspan className=\"md:hidden\">Menu\u003C\u002Fspan>\n\u003Cspan className=\"hidden md:inline\">Navigation\u003C\u002Fspan>\n```\n\n## Responsive Images\n\n```tsx\nimport Image from 'next\u002Fimage';\n\n\u002F\u002F Full-width responsive image\n\u003Cdiv className=\"relative aspect-video w-full\">\n  \u003CImage\n    src=\"\u002Fhero.jpg\"\n    alt=\"Hero\"\n    fill\n    className=\"object-cover\"\n    sizes=\"100vw\"\n    priority\n  \u002F>\n\u003C\u002Fdiv>\n\n\u002F\u002F Responsive sizes attribute\n\u003CImage\n  src=\"\u002Fservice.jpg\"\n  alt=\"Service\"\n  fill\n  sizes=\"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw\"\n\u002F>\n```\n\n## Container Component\n\n```tsx\n\u002F\u002F components\u002Fshared\u002FContainer.tsx\nimport { cn } from '@\u002Flib\u002Futils';\n\ninterface ContainerProps {\n  children: React.ReactNode;\n  className?: string;\n  size?: 'default' | 'narrow' | 'wide';\n}\n\nexport function Container({ \n  children, \n  className,\n  size = 'default' \n}: ContainerProps) {\n  return (\n    \u003Cdiv\n      className={cn(\n        'mx-auto px-4 md:px-6',\n        {\n          'max-w-7xl': size === 'default',\n          'max-w-4xl': size === 'narrow',\n          'max-w-screen-2xl': size === 'wide',\n        },\n        className\n      )}\n    >\n      {children}\n    \u003C\u002Fdiv>\n  );\n}\n```\n",{"name":5,"description":7},"develop","fb9a5af356f540de4839ef851ebbe14bcce64c0f","packages\u002Ffrontend-patterns\u002F.pi\u002Fskills\u002Fresponsive-mobile-first",56,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard","https:\u002F\u002Fpi-dashboard.dev\u002F","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology","https:\u002F\u002Fwww.blackbelt.hu","2026-11-12 23:37:37",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill responsive-mobile-first",{"tool":54,"command":55},"bunx","bunx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill responsive-mobile-first",{"tool":57,"command":58},"pnpm","pnpm dlx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill responsive-mobile-first","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Ffrontend-patterns\u002F.pi\u002Fskills\u002Fresponsive-mobile-first\u002FSKILL.md",true,[62,68],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"SKILL.agent.md","REFERENCE","参考文档",2581,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Ffrontend-patterns\u002F.pi\u002Fskills\u002Fresponsive-mobile-first\u002FSKILL.agent.md",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"SKILL.md.AGENTS.md",367,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Ffrontend-patterns\u002F.pi\u002Fskills\u002Fresponsive-mobile-first\u002FSKILL.md.AGENTS.md",[73,100,125,148,169,191],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":34},"01M6HQYQ5B82AM5T9Y299S9CFY","youtube-srt","Download YouTube subtitles (SRT + timestamped TXT) for a channel, playlist or video via yt-dlp, no media download; optionally mine them into a categorized catalog (e.g. AI models by function, open weights, local runnability, hardware tier). Use on \"download the srt of this video\", \"transcripts of channel X for the last N months\", \"catalog the models AI Search talked about\", \"update docs\u002Fmodels\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fyoutube-srt\u002FSKILL.md",[],[80,81,82,83,84,85,86,87,88,89,90,25,91,92,93,94,95,96,97,98,99],"youtube","srt","youtube srt","update","search","subtitles","dlp","Video","Media","open","catalog","update docs","yt-dlp","local","mine","via","ai models","last","for","media download",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":34},"01M6HQYJBKSXR55T5RSYNJQG4D","video-transcription","Transcribe video and audio files to SRT subtitles with speaker diarization using the Soniox (default) or AssemblyAI API. Use when the user wants to transcribe meetings, videos, or audio files. Supports MKV, MP4, MOV, M4A, MP3. Triggers on \"\u002Ftranscribe\", \"transcribe my meetings\", \"transcribe videos in ~\u002FMovies\", or any request to convert audio\u002Fvideo to text.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fvideo-transcription\u002FSKILL.md",[],[87,107,108,109,85,110,111,112,113,114,115,25,116,117,118,119,29,120,121,81,122,123,124,33],"transcription","video transcription","transcribe","api","Audio","convert","mp4","text","meetings","files","default","mp3","triggers","videos","assemblyai","my","srt subtitles","request",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":34},"01M6HQYECMVDC5TDHHW22VC5RX","speaker-id","Name anonymous diarized SRT speakers from a persistent local voiceprint library and repair speaker drift; local, CPU-only, no API key. Triggers \"who is speaker 2\", \"put names on the transcript\", \"label the meeting SRT\", \"the diarization split one person into three\", \"enroll my voice\". Backed by the pi-voiceid CLI.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fspeaker-id\u002FSKILL.md",[],[132,133,134,135,110,136,137,138,139,140,141,93,119,142,143,144,145,81,146,147],"id","speaker id","cli","transcript","voice","pi","only","three","drift","repair","name","CPU","meeting","anonymous","split","person",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":34},"01M6HQYAZWDXE9QJEG592E5PXK","veo-showreel-production-kit","Turn a video timeline + voiceover into a reproducible, sliceable Veo 3.1 prompt package with a consistency anchor and AI storyboard sketches.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fveo-showreel-production-kit\u002FSKILL.md",[],[155,156,157,158,159,160,161,87,162,163,164,165,29,166,167,168],"Production","veo","kit","veo showreel production kit","package","Reproducible","timeline","prompt","voiceover","storyboard","anchor","consistency","veo 3","2026",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":34},"01M6HQY6TJ0X1ADDKYPMVJY6NV","veo-generator","Render a scripted video project into mp4 clips with the Google Veo 3.1 API. Reads a project's shot package (shots\u002F*.md), one clip per camera cut, reusing each shot's prompt and sketch — world anchor only with `--with-reference`, seed unless `--no-seed`. Use on \"render the Veo video for \u003Cproject>\", \"generate the videos from the shot scripts\", \"make the clips with Veo\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fveo-generator\u002FSKILL.md",[],[156,176,177,178,179,159,110,87,113,162,25,180,138,181,182,183,184,185,165,186,187,188,189,29,190,98,167],"generator","veo generator","google","generate","clip","sketch","camera","world","seed","project","cut","scripts","make","render","google veo",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":34},"01M6HQY1K2NZJ3B2YHSJJPPVAF","hyperframes-showreel","Turn real screen and site footage into a rhythmic showreel rendered with HyperFrames: sampling, edit script, redacted clips, a generated composition, Veo only as additive FX, music edit + camera punches, delivery render and export QA. Use on \"make a showreel from these recordings\", \"build the HyperFrames video\", \"assemble the footage edit\", \"render and QA the showreel\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fhyperframes-showreel\u002FSKILL.md",[],[198,199,200,87,201,202,203,25,204,205,206,138,207,208,209,210,211,189,29,212],"hyperframes","hyperframes showreel","qa","Composition","edit","generated","assemble","export","sampling","build","delivery","as","fx","screen","script"]