[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CQKR3Q9HVXHZ2V7XW298JS":3,"skill-same:01M6CQKR3Q9HVXHZ2V7XW298JS":86},{"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":26,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":14,"repositoryHtmlUrl":66,"repositoryHomepageUrl":67,"ownerHtmlUrl":68,"ownerBlogUrl":69,"ownerDescription":70,"updatedAt":71,"install":72,"resources":85},"01M6CQKR3Q9HVXHZ2V7XW298JS","nextjs",null,"Next.js App Router, RSC, caching, middleware, deployment patterns.","Trollz1004\u002FANTIGRAVITY","Trollz1004","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F132442315?v=4","01M6CQ4Z97ERZA2CXR388F6NZ1","Joshua Coleman","01M6CQ4ZCYE67QPNWBBV8H9DBE",0,"MIT","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002Fhermes\u002Ffrontend-react\u002Fnextjs\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",[5,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"js","rsc","server-components","middleware","app","caching","next","patterns","router","vercel","hermes agent","hermes","frontend","Next.js","server","database","deployment","windows","react","components","linux","macos","2026-11-10 10:12:30",false,"---\nname: nextjs\ndescription: \"Next.js App Router, RSC, caching, middleware, deployment patterns.\"\nversion: 1.0.0\nauthor: Joshua (joshlcoleman), Hermes Agent\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [nextjs, app-router, rsc, server-components, vercel]\n    related_skills: [frontend-react, database]\n---\n\n# Next.js\n\n## When to Use\n\n- Building full-stack React applications\n- API routes or server actions\n- SEO-critical pages (SSR\u002FSSG)\n- Vercel deployments\n\n## App Router Patterns\n\n### Server Components (Default)\n\n```tsx\n\u002F\u002F app\u002Fpage.tsx — Server Component by default\nimport { db } from '@\u002Flib\u002Fdb';\n\nexport default async function Page() {\n  const posts = await db.post.findMany();\n  return (\n    \u003Cmain>\n      {posts.map(post => (\n        \u003CPostCard key={post.id} post={post} \u002F>\n      ))}\n    \u003C\u002Fmain>\n  );\n}\n```\n\n### Client Components\n\n```tsx\n'use client';\nimport { useState } from 'react';\n\nexport function Search() {\n  const [query, setQuery] = useState('');\n  return \u003Cinput value={query} onChange={e => setQuery(e.target.value)} \u002F>;\n}\n```\n\n### Server Actions\n\n```tsx\n\u002F\u002F app\u002Factions.ts\n'use server';\nimport { db } from '@\u002Flib\u002Fdb';\nimport { revalidatePath } from 'next\u002Fcache';\n\nexport async function createPost(formData: FormData) {\n  await db.post.create({\n    data: { title: formData.get('title') as string }\n  });\n  revalidatePath('\u002Fposts');\n}\n```\n\n### Route Handlers\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fposts\u002Froute.ts\nimport { NextResponse } from 'next\u002Fserver';\n\nexport async function GET() {\n  const posts = await db.post.findMany();\n  return NextResponse.json(posts);\n}\n```\n\n## Caching Strategy\n\n| Type | Use For | How |\n|------|---------|-----|\n| Static | Blog posts, docs | `generateStaticParams()` |\n| ISR | Product catalogs | `revalidate: 3600` |\n| Dynamic | User dashboards | No caching |\n| On-demand | Admin panels | `revalidateTag()` |\n\n## Middleware\n\n```ts\n\u002F\u002F middleware.ts\nimport { NextResponse } from 'next\u002Fserver';\nimport type { NextRequest } from 'next\u002Fserver';\n\nexport function middleware(request: NextRequest) {\n  \u002F\u002F Auth, redirects, A\u002FB testing, geo\n  const token = request.cookies.get('token');\n  if (!token && request.nextUrl.pathname.startsWith('\u002Fdashboard')) {\n    return NextResponse.redirect(new URL('\u002Flogin', request.url));\n  }\n  return NextResponse.next();\n}\n\nexport const config = {\n  matcher: ['\u002F((?!api|_next\u002Fstatic|favicon.ico).*)'],\n};\n```\n\n## Pitfalls\n\n- **'use client' everywhere** → Only when needed (state, effects, browser APIs)\n- **Fetching in client** → Fetch in Server Components, pass as props\n- **Over-fetching** → Select only needed fields from DB\n- **Missing loading.tsx** → Always add for async Server Components\n- **Missing error.tsx** → Always add for error boundaries\n\n## Verification\n\n- [ ] Pages load with correct rendering strategy\n- [ ] Server actions work without JS\n- [ ] Caching behaves as expected\n- [ ] Middleware runs on correct paths\n- [ ] Build passes with no warnings\n","# Next.js\n\n## When to Use\n\n- Building full-stack React applications\n- API routes or server actions\n- SEO-critical pages (SSR\u002FSSG)\n- Vercel deployments\n\n## App Router Patterns\n\n### Server Components (Default)\n\n```tsx\n\u002F\u002F app\u002Fpage.tsx — Server Component by default\nimport { db } from '@\u002Flib\u002Fdb';\n\nexport default async function Page() {\n  const posts = await db.post.findMany();\n  return (\n    \u003Cmain>\n      {posts.map(post => (\n        \u003CPostCard key={post.id} post={post} \u002F>\n      ))}\n    \u003C\u002Fmain>\n  );\n}\n```\n\n### Client Components\n\n```tsx\n'use client';\nimport { useState } from 'react';\n\nexport function Search() {\n  const [query, setQuery] = useState('');\n  return \u003Cinput value={query} onChange={e => setQuery(e.target.value)} \u002F>;\n}\n```\n\n### Server Actions\n\n```tsx\n\u002F\u002F app\u002Factions.ts\n'use server';\nimport { db } from '@\u002Flib\u002Fdb';\nimport { revalidatePath } from 'next\u002Fcache';\n\nexport async function createPost(formData: FormData) {\n  await db.post.create({\n    data: { title: formData.get('title') as string }\n  });\n  revalidatePath('\u002Fposts');\n}\n```\n\n### Route Handlers\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fposts\u002Froute.ts\nimport { NextResponse } from 'next\u002Fserver';\n\nexport async function GET() {\n  const posts = await db.post.findMany();\n  return NextResponse.json(posts);\n}\n```\n\n## Caching Strategy\n\n| Type | Use For | How |\n|------|---------|-----|\n| Static | Blog posts, docs | `generateStaticParams()` |\n| ISR | Product catalogs | `revalidate: 3600` |\n| Dynamic | User dashboards | No caching |\n| On-demand | Admin panels | `revalidateTag()` |\n\n## Middleware\n\n```ts\n\u002F\u002F middleware.ts\nimport { NextResponse } from 'next\u002Fserver';\nimport type { NextRequest } from 'next\u002Fserver';\n\nexport function middleware(request: NextRequest) {\n  \u002F\u002F Auth, redirects, A\u002FB testing, geo\n  const token = request.cookies.get('token');\n  if (!token && request.nextUrl.pathname.startsWith('\u002Fdashboard')) {\n    return NextResponse.redirect(new URL('\u002Flogin', request.url));\n  }\n  return NextResponse.next();\n}\n\nexport const config = {\n  matcher: ['\u002F((?!api|_next\u002Fstatic|favicon.ico).*)'],\n};\n```\n\n## Pitfalls\n\n- **'use client' everywhere** → Only when needed (state, effects, browser APIs)\n- **Fetching in client** → Fetch in Server Components, pass as props\n- **Over-fetching** → Select only needed fields from DB\n- **Missing loading.tsx** → Always add for async Server Components\n- **Missing error.tsx** → Always add for error boundaries\n\n## Verification\n\n- [ ] Pages load with correct rendering strategy\n- [ ] Server actions work without JS\n- [ ] Caching behaves as expected\n- [ ] Middleware runs on correct paths\n- [ ] Build passes with no warnings\n",{"name":5,"author":54,"license":15,"version":55,"metadata":56,"platforms":62,"description":7},"Joshua (joshlcoleman), Hermes Agent","1.0.0",{"hermes":57},{"tags":58,"related_skills":60},[5,59,28,29,36],"app-router",[61,42],"frontend-react",[47,48,44],"main","6deb42cc8c67a99d7613cb5802f8bbe01a0f3d12","hermes\u002Ffrontend-react\u002Fnextjs","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY","https:\u002F\u002Fwww.ai-solutions.store","https:\u002F\u002Fgithub.com\u002FTrollz1004","https:\u002F\u002Fyouandinotai.com","Founder building YouAndINotAI, OnlineRecycle, and AIDoesItAll through Trash Or Treasure Online Recycler LLC.","2026-11-15 02:28:18",{"source":8,"skillName":5,"commands":73,"prompt":83,"zipAvailable":84},[74,77,80],{"tool":75,"command":76},"npx","npx skills add Trollz1004\u002FANTIGRAVITY --skill nextjs",{"tool":78,"command":79},"bunx","bunx skills add Trollz1004\u002FANTIGRAVITY --skill nextjs",{"tool":81,"command":82},"pnpm","pnpm dlx skills add Trollz1004\u002FANTIGRAVITY --skill nextjs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002Fhermes\u002Ffrontend-react\u002Fnextjs\u002FSKILL.md",true,[],[87,115,149,175,202,226],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":49},"01M6M5BT49KEBHJM9D0P5NM8ED","security-audit","Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full\u002Fcomprehensive\u002Fend-to-end reviews, or requested report artifacts.","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-audit\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-audit\u002FSKILL.md",[],[95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"security audit","audit","security","reviews","end","only","workflow","vulnerability","review","libraries","cli","run","Tools","full","for","complete","security guidance","codebase audit","tests","use",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":119,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":132,"publishedAt":49},"01M6M5B16Q534MKFHKBHRZ2773","impeccable","Use when the user wants to design, redesign, shape, critique, audit, polish, simplify, harden, animate, or otherwise improve a frontend interface: websites, landing pages, dashboards, product UI, components, forms, settings, onboarding, empty states, and native iOS or Android screens. Handles UX review, hierarchy, layout, typography, color, motion, UX copy, accessibility, responsive behavior, edge cases, and capturing or documenting design systems (DESIGN.md, tokens). Also for making bland UI bolder, loud UI quieter, or ambitious visual effects. Not for backend-only or non-UI tasks.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimpeccable\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fimpeccable\u002FSKILL.md",[123,124,127],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":128,"categoryName":129,"taxonomyType":130,"taxonomyTypeDesc":131},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[117,133,134,135,39,136,137,138,100,139,140,141,142,46,103,143,144,145,146,147,148],"ux copy","states","quieter","improve","design","interface","design systems","effects","simplify","tasks","hierarchy","critique","native","product","layout","when",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":153,"sourceHtmlUrl":154,"categories":155,"keywords":160,"publishedAt":49},"01M6M5AHHV2NPZYVMW48HP7A6H","hallmark","Design skill for websites and new pages that look designed, not generated. Use when the user asks to build or design something new, or names Hallmark. Never use it on an existing design unless the user names Hallmark, as in `\u002Fhallmark redesign \u003Cpath>`.","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fhallmark\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fhallmark\u002FSKILL.md",[156,157],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":158,"categoryName":159,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[151,161,162,109,163,164,137,165,114,166,167,168,96,169,170,171,172,173,174,148],"as","never","true","pages","generated","Existing","prompt","build","redesign","look","it","user","path","new",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":119,"licenseFileUrl":179,"sourceHtmlUrl":180,"categories":181,"keywords":186,"publishedAt":49},"01M6CQDXJ785JCD5PMKYD239ZZ","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[182,185],{"categoryNo":183,"categoryName":184,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[187,188,189,190,39,191,192,193,194,195,196,197,198,199,109,200,201],"webapp","testing","webapp testing","applications","debugging","toolkit","logs","browser","playwright","web","behavior","ui","screenshots","local","with",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":206,"sourceHtmlUrl":207,"categories":208,"keywords":209,"publishedAt":49},"01M6CQ5HBDE9Q5WJZXQ7G72MYD","appinsights-instrumentation","Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. USE FOR: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices. DO NOT USE FOR: adding App Insights to my app (use azure-prepare), add telemetry to my project (use azure-prepare), add monitoring (use azure-prepare). This skill provides guidance—azure-prepare orchestrates component changes.","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fappinsights-instrumentation\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fappinsights-instrumentation\u002FSKILL.md",[],[210,211,212,213,214,114,215,216,217,218,34,219,220,31,221,222,223,224,225,109],"appinsights instrumentation","instrumentation","do","azure","telemetry","monitoring","references","component","how","apm","sdk setup","project","insights","how to","my","add",{"skillNo":227,"name":228,"nameZh":6,"description":229,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":230,"categories":231,"keywords":245,"publishedAt":49},"01M6CQNQ5FNDP6K32RKXQ9X157","youtube-automation","YouTube automation: upload, SEO, thumbnails, scheduling, analytics.","https:\u002F\u002Fgithub.com\u002FTrollz1004\u002FANTIGRAVITY\u002Fblob\u002Fmain\u002Fops\u002Fskills\u002Fyoutube-automation\u002FSKILL.md",[232,235,238,239,242],{"categoryNo":233,"categoryName":234,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000013","分析与可视化",{"categoryNo":236,"categoryName":237,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000019","营销推广",{"categoryNo":158,"categoryName":159,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":240,"categoryName":241,"taxonomyType":130,"taxonomyTypeDesc":131},"01JBSEEDCAT000000000000033","数据分析师",{"categoryNo":243,"categoryName":244,"taxonomyType":130,"taxonomyTypeDesc":131},"01JBSEEDCAT000000000000035","市场营销",[246,247,248,44,249,47,250,251,38,252,37,253,48,254],"automation","youtube","youtube automation","seo","scheduling","thumbnails","analytics","content","upload"]