[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C4NJKPZX0DYNR207HXEE1T":3,"skill-same:01M7C4NJKPZX0DYNR207HXEE1T":62},{"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":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M7C4NJKPZX0DYNR207HXEE1T","sveltekit",null,"Build full-stack web applications with SvelteKit — file-based routing, SSR, SSG, API routes, and form actions in one framework.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fsveltekit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sveltekit\ndescription: \"Build full-stack web applications with SvelteKit — file-based routing, SSR, SSG, API routes, and form actions in one framework.\"\ncategory: frontend\nrisk: safe\nsource: community\ndate_added: \"2026-03-18\"\nauthor: suhaibjanjua\ntags: [svelte, sveltekit, fullstack, ssr, ssg, typescript]\ntools: [claude, cursor, gemini]\n---\n\n# SvelteKit Full-Stack Development\n\n## Overview\n\nSvelteKit is the official full-stack framework built on top of Svelte. It provides file-based routing, server-side rendering (SSR), static site generation (SSG), API routes, and progressive form actions — all with Svelte's compile-time reactivity model that ships zero runtime overhead to the browser. Use this skill when building fast, modern web apps where both DX and performance matter.\n\n## When to Use This Skill\n\n- Use when building a new full-stack web application with Svelte\n- Use when you need SSR or SSG with fine-grained control per route\n- Use when migrating a SPA to a framework with server capabilities\n- Use when working on a project that needs file-based routing and collocated API endpoints\n- Use when the user asks about `+page.svelte`, `+layout.svelte`, `load` functions, or form actions\n\n## How It Works\n\n### Step 1: Project Setup\n\n```bash\nnpm create svelte@latest my-app\ncd my-app\nnpm install\nnpm run dev\n```\n\nChoose **Skeleton project** + **TypeScript** + **ESLint\u002FPrettier** when prompted.\n\nDirectory structure after scaffolding:\n\n```\nsrc\u002F\n  routes\u002F\n    +page.svelte        ← Root page component\n    +layout.svelte      ← Root layout (wraps all pages)\n    +error.svelte       ← Error boundary\n  lib\u002F\n    server\u002F             ← Server-only code (never bundled to client)\n    components\u002F         ← Shared components\n  app.html              ← HTML shell\nstatic\u002F                 ← Static assets\n```\n\n### Step 2: File-Based Routing\n\nEvery `+page.svelte` file in `src\u002Froutes\u002F` maps directly to a URL:\n\n```\nsrc\u002Froutes\u002F+page.svelte          → \u002F\nsrc\u002Froutes\u002Fabout\u002F+page.svelte    → \u002Fabout\nsrc\u002Froutes\u002Fblog\u002F[slug]\u002F+page.svelte  → \u002Fblog\u002F:slug\nsrc\u002Froutes\u002Fshop\u002F[...path]\u002F+page.svelte → \u002Fshop\u002F* (catch-all)\n```\n\n**Route groups** (no URL segment): wrap in `(group)\u002F` folder.\n**Private routes** (not accessible as URLs): prefix with `_` or `(group)`.\n\n### Step 3: Loading Data with `load` Functions\n\nUse a `+page.ts` (universal) or `+page.server.ts` (server-only) file alongside the page:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fblog\u002F[slug]\u002F+page.server.ts\nimport { error } from '@sveltejs\u002Fkit';\nimport type { PageServerLoad } from '.\u002F$types';\n\nexport const load: PageServerLoad = async ({ params, fetch }) => {\n  const post = await fetch(`\u002Fapi\u002Fposts\u002F${params.slug}`).then(r => r.json());\n\n  if (!post) {\n    error(404, 'Post not found');\n  }\n\n  return { post };\n};\n```\n\n```svelte\n\u003C!-- src\u002Froutes\u002Fblog\u002F[slug]\u002F+page.svelte -->\n\u003Cscript lang=\"ts\">\n  import type { PageData } from '.\u002F$types';\n  export let data: PageData;\n\u003C\u002Fscript>\n\n\u003Ch1>{data.post.title}\u003C\u002Fh1>\n\u003Carticle>{@html data.post.content}\u003C\u002Farticle>\n```\n\n### Step 4: API Routes (Server Endpoints)\n\nCreate `+server.ts` files for REST-style endpoints:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fapi\u002Fposts\u002F+server.ts\nimport { json } from '@sveltejs\u002Fkit';\nimport type { RequestHandler } from '.\u002F$types';\n\nexport const GET: RequestHandler = async ({ url }) => {\n  const limit = Number(url.searchParams.get('limit') ?? 10);\n  const posts = await db.post.findMany({ take: limit });\n  return json(posts);\n};\n\nexport const POST: RequestHandler = async ({ request }) => {\n  const body = await request.json();\n  const post = await db.post.create({ data: body });\n  return json(post, { status: 201 });\n};\n```\n\n### Step 5: Form Actions\n\nForm actions are the SvelteKit-native way to handle mutations — no client-side fetch required:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fcontact\u002F+page.server.ts\nimport { fail, redirect } from '@sveltejs\u002Fkit';\nimport type { Actions } from '.\u002F$types';\n\nexport const actions: Actions = {\n  default: async ({ request }) => {\n    const data = await request.formData();\n    const email = data.get('email');\n\n    if (!email) {\n      return fail(400, { email, missing: true });\n    }\n\n    await sendEmail(String(email));\n    redirect(303, '\u002Fthank-you');\n  }\n};\n```\n\n```svelte\n\u003C!-- src\u002Froutes\u002Fcontact\u002F+page.svelte -->\n\u003Cscript lang=\"ts\">\n  import { enhance } from '$app\u002Fforms';\n  import type { ActionData } from '.\u002F$types';\n  export let form: ActionData;\n\u003C\u002Fscript>\n\n\u003Cform method=\"POST\" use:enhance>\n  \u003Cinput name=\"email\" type=\"email\" \u002F>\n  {#if form?.missing}\u003Cp class=\"error\">Email is required\u003C\u002Fp>{\u002Fif}\n  \u003Cbutton type=\"submit\">Subscribe\u003C\u002Fbutton>\n\u003C\u002Fform>\n```\n\n### Step 6: Layouts and Nested Routes\n\n```svelte\n\u003C!-- src\u002Froutes\u002F+layout.svelte -->\n\u003Cscript lang=\"ts\">\n  import type { LayoutData } from '.\u002F$types';\n  export let data: LayoutData;\n\u003C\u002Fscript>\n\n\u003Cnav>\n  \u003Ca href=\"\u002F\">Home\u003C\u002Fa>\n  \u003Ca href=\"\u002Fblog\">Blog\u003C\u002Fa>\n  {#if data.user}\n    \u003Ca href=\"\u002Fdashboard\">Dashboard\u003C\u002Fa>\n  {\u002Fif}\n\u003C\u002Fnav>\n\n\u003Cslot \u002F>  \u003C!-- child page renders here -->\n```\n\n```typescript\n\u002F\u002F src\u002Froutes\u002F+layout.server.ts\nimport type { LayoutServerLoad } from '.\u002F$types';\n\nexport const load: LayoutServerLoad = async ({ locals }) => {\n  return { user: locals.user ?? null };\n};\n```\n\n### Step 7: Rendering Modes\n\nControl per-route rendering with page options:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fdocs\u002F+page.ts\nexport const prerender = true;   \u002F\u002F Static — generated at build time\nexport const ssr = true;         \u002F\u002F Default — rendered on server per request\nexport const csr = false;        \u002F\u002F Disable client-side hydration entirely\n```\n\n## Examples\n\n### Example 1: Protected Dashboard Route\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fdashboard\u002F+layout.server.ts\nimport { redirect } from '@sveltejs\u002Fkit';\nimport type { LayoutServerLoad } from '.\u002F$types';\n\nexport const load: LayoutServerLoad = async ({ locals }) => {\n  if (!locals.user) {\n    redirect(303, '\u002Flogin');\n  }\n  return { user: locals.user };\n};\n```\n\n### Example 2: Hooks — Session Middleware\n\n```typescript\n\u002F\u002F src\u002Fhooks.server.ts\nimport type { Handle } from '@sveltejs\u002Fkit';\nimport { verifyToken } from '$lib\u002Fserver\u002Fauth';\n\nexport const handle: Handle = async ({ event, resolve }) => {\n  const token = event.cookies.get('session');\n  if (token) {\n    event.locals.user = await verifyToken(token);\n  }\n  return resolve(event);\n};\n```\n\n### Example 3: Preloading and Invalidation\n\n```svelte\n\u003Cscript lang=\"ts\">\n  import { invalidateAll } from '$app\u002Fnavigation';\n\n  async function refresh() {\n    await invalidateAll(); \u002F\u002F re-runs all load functions on the page\n  }\n\u003C\u002Fscript>\n\n\u003Cbutton on:click={refresh}>Refresh\u003C\u002Fbutton>\n```\n\n## Best Practices\n\n- ✅ Use `+page.server.ts` for database\u002Fauth logic — it never ships to the client\n- ✅ Use `$lib\u002Fserver\u002F` for shared server-only modules (DB client, auth helpers)\n- ✅ Use form actions for mutations instead of client-side `fetch` — works without JS\n- ✅ Type all `load` return values with generated `$types` (`PageData`, `LayoutData`)\n- ✅ Use `event.locals` in hooks to pass server-side context to load functions\n- ❌ Don't import server-only code in `+page.svelte` or `+layout.svelte` directly\n- ❌ Don't store sensitive state in stores — use `locals` on the server\n- ❌ Don't skip `use:enhance` on forms — without it, forms lose progressive enhancement\n\n## Security & Safety Notes\n\n- All code in `+page.server.ts`, `+server.ts`, and `$lib\u002Fserver\u002F` runs exclusively on the server — safe for DB queries, secrets, and session validation.\n- Always validate and sanitize form data before database writes.\n- Use `error(403)` or `redirect(303)` from `@sveltejs\u002Fkit` rather than returning raw error objects.\n- Set `httpOnly: true` and `secure: true` on all auth cookies.\n- CSRF protection is built-in for form actions — do not disable `checkOrigin` in production.\n\n## Common Pitfalls\n\n- **Problem:** `Cannot use import statement in a module` in `+page.server.ts`\n  **Solution:** The file must be `.ts` or `.js`, not `.svelte`. Server files and Svelte components are separate.\n\n- **Problem:** Store value is `undefined` on first SSR render\n  **Solution:** Populate the store from the `load` function return value (`data` prop), not from client-side `onMount`.\n\n- **Problem:** Form action does not redirect after submit\n  **Solution:** Use `redirect(303, '\u002Fpath')` from `@sveltejs\u002Fkit`, not a plain `return`. 303 is required for POST redirects.\n\n- **Problem:** `locals.user` is undefined inside a `+page.server.ts` load function\n  **Solution:** Set `event.locals.user` in `src\u002Fhooks.server.ts` before the `resolve()` call.\n\n## Related Skills\n\n- `@nextjs-app-router-patterns` — When you prefer React over Svelte for SSR\u002FSSG\n- `@trpc-fullstack` — Add end-to-end type safety to SvelteKit API routes\n- `@auth-implementation-patterns` — Authentication patterns usable with SvelteKit hooks\n- `@tailwind-patterns` — Styling SvelteKit apps with Tailwind CSS\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# SvelteKit Full-Stack Development\n\n## Overview\n\nSvelteKit is the official full-stack framework built on top of Svelte. It provides file-based routing, server-side rendering (SSR), static site generation (SSG), API routes, and progressive form actions — all with Svelte's compile-time reactivity model that ships zero runtime overhead to the browser. Use this skill when building fast, modern web apps where both DX and performance matter.\n\n## When to Use This Skill\n\n- Use when building a new full-stack web application with Svelte\n- Use when you need SSR or SSG with fine-grained control per route\n- Use when migrating a SPA to a framework with server capabilities\n- Use when working on a project that needs file-based routing and collocated API endpoints\n- Use when the user asks about `+page.svelte`, `+layout.svelte`, `load` functions, or form actions\n\n## How It Works\n\n### Step 1: Project Setup\n\n```bash\nnpm create svelte@latest my-app\ncd my-app\nnpm install\nnpm run dev\n```\n\nChoose **Skeleton project** + **TypeScript** + **ESLint\u002FPrettier** when prompted.\n\nDirectory structure after scaffolding:\n\n```\nsrc\u002F\n  routes\u002F\n    +page.svelte        ← Root page component\n    +layout.svelte      ← Root layout (wraps all pages)\n    +error.svelte       ← Error boundary\n  lib\u002F\n    server\u002F             ← Server-only code (never bundled to client)\n    components\u002F         ← Shared components\n  app.html              ← HTML shell\nstatic\u002F                 ← Static assets\n```\n\n### Step 2: File-Based Routing\n\nEvery `+page.svelte` file in `src\u002Froutes\u002F` maps directly to a URL:\n\n```\nsrc\u002Froutes\u002F+page.svelte          → \u002F\nsrc\u002Froutes\u002Fabout\u002F+page.svelte    → \u002Fabout\nsrc\u002Froutes\u002Fblog\u002F[slug]\u002F+page.svelte  → \u002Fblog\u002F:slug\nsrc\u002Froutes\u002Fshop\u002F[...path]\u002F+page.svelte → \u002Fshop\u002F* (catch-all)\n```\n\n**Route groups** (no URL segment): wrap in `(group)\u002F` folder.\n**Private routes** (not accessible as URLs): prefix with `_` or `(group)`.\n\n### Step 3: Loading Data with `load` Functions\n\nUse a `+page.ts` (universal) or `+page.server.ts` (server-only) file alongside the page:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fblog\u002F[slug]\u002F+page.server.ts\nimport { error } from '@sveltejs\u002Fkit';\nimport type { PageServerLoad } from '.\u002F$types';\n\nexport const load: PageServerLoad = async ({ params, fetch }) => {\n  const post = await fetch(`\u002Fapi\u002Fposts\u002F${params.slug}`).then(r => r.json());\n\n  if (!post) {\n    error(404, 'Post not found');\n  }\n\n  return { post };\n};\n```\n\n```svelte\n\u003C!-- src\u002Froutes\u002Fblog\u002F[slug]\u002F+page.svelte -->\n\u003Cscript lang=\"ts\">\n  import type { PageData } from '.\u002F$types';\n  export let data: PageData;\n\u003C\u002Fscript>\n\n\u003Ch1>{data.post.title}\u003C\u002Fh1>\n\u003Carticle>{@html data.post.content}\u003C\u002Farticle>\n```\n\n### Step 4: API Routes (Server Endpoints)\n\nCreate `+server.ts` files for REST-style endpoints:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fapi\u002Fposts\u002F+server.ts\nimport { json } from '@sveltejs\u002Fkit';\nimport type { RequestHandler } from '.\u002F$types';\n\nexport const GET: RequestHandler = async ({ url }) => {\n  const limit = Number(url.searchParams.get('limit') ?? 10);\n  const posts = await db.post.findMany({ take: limit });\n  return json(posts);\n};\n\nexport const POST: RequestHandler = async ({ request }) => {\n  const body = await request.json();\n  const post = await db.post.create({ data: body });\n  return json(post, { status: 201 });\n};\n```\n\n### Step 5: Form Actions\n\nForm actions are the SvelteKit-native way to handle mutations — no client-side fetch required:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fcontact\u002F+page.server.ts\nimport { fail, redirect } from '@sveltejs\u002Fkit';\nimport type { Actions } from '.\u002F$types';\n\nexport const actions: Actions = {\n  default: async ({ request }) => {\n    const data = await request.formData();\n    const email = data.get('email');\n\n    if (!email) {\n      return fail(400, { email, missing: true });\n    }\n\n    await sendEmail(String(email));\n    redirect(303, '\u002Fthank-you');\n  }\n};\n```\n\n```svelte\n\u003C!-- src\u002Froutes\u002Fcontact\u002F+page.svelte -->\n\u003Cscript lang=\"ts\">\n  import { enhance } from '$app\u002Fforms';\n  import type { ActionData } from '.\u002F$types';\n  export let form: ActionData;\n\u003C\u002Fscript>\n\n\u003Cform method=\"POST\" use:enhance>\n  \u003Cinput name=\"email\" type=\"email\" \u002F>\n  {#if form?.missing}\u003Cp class=\"error\">Email is required\u003C\u002Fp>{\u002Fif}\n  \u003Cbutton type=\"submit\">Subscribe\u003C\u002Fbutton>\n\u003C\u002Fform>\n```\n\n### Step 6: Layouts and Nested Routes\n\n```svelte\n\u003C!-- src\u002Froutes\u002F+layout.svelte -->\n\u003Cscript lang=\"ts\">\n  import type { LayoutData } from '.\u002F$types';\n  export let data: LayoutData;\n\u003C\u002Fscript>\n\n\u003Cnav>\n  \u003Ca href=\"\u002F\">Home\u003C\u002Fa>\n  \u003Ca href=\"\u002Fblog\">Blog\u003C\u002Fa>\n  {#if data.user}\n    \u003Ca href=\"\u002Fdashboard\">Dashboard\u003C\u002Fa>\n  {\u002Fif}\n\u003C\u002Fnav>\n\n\u003Cslot \u002F>  \u003C!-- child page renders here -->\n```\n\n```typescript\n\u002F\u002F src\u002Froutes\u002F+layout.server.ts\nimport type { LayoutServerLoad } from '.\u002F$types';\n\nexport const load: LayoutServerLoad = async ({ locals }) => {\n  return { user: locals.user ?? null };\n};\n```\n\n### Step 7: Rendering Modes\n\nControl per-route rendering with page options:\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fdocs\u002F+page.ts\nexport const prerender = true;   \u002F\u002F Static — generated at build time\nexport const ssr = true;         \u002F\u002F Default — rendered on server per request\nexport const csr = false;        \u002F\u002F Disable client-side hydration entirely\n```\n\n## Examples\n\n### Example 1: Protected Dashboard Route\n\n```typescript\n\u002F\u002F src\u002Froutes\u002Fdashboard\u002F+layout.server.ts\nimport { redirect } from '@sveltejs\u002Fkit';\nimport type { LayoutServerLoad } from '.\u002F$types';\n\nexport const load: LayoutServerLoad = async ({ locals }) => {\n  if (!locals.user) {\n    redirect(303, '\u002Flogin');\n  }\n  return { user: locals.user };\n};\n```\n\n### Example 2: Hooks — Session Middleware\n\n```typescript\n\u002F\u002F src\u002Fhooks.server.ts\nimport type { Handle } from '@sveltejs\u002Fkit';\nimport { verifyToken } from '$lib\u002Fserver\u002Fauth';\n\nexport const handle: Handle = async ({ event, resolve }) => {\n  const token = event.cookies.get('session');\n  if (token) {\n    event.locals.user = await verifyToken(token);\n  }\n  return resolve(event);\n};\n```\n\n### Example 3: Preloading and Invalidation\n\n```svelte\n\u003Cscript lang=\"ts\">\n  import { invalidateAll } from '$app\u002Fnavigation';\n\n  async function refresh() {\n    await invalidateAll(); \u002F\u002F re-runs all load functions on the page\n  }\n\u003C\u002Fscript>\n\n\u003Cbutton on:click={refresh}>Refresh\u003C\u002Fbutton>\n```\n\n## Best Practices\n\n- ✅ Use `+page.server.ts` for database\u002Fauth logic — it never ships to the client\n- ✅ Use `$lib\u002Fserver\u002F` for shared server-only modules (DB client, auth helpers)\n- ✅ Use form actions for mutations instead of client-side `fetch` — works without JS\n- ✅ Type all `load` return values with generated `$types` (`PageData`, `LayoutData`)\n- ✅ Use `event.locals` in hooks to pass server-side context to load functions\n- ❌ Don't import server-only code in `+page.svelte` or `+layout.svelte` directly\n- ❌ Don't store sensitive state in stores — use `locals` on the server\n- ❌ Don't skip `use:enhance` on forms — without it, forms lose progressive enhancement\n\n## Security & Safety Notes\n\n- All code in `+page.server.ts`, `+server.ts`, and `$lib\u002Fserver\u002F` runs exclusively on the server — safe for DB queries, secrets, and session validation.\n- Always validate and sanitize form data before database writes.\n- Use `error(403)` or `redirect(303)` from `@sveltejs\u002Fkit` rather than returning raw error objects.\n- Set `httpOnly: true` and `secure: true` on all auth cookies.\n- CSRF protection is built-in for form actions — do not disable `checkOrigin` in production.\n\n## Common Pitfalls\n\n- **Problem:** `Cannot use import statement in a module` in `+page.server.ts`\n  **Solution:** The file must be `.ts` or `.js`, not `.svelte`. Server files and Svelte components are separate.\n\n- **Problem:** Store value is `undefined` on first SSR render\n  **Solution:** Populate the store from the `load` function return value (`data` prop), not from client-side `onMount`.\n\n- **Problem:** Form action does not redirect after submit\n  **Solution:** Use `redirect(303, '\u002Fpath')` from `@sveltejs\u002Fkit`, not a plain `return`. 303 is required for POST redirects.\n\n- **Problem:** `locals.user` is undefined inside a `+page.server.ts` load function\n  **Solution:** Set `event.locals.user` in `src\u002Fhooks.server.ts` before the `resolve()` call.\n\n## Related Skills\n\n- `@nextjs-app-router-patterns` — When you prefer React over Svelte for SSR\u002FSSG\n- `@trpc-fullstack` — Add end-to-end type safety to SvelteKit API routes\n- `@auth-implementation-patterns` — Authentication patterns usable with SvelteKit hooks\n- `@tailwind-patterns` — Styling SvelteKit apps with Tailwind CSS\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"tags":25,"tools":31,"author":35,"source":36,"category":37,"date_added":38,"description":7},"safe",[26,5,27,28,29,30],"svelte","fullstack","ssr","ssg","typescript",[32,33,34],"claude","cursor","gemini","suhaibjanjua","community","frontend","2026-03-18","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fsveltekit",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill sveltekit",{"tool":54,"command":55},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill sveltekit",{"tool":57,"command":58},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill sveltekit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fsveltekit\u002FSKILL.md",true,[],[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]