[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76VEPQSCNJHSRTRRR45CTKJ":3,"skill-same:01M76VEPQSCNJHSRTRRR45CTKJ":102},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M76VEPQSCNJHSRTRRR45CTKJ","senior-frontend",null,"Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.","kruxshnx\u002Fclaude-skills-devin","kruxshnx","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F127938788?v=4","01M757YM3F96N4K1BSE7Z0NQK7","ARJANGI GOVINDA KRISHNA","01M757YM43H5T7MP2B3DC13GZ2",2,"MIT","https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"senior-frontend\"\ndescription: Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.\n---\n\n# Senior Frontend\n\nFrontend development patterns, performance optimization, and automation tools for React\u002FNext.js applications.\n\n## Table of Contents\n\n- [Project Scaffolding](#project-scaffolding)\n- [Component Generation](#component-generation)\n- [Bundle Analysis](#bundle-analysis)\n- [React Patterns](#react-patterns)\n- [Next.js Optimization](#nextjs-optimization)\n- [Accessibility and Testing](#accessibility-and-testing)\n\n---\n\n## Project Scaffolding\n\nGenerate a new Next.js or React project with TypeScript, Tailwind CSS, and best practice configurations.\n\n### Workflow: Create New Frontend Project\n\n1. Run the scaffolder with your project name and template:\n   ```bash\n   python scripts\u002Ffrontend_scaffolder.py my-app --template nextjs\n   ```\n\n2. Add optional features (auth, api, forms, testing, storybook):\n   ```bash\n   python scripts\u002Ffrontend_scaffolder.py dashboard --template nextjs --features auth,api\n   ```\n\n3. Navigate to the project and install dependencies:\n   ```bash\n   cd my-app && npm install\n   ```\n\n4. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n### Scaffolder Options\n\n| Option | Description |\n|--------|-------------|\n| `--template nextjs` | Next.js 14+ with App Router and Server Components |\n| `--template react` | React + Vite with TypeScript |\n| `--features auth` | Add NextAuth.js authentication |\n| `--features api` | Add React Query + API client |\n| `--features forms` | Add React Hook Form + Zod validation |\n| `--features testing` | Add Vitest + Testing Library |\n| `--dry-run` | Preview files without creating them |\n\n### Generated Structure (Next.js)\n\n```\nmy-app\u002F\n├── app\u002F\n│   ├── layout.tsx        # Root layout with fonts\n│   ├── page.tsx          # Home page\n│   ├── globals.css       # Tailwind + CSS variables\n│   └── api\u002Fhealth\u002Froute.ts\n├── components\u002F\n│   ├── ui\u002F               # Button, Input, Card\n│   └── layout\u002F           # Header, Footer, Sidebar\n├── hooks\u002F                # useDebounce, useLocalStorage\n├── lib\u002F                  # utils (cn), constants\n├── types\u002F                # TypeScript interfaces\n├── tailwind.config.ts\n├── next.config.js\n└── package.json\n```\n\n---\n\n## Component Generation\n\nGenerate React components with TypeScript, tests, and Storybook stories.\n\n### Workflow: Create a New Component\n\n1. Generate a client component:\n   ```bash\n   python scripts\u002Fcomponent_generator.py Button --dir src\u002Fcomponents\u002Fui\n   ```\n\n2. Generate a server component:\n   ```bash\n   python scripts\u002Fcomponent_generator.py ProductCard --type server\n   ```\n\n3. Generate with test and story files:\n   ```bash\n   python scripts\u002Fcomponent_generator.py UserProfile --with-test --with-story\n   ```\n\n4. Generate a custom hook:\n   ```bash\n   python scripts\u002Fcomponent_generator.py FormValidation --type hook\n   ```\n\n### Generator Options\n\n| Option | Description |\n|--------|-------------|\n| `--type client` | Client component with 'use client' (default) |\n| `--type server` | Async server component |\n| `--type hook` | Custom React hook |\n| `--with-test` | Include test file |\n| `--with-story` | Include Storybook story |\n| `--flat` | Create in output dir without subdirectory |\n| `--dry-run` | Preview without creating files |\n\n### Generated Component Example\n\n```tsx\n'use client';\n\nimport { useState } from 'react';\nimport { cn } from '@\u002Flib\u002Futils';\n\ninterface ButtonProps {\n  className?: string;\n  children?: React.ReactNode;\n}\n\nexport function Button({ className, children }: ButtonProps) {\n  return (\n    \u003Cdiv className={cn('', className)}>\n      {children}\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n---\n\n## Bundle Analysis\n\nAnalyze package.json and project structure for bundle optimization opportunities.\n\n### Workflow: Optimize Bundle Size\n\n1. Run the analyzer on your project:\n   ```bash\n   python scripts\u002Fbundle_analyzer.py \u002Fpath\u002Fto\u002Fproject\n   ```\n\n2. Review the health score and issues:\n   ```\n   Bundle Health Score: 75\u002F100 (C)\n\n   HEAVY DEPENDENCIES:\n     moment (290KB)\n       Alternative: date-fns (12KB) or dayjs (2KB)\n\n     lodash (71KB)\n       Alternative: lodash-es with tree-shaking\n   ```\n\n3. Apply the recommended fixes by replacing heavy dependencies.\n\n4. Re-run with verbose mode to check import patterns:\n   ```bash\n   python scripts\u002Fbundle_analyzer.py . --verbose\n   ```\n\n### Bundle Score Interpretation\n\n| Score | Grade | Action |\n|-------|-------|--------|\n| 90-100 | A | Bundle is well-optimized |\n| 80-89 | B | Minor optimizations available |\n| 70-79 | C | Replace heavy dependencies |\n| 60-69 | D | Multiple issues need attention |\n| 0-59 | F | Critical bundle size problems |\n\n### Heavy Dependencies Detected\n\nThe analyzer identifies these common heavy packages:\n\n| Package | Size | Alternative |\n|---------|------|-------------|\n| moment | 290KB | date-fns (12KB) or dayjs (2KB) |\n| lodash | 71KB | lodash-es with tree-shaking |\n| axios | 14KB | Native fetch or ky (3KB) |\n| jquery | 87KB | Native DOM APIs |\n| @mui\u002Fmaterial | Large | shadcn\u002Fui or Radix UI |\n\n---\n\n## React Patterns\n\nReference: `references\u002Freact_patterns.md`\n\n### Compound Components\n\nShare state between related components:\n\n```tsx\nconst Tabs = ({ children }) => {\n  const [active, setActive] = useState(0);\n  return (\n    \u003CTabsContext.Provider value={{ active, setActive }}>\n      {children}\n    \u003C\u002FTabsContext.Provider>\n  );\n};\n\nTabs.List = TabList;\nTabs.Panel = TabPanel;\n\n\u002F\u002F Usage\n\u003CTabs>\n  \u003CTabs.List>\n    \u003CTabs.Tab>One\u003C\u002FTabs.Tab>\n    \u003CTabs.Tab>Two\u003C\u002FTabs.Tab>\n  \u003C\u002FTabs.List>\n  \u003CTabs.Panel>Content 1\u003C\u002FTabs.Panel>\n  \u003CTabs.Panel>Content 2\u003C\u002FTabs.Panel>\n\u003C\u002FTabs>\n```\n\n### Custom Hooks\n\nExtract reusable logic:\n\n```tsx\nfunction useDebounce\u003CT>(value: T, delay = 500): T {\n  const [debouncedValue, setDebouncedValue] = useState(value);\n\n  useEffect(() => {\n    const timer = setTimeout(() => setDebouncedValue(value), delay);\n    return () => clearTimeout(timer);\n  }, [value, delay]);\n\n  return debouncedValue;\n}\n\n\u002F\u002F Usage\nconst debouncedSearch = useDebounce(searchTerm, 300);\n```\n\n### Render Props\n\nShare rendering logic:\n\n```tsx\nfunction DataFetcher({ url, render }) {\n  const [data, setData] = useState(null);\n  const [loading, setLoading] = useState(true);\n\n  useEffect(() => {\n    fetch(url).then(r => r.json()).then(setData).finally(() => setLoading(false));\n  }, [url]);\n\n  return render({ data, loading });\n}\n\n\u002F\u002F Usage\n\u003CDataFetcher\n  url=\"\u002Fapi\u002Fusers\"\n  render={({ data, loading }) =>\n    loading ? \u003CSpinner \u002F> : \u003CUserList users={data} \u002F>\n  }\n\u002F>\n```\n\n---\n\n## Next.js Optimization\n\nReference: `references\u002Fnextjs_optimization_guide.md`\n\n### Server vs Client Components\n\nUse Server Components by default. Add 'use client' only when you need:\n- Event handlers (onClick, onChange)\n- State (useState, useReducer)\n- Effects (useEffect)\n- Browser APIs\n\n```tsx\n\u002F\u002F Server Component (default) - no 'use client'\nasync function ProductPage({ params }) {\n  const product = await getProduct(params.id);  \u002F\u002F Server-side fetch\n\n  return (\n    \u003Cdiv>\n      \u003Ch1>{product.name}\u003C\u002Fh1>\n      \u003CAddToCartButton productId={product.id} \u002F>  {\u002F* Client component *\u002F}\n    \u003C\u002Fdiv>\n  );\n}\n\n\u002F\u002F Client Component\n'use client';\nfunction AddToCartButton({ productId }) {\n  const [adding, setAdding] = useState(false);\n  return \u003Cbutton onClick={() => addToCart(productId)}>Add\u003C\u002Fbutton>;\n}\n```\n\n### Image Optimization\n\n```tsx\nimport Image from 'next\u002Fimage';\n\n\u002F\u002F Above the fold - load immediately\n\u003CImage\n  src=\"\u002Fhero.jpg\"\n  alt=\"Hero\"\n  width={1200}\n  height={600}\n  priority\n\u002F>\n\n\u002F\u002F Responsive image with fill\n\u003Cdiv className=\"relative aspect-video\">\n  \u003CImage\n    src=\"\u002Fproduct.jpg\"\n    alt=\"Product\"\n    fill\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n    className=\"object-cover\"\n  \u002F>\n\u003C\u002Fdiv>\n```\n\n### Data Fetching Patterns\n\n```tsx\n\u002F\u002F Parallel fetching\nasync function Dashboard() {\n  const [user, stats] = await Promise.all([\n    getUser(),\n    getStats()\n  ]);\n  return \u003Cdiv>...\u003C\u002Fdiv>;\n}\n\n\u002F\u002F Streaming with Suspense\nasync function ProductPage({ params }) {\n  return (\n    \u003Cdiv>\n      \u003CProductDetails id={params.id} \u002F>\n      \u003CSuspense fallback={\u003CReviewsSkeleton \u002F>}>\n        \u003CReviews productId={params.id} \u002F>\n      \u003C\u002FSuspense>\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n---\n\n## Accessibility and Testing\n\nReference: `references\u002Ffrontend_best_practices.md`\n\n### Accessibility Checklist\n\n1. **Semantic HTML**: Use proper elements (`\u003Cbutton>`, `\u003Cnav>`, `\u003Cmain>`)\n2. **Keyboard Navigation**: All interactive elements focusable\n3. **ARIA Labels**: Provide labels for icons and complex widgets\n4. **Color Contrast**: Minimum 4.5:1 for normal text\n5. **Focus Indicators**: Visible focus states\n\n```tsx\n\u002F\u002F Accessible button\n\u003Cbutton\n  type=\"button\"\n  aria-label=\"Close dialog\"\n  onClick={onClose}\n  className=\"focus-visible:ring-2 focus-visible:ring-blue-500\"\n>\n  \u003CXIcon aria-hidden=\"true\" \u002F>\n\u003C\u002Fbutton>\n\n\u002F\u002F Skip link for keyboard users\n\u003Ca href=\"#main-content\" className=\"sr-only focus:not-sr-only\">\n  Skip to main content\n\u003C\u002Fa>\n```\n\n### Testing Strategy\n\n```tsx\n\u002F\u002F Component test with React Testing Library\nimport { render, screen } from '@testing-library\u002Freact';\nimport userEvent from '@testing-library\u002Fuser-event';\n\ntest('button triggers action on click', async () => {\n  const onClick = vi.fn();\n  render(\u003CButton onClick={onClick}>Click me\u003C\u002FButton>);\n\n  await userEvent.click(screen.getByRole('button'));\n  expect(onClick).toHaveBeenCalledTimes(1);\n});\n\n\u002F\u002F Test accessibility\ntest('dialog is accessible', async () => {\n  render(\u003CDialog open={true} title=\"Confirm\" \u002F>);\n\n  expect(screen.getByRole('dialog')).toBeInTheDocument();\n  expect(screen.getByRole('dialog')).toHaveAttribute('aria-labelledby');\n});\n```\n\n---\n\n## Quick Reference\n\n### Common Next.js Config\n\n```js\n\u002F\u002F next.config.js\nconst nextConfig = {\n  images: {\n    remotePatterns: [{ hostname: \"cdnexamplecom\" }],\n    formats: ['image\u002Favif', 'image\u002Fwebp'],\n  },\n  experimental: {\n    optimizePackageImports: ['lucide-react', '@heroicons\u002Freact'],\n  },\n};\n```\n\n### Tailwind CSS Utilities\n\n```tsx\n\u002F\u002F Conditional classes with cn()\nimport { cn } from '@\u002Flib\u002Futils';\n\n\u003Cbutton className={cn(\n  'px-4 py-2 rounded',\n  variant === 'primary' && 'bg-blue-500 text-white',\n  disabled && 'opacity-50 cursor-not-allowed'\n)} \u002F>\n```\n\n### TypeScript Patterns\n\n```tsx\n\u002F\u002F Props with children\ninterface CardProps {\n  className?: string;\n  children: React.ReactNode;\n}\n\n\u002F\u002F Generic component\ninterface ListProps\u003CT> {\n  items: T[];\n  renderItem: (item: T) => React.ReactNode;\n}\n\nfunction List\u003CT>({ items, renderItem }: ListProps\u003CT>) {\n  return \u003Cul>{items.map(renderItem)}\u003C\u002Ful>;\n}\n```\n\n---\n\n## Resources\n\n- React Patterns: `references\u002Freact_patterns.md`\n- Next.js Optimization: `references\u002Fnextjs_optimization_guide.md`\n- Best Practices: `references\u002Ffrontend_best_practices.md`\n- Forcing-question library (Matt Pocock grill): `references\u002Fforcing_questions.md`\n- Composition map (which specialist to fork into): `references\u002Fcomposition_map.md`\n\n---\n\n## Assumptions and Verifiable Success Criteria (Karpathy discipline)\n\nBefore this skill scaffolds a component, recommends a framework, or audits a bundle, the following four assumptions MUST be surfaced.\n\n1. **Primary user device + network** — mobile-4G, desktop-fiber, low-end-Android, or corporate-network. Drives every perf decision.\n2. **LCP target in milliseconds** — a single number, not \"fast.\" Drives bundle budget and rendering choice.\n3. **SEO-dependent vs. auth-walled** — drives rendering (SSR\u002FSSG\u002FRSC vs. SPA).\n4. **WCAG target + named a11y owner** — AA, AAA, or best-effort. Drives a11y investment and CI gates.\n\n**Verifiable success criteria** (Karpathy #4) — every recommendation must include:\n\n- Core Web Vitals targets (LCP, INP, CLS) at p75 on the primary device\n- A per-route JS bundle budget in KB-gzip\n- A Lighthouse a11y floor + perf floor\n\nIf any of those three is not stated, the recommendation is incomplete — return to Q2 of the forcing-question library.\n\nThe `scripts\u002Ffrontend_decision_engine.py` tool encodes these checks: it refuses to recommend a profile without the four assumption inputs and prints the verifiable thresholds for the matched profile.\n\n---\n\n## Customization profiles\n\nFour built-in profiles in `profiles\u002F` calibrate every recommendation:\n\n| Profile | When to pick | LCP target (mobile-4G p75) | Bundle budget |\n|---|---|---|---|\n| `next-app-router` | SaaS customer-facing, SEO + dynamic, RSC-first | 2000ms | 150 KB-gzip \u002F route |\n| `remix-or-sveltekit` | Mobile-4G primary, low-JS-first, progressive enhancement | 1500ms | 80 KB-gzip \u002F route |\n| `vite-spa` | Auth-walled app, desktop\u002Fcorporate primary | 2500ms | 200 KB init + 80 KB \u002F route |\n| `astro-or-static` | Marketing \u002F docs \u002F blog, near-zero write, SEO-critical | 1200ms | 30 KB JS \u002F page |\n\nPick a profile via:\n\n```bash\npython scripts\u002Ffrontend_decision_engine.py \\\n  --primary-device mobile-4g --lcp-target-ms 2000 \\\n  --seo-dependent true --auth-walled false --team-size 5\n```\n\nThe tool returns the best-fit profile, the runner-up tradeoff (if within 15%), the stack picks, the anti-patterns to avoid on that profile, and the required CI gates.\n\nTo add a custom profile (e.g., your org's internal-tool defaults): copy `profiles\u002Fvite-spa.json` to `profiles\u002F\u003Cyour-org>.json` and adjust `constraints` + `success_thresholds`.\n\n---\n\n## Composition map\n\nThis skill does NOT reimplement scope owned by the POWERFUL-tier specialists. It forks into them. See `references\u002Fcomposition_map.md` for the full routing table. Key forks:\n\n| Concern | Fork into |\n|---|---|\n| WCAG audit, contrast, screen-reader | `engineering-team\u002Fskills\u002Fa11y-audit\u002F` |\n| Bundle profiling + runtime perf | `engineering\u002Fskills\u002Fperformance-profiler\u002F` |\n| Cinematic \u002F scroll-storytelling landing | `engineering-team\u002Fskills\u002Fepic-design\u002F` |\n| Apple HIG (iOS \u002F macOS \u002F visionOS) | `product-team\u002Fskills\u002Fapple-hig-expert\u002F` |\n| Pre-commit Karpathy review | `engineering\u002Fkarpathy-coder\u002F` |\n| Pre-flight architecture grill | `engineering\u002Fgrill-me\u002F` |\n\nThe `cs-frontend-engineer` agent orchestrates these forks via `context: fork`. Invoke it from another agent with `Agent({subagent_type: \"cs-frontend-engineer\", prompt: \"...\"})` or via `\u002Fcs:frontend-review \u003Cyour problem>`.\n\n---\n\n## Forcing-question library (Matt Pocock grill)\n\nBefore locking any framework or rendering decision, walk the seven forcing questions in `references\u002Fforcing_questions.md`. Discipline:\n\n1. One question per turn. No bundling.\n2. Always recommend the answer with cited canon.\n3. Track answers in `\u002Ftmp\u002Ffrontend-grill-\u003Cdate>.md`.\n4. If a kill criterion trips, stop. Don't scaffold around an unresolved gap.\n5. After Q7, run `frontend_decision_engine.py` with the seven answers.\n\nSummary:\n\n1. Primary device + network?\n2. LCP target in ms (and INP, CLS)?\n3. RSC \u002F SPA \u002F SSR \u002F SSG — pick and defend?\n4. JS bundle budget per route?\n5. SEO-dependent or auth-walled?\n6. Design-system source of truth?\n7. WCAG target + named a11y owner?\n\n---\n\n## Invocation from other agents and skills\n\nThree surfaces:\n\n1. **Slash command:** `\u002Fcs:frontend-review \u003Cprompt>` — full grill + decision engine + composition routing.\n2. **Agent subagent:** `Agent({subagent_type: \"cs-frontend-engineer\", prompt: \"...\"})` — forks context, returns ≤ 200-word digest.\n3. **Direct tool call:** `python scripts\u002Ffrontend_decision_engine.py ...` — deterministic profile match when inputs are known.\n\nSee `agents\u002Fengineering\u002Fcs-frontend-engineer.md` for the full invocation contract.\n","# Senior Frontend\n\nFrontend development patterns, performance optimization, and automation tools for React\u002FNext.js applications.\n\n## Table of Contents\n\n- [Project Scaffolding](#project-scaffolding)\n- [Component Generation](#component-generation)\n- [Bundle Analysis](#bundle-analysis)\n- [React Patterns](#react-patterns)\n- [Next.js Optimization](#nextjs-optimization)\n- [Accessibility and Testing](#accessibility-and-testing)\n\n---\n\n## Project Scaffolding\n\nGenerate a new Next.js or React project with TypeScript, Tailwind CSS, and best practice configurations.\n\n### Workflow: Create New Frontend Project\n\n1. Run the scaffolder with your project name and template:\n   ```bash\n   python scripts\u002Ffrontend_scaffolder.py my-app --template nextjs\n   ```\n\n2. Add optional features (auth, api, forms, testing, storybook):\n   ```bash\n   python scripts\u002Ffrontend_scaffolder.py dashboard --template nextjs --features auth,api\n   ```\n\n3. Navigate to the project and install dependencies:\n   ```bash\n   cd my-app && npm install\n   ```\n\n4. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n### Scaffolder Options\n\n| Option | Description |\n|--------|-------------|\n| `--template nextjs` | Next.js 14+ with App Router and Server Components |\n| `--template react` | React + Vite with TypeScript |\n| `--features auth` | Add NextAuth.js authentication |\n| `--features api` | Add React Query + API client |\n| `--features forms` | Add React Hook Form + Zod validation |\n| `--features testing` | Add Vitest + Testing Library |\n| `--dry-run` | Preview files without creating them |\n\n### Generated Structure (Next.js)\n\n```\nmy-app\u002F\n├── app\u002F\n│   ├── layout.tsx        # Root layout with fonts\n│   ├── page.tsx          # Home page\n│   ├── globals.css       # Tailwind + CSS variables\n│   └── api\u002Fhealth\u002Froute.ts\n├── components\u002F\n│   ├── ui\u002F               # Button, Input, Card\n│   └── layout\u002F           # Header, Footer, Sidebar\n├── hooks\u002F                # useDebounce, useLocalStorage\n├── lib\u002F                  # utils (cn), constants\n├── types\u002F                # TypeScript interfaces\n├── tailwind.config.ts\n├── next.config.js\n└── package.json\n```\n\n---\n\n## Component Generation\n\nGenerate React components with TypeScript, tests, and Storybook stories.\n\n### Workflow: Create a New Component\n\n1. Generate a client component:\n   ```bash\n   python scripts\u002Fcomponent_generator.py Button --dir src\u002Fcomponents\u002Fui\n   ```\n\n2. Generate a server component:\n   ```bash\n   python scripts\u002Fcomponent_generator.py ProductCard --type server\n   ```\n\n3. Generate with test and story files:\n   ```bash\n   python scripts\u002Fcomponent_generator.py UserProfile --with-test --with-story\n   ```\n\n4. Generate a custom hook:\n   ```bash\n   python scripts\u002Fcomponent_generator.py FormValidation --type hook\n   ```\n\n### Generator Options\n\n| Option | Description |\n|--------|-------------|\n| `--type client` | Client component with 'use client' (default) |\n| `--type server` | Async server component |\n| `--type hook` | Custom React hook |\n| `--with-test` | Include test file |\n| `--with-story` | Include Storybook story |\n| `--flat` | Create in output dir without subdirectory |\n| `--dry-run` | Preview without creating files |\n\n### Generated Component Example\n\n```tsx\n'use client';\n\nimport { useState } from 'react';\nimport { cn } from '@\u002Flib\u002Futils';\n\ninterface ButtonProps {\n  className?: string;\n  children?: React.ReactNode;\n}\n\nexport function Button({ className, children }: ButtonProps) {\n  return (\n    \u003Cdiv className={cn('', className)}>\n      {children}\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n---\n\n## Bundle Analysis\n\nAnalyze package.json and project structure for bundle optimization opportunities.\n\n### Workflow: Optimize Bundle Size\n\n1. Run the analyzer on your project:\n   ```bash\n   python scripts\u002Fbundle_analyzer.py \u002Fpath\u002Fto\u002Fproject\n   ```\n\n2. Review the health score and issues:\n   ```\n   Bundle Health Score: 75\u002F100 (C)\n\n   HEAVY DEPENDENCIES:\n     moment (290KB)\n       Alternative: date-fns (12KB) or dayjs (2KB)\n\n     lodash (71KB)\n       Alternative: lodash-es with tree-shaking\n   ```\n\n3. Apply the recommended fixes by replacing heavy dependencies.\n\n4. Re-run with verbose mode to check import patterns:\n   ```bash\n   python scripts\u002Fbundle_analyzer.py . --verbose\n   ```\n\n### Bundle Score Interpretation\n\n| Score | Grade | Action |\n|-------|-------|--------|\n| 90-100 | A | Bundle is well-optimized |\n| 80-89 | B | Minor optimizations available |\n| 70-79 | C | Replace heavy dependencies |\n| 60-69 | D | Multiple issues need attention |\n| 0-59 | F | Critical bundle size problems |\n\n### Heavy Dependencies Detected\n\nThe analyzer identifies these common heavy packages:\n\n| Package | Size | Alternative |\n|---------|------|-------------|\n| moment | 290KB | date-fns (12KB) or dayjs (2KB) |\n| lodash | 71KB | lodash-es with tree-shaking |\n| axios | 14KB | Native fetch or ky (3KB) |\n| jquery | 87KB | Native DOM APIs |\n| @mui\u002Fmaterial | Large | shadcn\u002Fui or Radix UI |\n\n---\n\n## React Patterns\n\nReference: `references\u002Freact_patterns.md`\n\n### Compound Components\n\nShare state between related components:\n\n```tsx\nconst Tabs = ({ children }) => {\n  const [active, setActive] = useState(0);\n  return (\n    \u003CTabsContext.Provider value={{ active, setActive }}>\n      {children}\n    \u003C\u002FTabsContext.Provider>\n  );\n};\n\nTabs.List = TabList;\nTabs.Panel = TabPanel;\n\n\u002F\u002F Usage\n\u003CTabs>\n  \u003CTabs.List>\n    \u003CTabs.Tab>One\u003C\u002FTabs.Tab>\n    \u003CTabs.Tab>Two\u003C\u002FTabs.Tab>\n  \u003C\u002FTabs.List>\n  \u003CTabs.Panel>Content 1\u003C\u002FTabs.Panel>\n  \u003CTabs.Panel>Content 2\u003C\u002FTabs.Panel>\n\u003C\u002FTabs>\n```\n\n### Custom Hooks\n\nExtract reusable logic:\n\n```tsx\nfunction useDebounce\u003CT>(value: T, delay = 500): T {\n  const [debouncedValue, setDebouncedValue] = useState(value);\n\n  useEffect(() => {\n    const timer = setTimeout(() => setDebouncedValue(value), delay);\n    return () => clearTimeout(timer);\n  }, [value, delay]);\n\n  return debouncedValue;\n}\n\n\u002F\u002F Usage\nconst debouncedSearch = useDebounce(searchTerm, 300);\n```\n\n### Render Props\n\nShare rendering logic:\n\n```tsx\nfunction DataFetcher({ url, render }) {\n  const [data, setData] = useState(null);\n  const [loading, setLoading] = useState(true);\n\n  useEffect(() => {\n    fetch(url).then(r => r.json()).then(setData).finally(() => setLoading(false));\n  }, [url]);\n\n  return render({ data, loading });\n}\n\n\u002F\u002F Usage\n\u003CDataFetcher\n  url=\"\u002Fapi\u002Fusers\"\n  render={({ data, loading }) =>\n    loading ? \u003CSpinner \u002F> : \u003CUserList users={data} \u002F>\n  }\n\u002F>\n```\n\n---\n\n## Next.js Optimization\n\nReference: `references\u002Fnextjs_optimization_guide.md`\n\n### Server vs Client Components\n\nUse Server Components by default. Add 'use client' only when you need:\n- Event handlers (onClick, onChange)\n- State (useState, useReducer)\n- Effects (useEffect)\n- Browser APIs\n\n```tsx\n\u002F\u002F Server Component (default) - no 'use client'\nasync function ProductPage({ params }) {\n  const product = await getProduct(params.id);  \u002F\u002F Server-side fetch\n\n  return (\n    \u003Cdiv>\n      \u003Ch1>{product.name}\u003C\u002Fh1>\n      \u003CAddToCartButton productId={product.id} \u002F>  {\u002F* Client component *\u002F}\n    \u003C\u002Fdiv>\n  );\n}\n\n\u002F\u002F Client Component\n'use client';\nfunction AddToCartButton({ productId }) {\n  const [adding, setAdding] = useState(false);\n  return \u003Cbutton onClick={() => addToCart(productId)}>Add\u003C\u002Fbutton>;\n}\n```\n\n### Image Optimization\n\n```tsx\nimport Image from 'next\u002Fimage';\n\n\u002F\u002F Above the fold - load immediately\n\u003CImage\n  src=\"\u002Fhero.jpg\"\n  alt=\"Hero\"\n  width={1200}\n  height={600}\n  priority\n\u002F>\n\n\u002F\u002F Responsive image with fill\n\u003Cdiv className=\"relative aspect-video\">\n  \u003CImage\n    src=\"\u002Fproduct.jpg\"\n    alt=\"Product\"\n    fill\n    sizes=\"(max-width: 768px) 100vw, 50vw\"\n    className=\"object-cover\"\n  \u002F>\n\u003C\u002Fdiv>\n```\n\n### Data Fetching Patterns\n\n```tsx\n\u002F\u002F Parallel fetching\nasync function Dashboard() {\n  const [user, stats] = await Promise.all([\n    getUser(),\n    getStats()\n  ]);\n  return \u003Cdiv>...\u003C\u002Fdiv>;\n}\n\n\u002F\u002F Streaming with Suspense\nasync function ProductPage({ params }) {\n  return (\n    \u003Cdiv>\n      \u003CProductDetails id={params.id} \u002F>\n      \u003CSuspense fallback={\u003CReviewsSkeleton \u002F>}>\n        \u003CReviews productId={params.id} \u002F>\n      \u003C\u002FSuspense>\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n---\n\n## Accessibility and Testing\n\nReference: `references\u002Ffrontend_best_practices.md`\n\n### Accessibility Checklist\n\n1. **Semantic HTML**: Use proper elements (`\u003Cbutton>`, `\u003Cnav>`, `\u003Cmain>`)\n2. **Keyboard Navigation**: All interactive elements focusable\n3. **ARIA Labels**: Provide labels for icons and complex widgets\n4. **Color Contrast**: Minimum 4.5:1 for normal text\n5. **Focus Indicators**: Visible focus states\n\n```tsx\n\u002F\u002F Accessible button\n\u003Cbutton\n  type=\"button\"\n  aria-label=\"Close dialog\"\n  onClick={onClose}\n  className=\"focus-visible:ring-2 focus-visible:ring-blue-500\"\n>\n  \u003CXIcon aria-hidden=\"true\" \u002F>\n\u003C\u002Fbutton>\n\n\u002F\u002F Skip link for keyboard users\n\u003Ca href=\"#main-content\" className=\"sr-only focus:not-sr-only\">\n  Skip to main content\n\u003C\u002Fa>\n```\n\n### Testing Strategy\n\n```tsx\n\u002F\u002F Component test with React Testing Library\nimport { render, screen } from '@testing-library\u002Freact';\nimport userEvent from '@testing-library\u002Fuser-event';\n\ntest('button triggers action on click', async () => {\n  const onClick = vi.fn();\n  render(\u003CButton onClick={onClick}>Click me\u003C\u002FButton>);\n\n  await userEvent.click(screen.getByRole('button'));\n  expect(onClick).toHaveBeenCalledTimes(1);\n});\n\n\u002F\u002F Test accessibility\ntest('dialog is accessible', async () => {\n  render(\u003CDialog open={true} title=\"Confirm\" \u002F>);\n\n  expect(screen.getByRole('dialog')).toBeInTheDocument();\n  expect(screen.getByRole('dialog')).toHaveAttribute('aria-labelledby');\n});\n```\n\n---\n\n## Quick Reference\n\n### Common Next.js Config\n\n```js\n\u002F\u002F next.config.js\nconst nextConfig = {\n  images: {\n    remotePatterns: [{ hostname: \"cdnexamplecom\" }],\n    formats: ['image\u002Favif', 'image\u002Fwebp'],\n  },\n  experimental: {\n    optimizePackageImports: ['lucide-react', '@heroicons\u002Freact'],\n  },\n};\n```\n\n### Tailwind CSS Utilities\n\n```tsx\n\u002F\u002F Conditional classes with cn()\nimport { cn } from '@\u002Flib\u002Futils';\n\n\u003Cbutton className={cn(\n  'px-4 py-2 rounded',\n  variant === 'primary' && 'bg-blue-500 text-white',\n  disabled && 'opacity-50 cursor-not-allowed'\n)} \u002F>\n```\n\n### TypeScript Patterns\n\n```tsx\n\u002F\u002F Props with children\ninterface CardProps {\n  className?: string;\n  children: React.ReactNode;\n}\n\n\u002F\u002F Generic component\ninterface ListProps\u003CT> {\n  items: T[];\n  renderItem: (item: T) => React.ReactNode;\n}\n\nfunction List\u003CT>({ items, renderItem }: ListProps\u003CT>) {\n  return \u003Cul>{items.map(renderItem)}\u003C\u002Ful>;\n}\n```\n\n---\n\n## Resources\n\n- React Patterns: `references\u002Freact_patterns.md`\n- Next.js Optimization: `references\u002Fnextjs_optimization_guide.md`\n- Best Practices: `references\u002Ffrontend_best_practices.md`\n- Forcing-question library (Matt Pocock grill): `references\u002Fforcing_questions.md`\n- Composition map (which specialist to fork into): `references\u002Fcomposition_map.md`\n\n---\n\n## Assumptions and Verifiable Success Criteria (Karpathy discipline)\n\nBefore this skill scaffolds a component, recommends a framework, or audits a bundle, the following four assumptions MUST be surfaced.\n\n1. **Primary user device + network** — mobile-4G, desktop-fiber, low-end-Android, or corporate-network. Drives every perf decision.\n2. **LCP target in milliseconds** — a single number, not \"fast.\" Drives bundle budget and rendering choice.\n3. **SEO-dependent vs. auth-walled** — drives rendering (SSR\u002FSSG\u002FRSC vs. SPA).\n4. **WCAG target + named a11y owner** — AA, AAA, or best-effort. Drives a11y investment and CI gates.\n\n**Verifiable success criteria** (Karpathy #4) — every recommendation must include:\n\n- Core Web Vitals targets (LCP, INP, CLS) at p75 on the primary device\n- A per-route JS bundle budget in KB-gzip\n- A Lighthouse a11y floor + perf floor\n\nIf any of those three is not stated, the recommendation is incomplete — return to Q2 of the forcing-question library.\n\nThe `scripts\u002Ffrontend_decision_engine.py` tool encodes these checks: it refuses to recommend a profile without the four assumption inputs and prints the verifiable thresholds for the matched profile.\n\n---\n\n## Customization profiles\n\nFour built-in profiles in `profiles\u002F` calibrate every recommendation:\n\n| Profile | When to pick | LCP target (mobile-4G p75) | Bundle budget |\n|---|---|---|---|\n| `next-app-router` | SaaS customer-facing, SEO + dynamic, RSC-first | 2000ms | 150 KB-gzip \u002F route |\n| `remix-or-sveltekit` | Mobile-4G primary, low-JS-first, progressive enhancement | 1500ms | 80 KB-gzip \u002F route |\n| `vite-spa` | Auth-walled app, desktop\u002Fcorporate primary | 2500ms | 200 KB init + 80 KB \u002F route |\n| `astro-or-static` | Marketing \u002F docs \u002F blog, near-zero write, SEO-critical | 1200ms | 30 KB JS \u002F page |\n\nPick a profile via:\n\n```bash\npython scripts\u002Ffrontend_decision_engine.py \\\n  --primary-device mobile-4g --lcp-target-ms 2000 \\\n  --seo-dependent true --auth-walled false --team-size 5\n```\n\nThe tool returns the best-fit profile, the runner-up tradeoff (if within 15%), the stack picks, the anti-patterns to avoid on that profile, and the required CI gates.\n\nTo add a custom profile (e.g., your org's internal-tool defaults): copy `profiles\u002Fvite-spa.json` to `profiles\u002F\u003Cyour-org>.json` and adjust `constraints` + `success_thresholds`.\n\n---\n\n## Composition map\n\nThis skill does NOT reimplement scope owned by the POWERFUL-tier specialists. It forks into them. See `references\u002Fcomposition_map.md` for the full routing table. Key forks:\n\n| Concern | Fork into |\n|---|---|\n| WCAG audit, contrast, screen-reader | `engineering-team\u002Fskills\u002Fa11y-audit\u002F` |\n| Bundle profiling + runtime perf | `engineering\u002Fskills\u002Fperformance-profiler\u002F` |\n| Cinematic \u002F scroll-storytelling landing | `engineering-team\u002Fskills\u002Fepic-design\u002F` |\n| Apple HIG (iOS \u002F macOS \u002F visionOS) | `product-team\u002Fskills\u002Fapple-hig-expert\u002F` |\n| Pre-commit Karpathy review | `engineering\u002Fkarpathy-coder\u002F` |\n| Pre-flight architecture grill | `engineering\u002Fgrill-me\u002F` |\n\nThe `cs-frontend-engineer` agent orchestrates these forks via `context: fork`. Invoke it from another agent with `Agent({subagent_type: \"cs-frontend-engineer\", prompt: \"...\"})` or via `\u002Fcs:frontend-review \u003Cyour problem>`.\n\n---\n\n## Forcing-question library (Matt Pocock grill)\n\nBefore locking any framework or rendering decision, walk the seven forcing questions in `references\u002Fforcing_questions.md`. Discipline:\n\n1. One question per turn. No bundling.\n2. Always recommend the answer with cited canon.\n3. Track answers in `\u002Ftmp\u002Ffrontend-grill-\u003Cdate>.md`.\n4. If a kill criterion trips, stop. Don't scaffold around an unresolved gap.\n5. After Q7, run `frontend_decision_engine.py` with the seven answers.\n\nSummary:\n\n1. Primary device + network?\n2. LCP target in ms (and INP, CLS)?\n3. RSC \u002F SPA \u002F SSR \u002F SSG — pick and defend?\n4. JS bundle budget per route?\n5. SEO-dependent or auth-walled?\n6. Design-system source of truth?\n7. WCAG target + named a11y owner?\n\n---\n\n## Invocation from other agents and skills\n\nThree surfaces:\n\n1. **Slash command:** `\u002Fcs:frontend-review \u003Cprompt>` — full grill + decision engine + composition routing.\n2. **Agent subagent:** `Agent({subagent_type: \"cs-frontend-engineer\", prompt: \"...\"})` — forks context, returns ≤ 200-word digest.\n3. **Direct tool call:** `python scripts\u002Ffrontend_decision_engine.py ...` — deterministic profile match when inputs are known.\n\nSee `agents\u002Fengineering\u002Fcs-frontend-engineer.md` for the full invocation contract.\n",{"name":5,"description":7},"devin\u002F1780503568-install-devin-skills","c1c6a7ac191f1fb795ae7f57f2fbfa600d3ef56b",".devin\u002Fskills\u002Fsenior-frontend",0,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin","https:\u002F\u002Fgithub.com\u002Fkruxshnx","https:\u002F\u002Fgovinda-krishna.vercel.app\u002F","2026-06-04 00:21:41",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kruxshnx\u002Fclaude-skills-devin --skill senior-frontend",{"tool":38,"command":39},"bunx","bunx skills add kruxshnx\u002Fclaude-skills-devin --skill senior-frontend",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kruxshnx\u002Fclaude-skills-devin --skill senior-frontend","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84,90,94,98],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"profiles\u002Fastro-or-static.json","REFERENCE","参考文档",2571,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fprofiles\u002Fastro-or-static.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"profiles\u002Fnext-app-router.json",2540,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fprofiles\u002Fnext-app-router.json",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"profiles\u002Fremix-or-sveltekit.json",2398,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fprofiles\u002Fremix-or-sveltekit.json",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"profiles\u002Fvite-spa.json",2354,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fprofiles\u002Fvite-spa.json",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcomposition_map.md",4312,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Freferences\u002Fcomposition_map.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fforcing_questions.md",8087,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Freferences\u002Fforcing_questions.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Ffrontend_best_practices.md",19783,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Freferences\u002Ffrontend_best_practices.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fnextjs_optimization_guide.md",15123,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Freferences\u002Fnextjs_optimization_guide.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Freact_patterns.md",17341,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Freferences\u002Freact_patterns.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fbundle_analyzer.py","SCRIPT","脚本",13339,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fscripts\u002Fbundle_analyzer.py",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fcomponent_generator.py",8684,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fscripts\u002Fcomponent_generator.py",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Ffrontend_decision_engine.py",12338,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fscripts\u002Ffrontend_decision_engine.py",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Ffrontend_scaffolder.py",27981,"https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002F.devin\u002Fskills\u002Fsenior-frontend\u002Fscripts\u002Ffrontend_scaffolder.py",[103,111,118,125,132,139],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":110},"01M779G0P3W78CJF700K9AHJ6M","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Triggers whenever a user uploads a syllabus, course outline, or curriculum document and wants supplementary readings. Also triggers on: 'syllabus reading list', 'find papers for my course', 'create a reading list from this syllabus', 'recent research for my class', 'supplementary readings', 'find journal articles for these topics', 'what recent papers cover this material', 'any new research on these course topics', 'update my syllabus with recent papers'. Even casual mentions when a syllabus is attached should trigger this skill.","https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":110},"01M779FBBF54JKVQAGBAYHWE0B","research","Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends\u002Fsentiment, grants for NIH funding, litreview for academic literature, syllabus for course reading, patent for prior-art + IP landscape, dossier for entity research) or runs its own plan-decompose-multi-source-search-synthesize-cite fallback workflow when no specialist matches. Always surfaces the routing decision so users can override. Triggers — \"research [topic]\", \"look into [topic]\", \"what do we know about [topic]\", \"investigate [topic]\", \"find me information on [topic]\", \"do some research on [topic]\", \"I need to understand [topic]\", or any research request that doesn't obviously match a more-specific specialist skill. Output is a markdown briefing (default) or .docx document (on request) with full citations and an audit log.","https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002Fresearch\u002Fresearch\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":110},"01M779EQ39CGK5Q4V78KC0HNMV","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Triggers: 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]', or any variation requesting multi-source recency intelligence on a topic. Also use for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"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":110},"01M779EDS05MYFXBF7PGTVSDMA","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Triggers: 'prior art search for [invention]', 'patent search on [topic]', 'freedom to operate analysis', 'FTO for [product]', 'patent landscape for [field]', 'is [invention] novel', 'patents on [topic]', 'competitive patent analysis', 'prior art for litigation', 'patent diligence on [company]'. Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":110},"01M779DVA52T5F0YC5HSM9BW4Z","notebooklm","Browser automation skill for controlling Google's NotebookLM. Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio Overview, infographics, slide decks, study guides, briefing docs, mind maps, timelines, FAQs), and creating new notebooks. Triggers on any phrase involving NotebookLM — 'open NotebookLM', 'check my [name] notebook', 'pull info from NotebookLM', 'ask my notebook about X', 'add [source] to NotebookLM', 'create an infographic in NotebookLM', 'use NotebookLM Studio', 'generate a slide deck from my notebook', or any variation where the goal involves NotebookLM. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":110},"01M779D3SGW8FM1N8G0HK860WT","litreview","Academic literature orientation skill that searches papers via Consensus, builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a professionally formatted Word document (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — not a finished review, but an orientation guide that lets a researcher dive in confidently. Triggers: 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'. Do NOT trigger for single one-off paper searches where the user just wants a quick list — that's a plain Consensus search.","https:\u002F\u002Fgithub.com\u002Fkruxshnx\u002Fclaude-skills-devin\u002Fblob\u002Fdevin\u002F1780503568-install-devin-skills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[]]