[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BV48B6VBC9VH1FT3YQS0R3":3,"skill-same:01M7BV48B6VBC9VH1FT3YQS0R3":93},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BV48B6VBC9VH1FT3YQS0R3","payload",null,"Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.","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-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: payload\ndescription: Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.\n---\n\n# Payload CMS Application Development\n\nPayload is a Next.js native CMS with TypeScript-first architecture, providing admin panel, database management, REST\u002FGraphQL APIs, authentication, and file storage.\n\n## Quick Reference\n\n| Task                     | Solution                                  | Details                                                                                                                          |\n| ------------------------ | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| Auto-generate slugs      | `slugField()`                             | [FIELDS.md#slug-field-helper](reference\u002FFIELDS.md#slug-field-helper)                                                             |\n| Restrict content by user | Access control with query                 | [ACCESS-CONTROL.md#row-level-security-with-complex-queries](reference\u002FACCESS-CONTROL.md#row-level-security-with-complex-queries) |\n| Local API user ops       | `user` + `overrideAccess: false`          | [QUERIES.md#access-control-in-local-api](reference\u002FQUERIES.md#access-control-in-local-api)                                       |\n| Draft\u002Fpublish workflow   | `versions: { drafts: true }`              | [COLLECTIONS.md#versioning--drafts](reference\u002FCOLLECTIONS.md#versioning--drafts)                                                 |\n| Computed fields          | `virtual: true` with afterRead            | [FIELDS.md#virtual-fields](reference\u002FFIELDS.md#virtual-fields)                                                                   |\n| Conditional fields       | `admin.condition`                         | [FIELDS.md#conditional-fields](reference\u002FFIELDS.md#conditional-fields)                                                           |\n| Custom field validation  | `validate` function                       | [FIELDS.md#validation](reference\u002FFIELDS.md#validation)                                                                           |\n| Filter relationship list | `filterOptions` on field                  | [FIELDS.md#relationship](reference\u002FFIELDS.md#relationship)                                                                       |\n| Select specific fields   | `select` parameter                        | [QUERIES.md#field-selection](reference\u002FQUERIES.md#field-selection)                                                               |\n| Auto-set author\u002Fdates    | beforeChange hook                         | [HOOKS.md#collection-hooks](reference\u002FHOOKS.md#collection-hooks)                                                                 |\n| Prevent hook loops       | `req.context` check                       | [HOOKS.md#context](reference\u002FHOOKS.md#context)                                                                                   |\n| Cascading deletes        | beforeDelete hook                         | [HOOKS.md#collection-hooks](reference\u002FHOOKS.md#collection-hooks)                                                                 |\n| Geospatial queries       | `point` field with `near`\u002F`within`        | [FIELDS.md#point-geolocation](reference\u002FFIELDS.md#point-geolocation)                                                             |\n| Reverse relationships    | `join` field type                         | [FIELDS.md#join-fields](reference\u002FFIELDS.md#join-fields)                                                                         |\n| Next.js revalidation     | Context control in afterChange            | [HOOKS.md#nextjs-revalidation-with-context-control](reference\u002FHOOKS.md#nextjs-revalidation-with-context-control)                 |\n| Query by relationship    | Nested property syntax                    | [QUERIES.md#nested-properties](reference\u002FQUERIES.md#nested-properties)                                                           |\n| Complex queries          | AND\u002FOR logic                              | [QUERIES.md#andor-logic](reference\u002FQUERIES.md#andor-logic)                                                                       |\n| Transactions             | Pass `req` to operations                  | [ADAPTERS.md#threading-req-through-operations](reference\u002FADAPTERS.md#threading-req-through-operations)                           |\n| Background jobs          | Jobs queue with tasks                     | [ADVANCED.md#jobs-queue](reference\u002FADVANCED.md#jobs-queue)                                                                       |\n| Custom API routes        | Collection custom endpoints               | [ADVANCED.md#custom-endpoints](reference\u002FADVANCED.md#custom-endpoints)                                                           |\n| Cloud storage            | Storage adapter plugins                   | [ADAPTERS.md#storage-adapters](reference\u002FADAPTERS.md#storage-adapters)                                                           |\n| Multi-language           | `localization` config + `localized: true` | [ADVANCED.md#localization](reference\u002FADVANCED.md#localization)                                                                   |\n| Create plugin            | `(options) => (config) => Config`         | [PLUGIN-DEVELOPMENT.md#plugin-architecture](reference\u002FPLUGIN-DEVELOPMENT.md#plugin-architecture)                                 |\n| Plugin package setup     | Package structure with SWC                | [PLUGIN-DEVELOPMENT.md#plugin-package-structure](reference\u002FPLUGIN-DEVELOPMENT.md#plugin-package-structure)                       |\n| Add fields to collection | Map collections, spread fields            | [PLUGIN-DEVELOPMENT.md#adding-fields-to-collections](reference\u002FPLUGIN-DEVELOPMENT.md#adding-fields-to-collections)               |\n| Plugin hooks             | Preserve existing hooks in array          | [PLUGIN-DEVELOPMENT.md#adding-hooks](reference\u002FPLUGIN-DEVELOPMENT.md#adding-hooks)                                               |\n| Check field type         | Type guard functions                      | [FIELD-TYPE-GUARDS.md](reference\u002FFIELD-TYPE-GUARDS.md)                                                                           |\n\n## Quick Start\n\n```bash\nnpx create-payload-app@latest my-app\ncd my-app\npnpm dev\n```\n\n### Minimal Config\n\n```ts\nimport { buildConfig } from 'payload'\nimport { mongooseAdapter } from '@payloadcms\u002Fdb-mongodb'\nimport { lexicalEditor } from '@payloadcms\u002Frichtext-lexical'\nimport path from 'path'\nimport { fileURLToPath } from 'url'\n\nconst filename = fileURLToPath(import.meta.url)\nconst dirname = path.dirname(filename)\n\nexport default buildConfig({\n  admin: {\n    user: 'users',\n    importMap: {\n      baseDir: path.resolve(dirname),\n    },\n  },\n  collections: [Users, Media],\n  editor: lexicalEditor(),\n  secret: process.env.PAYLOAD_SECRET,\n  typescript: {\n    outputFile: path.resolve(dirname, 'payload-types.ts'),\n  },\n  db: mongooseAdapter({\n    url: process.env.DATABASE_URL,\n  }),\n})\n```\n\n## Essential Patterns\n\n### Basic Collection\n\n```ts\nimport type { CollectionConfig } from 'payload'\n\nexport const Posts: CollectionConfig = {\n  slug: 'posts',\n  admin: {\n    useAsTitle: 'title',\n    defaultColumns: ['title', 'author', 'status', 'createdAt'],\n  },\n  fields: [\n    { name: 'title', type: 'text', required: true },\n    { name: 'slug', type: 'text', unique: true, index: true },\n    { name: 'content', type: 'richText' },\n    { name: 'author', type: 'relationship', relationTo: 'users' },\n  ],\n  timestamps: true,\n}\n```\n\nFor more collection patterns (auth, upload, drafts, live preview), see [COLLECTIONS.md](reference\u002FCOLLECTIONS.md).\n\n### Common Fields\n\n```ts\n\u002F\u002F Text field\n{ name: 'title', type: 'text', required: true }\n\n\u002F\u002F Relationship\n{ name: 'author', type: 'relationship', relationTo: 'users', required: true }\n\n\u002F\u002F Rich text\n{ name: 'content', type: 'richText', required: true }\n\n\u002F\u002F Select\n{ name: 'status', type: 'select', options: ['draft', 'published'], defaultValue: 'draft' }\n\n\u002F\u002F Upload\n{ name: 'image', type: 'upload', relationTo: 'media' }\n```\n\nFor all field types (array, blocks, point, join, virtual, conditional, etc.), see [FIELDS.md](reference\u002FFIELDS.md).\n\n### Hook Example\n\n```ts\nexport const Posts: CollectionConfig = {\n  slug: 'posts',\n  hooks: {\n    beforeChange: [\n      async ({ data, operation }) => {\n        if (operation === 'create') {\n          data.slug = slugify(data.title)\n        }\n        return data\n      },\n    ],\n  },\n  fields: [{ name: 'title', type: 'text' }],\n}\n```\n\nFor all hook patterns, see [HOOKS.md](reference\u002FHOOKS.md). For access control, see [ACCESS-CONTROL.md](reference\u002FACCESS-CONTROL.md).\n\n### Access Control with Type Safety\n\n```ts\nimport type { Access } from 'payload'\nimport type { User } from '@\u002Fpayload-types'\n\n\u002F\u002F Type-safe access control\nexport const adminOnly: Access = ({ req }) => {\n  const user = req.user as User\n  return user?.roles?.includes('admin') || false\n}\n\n\u002F\u002F Row-level access control\nexport const ownPostsOnly: Access = ({ req }) => {\n  const user = req.user as User\n  if (!user) return false\n  if (user.roles?.includes('admin')) return true\n\n  return {\n    author: { equals: user.id },\n  }\n}\n```\n\n### Query Example\n\n```ts\n\u002F\u002F Local API\nconst posts = await payload.find({\n  collection: 'posts',\n  where: {\n    status: { equals: 'published' },\n    'author.name': { contains: 'john' },\n  },\n  depth: 2,\n  limit: 10,\n  sort: '-createdAt',\n})\n\n\u002F\u002F Query with populated relationships\nconst post = await payload.findByID({\n  collection: 'posts',\n  id: '123',\n  depth: 2, \u002F\u002F Populates relationships (default is 2)\n})\n\u002F\u002F Returns: { author: { id: \"user123\", name: \"John\" } }\n\n\u002F\u002F Without depth, relationships return IDs only\nconst post = await payload.findByID({\n  collection: 'posts',\n  id: '123',\n  depth: 0,\n})\n\u002F\u002F Returns: { author: \"user123\" }\n```\n\nFor all query operators and REST\u002FGraphQL examples, see [QUERIES.md](reference\u002FQUERIES.md).\n\n### Getting Payload Instance\n\n```ts\n\u002F\u002F In API routes (Next.js)\nimport { getPayload } from 'payload'\nimport config from '@payload-config'\n\nexport async function GET() {\n  const payload = await getPayload({ config })\n\n  const posts = await payload.find({\n    collection: 'posts',\n  })\n\n  return Response.json(posts)\n}\n\n\u002F\u002F In Server Components\nimport { getPayload } from 'payload'\nimport config from '@payload-config'\n\nexport default async function Page() {\n  const payload = await getPayload({ config })\n  const { docs } = await payload.find({ collection: 'posts' })\n\n  return \u003Cdiv>{docs.map(post => \u003Ch1 key={post.id}>{post.title}\u003C\u002Fh1>)}\u003C\u002Fdiv>\n}\n```\n\n## Security Pitfalls\n\n### 1. Local API Access Control (CRITICAL)\n\n**By default, Local API operations bypass ALL access control**, even when passing a user.\n\n```ts\n\u002F\u002F ❌ SECURITY BUG: Passes user but ignores their permissions\nawait payload.find({\n  collection: 'posts',\n  user: someUser, \u002F\u002F Access control is BYPASSED!\n})\n\n\u002F\u002F ✅ SECURE: Actually enforces the user's permissions\nawait payload.find({\n  collection: 'posts',\n  user: someUser,\n  overrideAccess: false, \u002F\u002F REQUIRED for access control\n})\n```\n\n**When to use each:**\n\n- `overrideAccess: true` (default) - Server-side operations you trust (cron jobs, system tasks)\n- `overrideAccess: false` - When operating on behalf of a user (API routes, webhooks)\n\nSee [QUERIES.md#access-control-in-local-api](reference\u002FQUERIES.md#access-control-in-local-api).\n\n### 2. Transaction Failures in Hooks\n\n**Nested operations in hooks without `req` break transaction atomicity.**\n\n```ts\n\u002F\u002F ❌ DATA CORRUPTION RISK: Separate transaction\nhooks: {\n  afterChange: [\n    async ({ doc, req }) => {\n      await req.payload.create({\n        collection: 'audit-log',\n        data: { docId: doc.id },\n        \u002F\u002F Missing req - runs in separate transaction!\n      })\n    },\n  ]\n}\n\n\u002F\u002F ✅ ATOMIC: Same transaction\nhooks: {\n  afterChange: [\n    async ({ doc, req }) => {\n      await req.payload.create({\n        collection: 'audit-log',\n        data: { docId: doc.id },\n        req, \u002F\u002F Maintains atomicity\n      })\n    },\n  ]\n}\n```\n\nSee [ADAPTERS.md#threading-req-through-operations](reference\u002FADAPTERS.md#threading-req-through-operations).\n\n### 3. Infinite Hook Loops\n\n**Hooks triggering operations that trigger the same hooks create infinite loops.**\n\n```ts\n\u002F\u002F ❌ INFINITE LOOP\nhooks: {\n  afterChange: [\n    async ({ doc, req }) => {\n      await req.payload.update({\n        collection: 'posts',\n        id: doc.id,\n        data: { views: doc.views + 1 },\n        req,\n      }) \u002F\u002F Triggers afterChange again!\n    },\n  ]\n}\n\n\u002F\u002F ✅ SAFE: Use context flag\nhooks: {\n  afterChange: [\n    async ({ doc, req, context }) => {\n      if (context.skipHooks) return\n\n      await req.payload.update({\n        collection: 'posts',\n        id: doc.id,\n        data: { views: doc.views + 1 },\n        context: { skipHooks: true },\n        req,\n      })\n    },\n  ]\n}\n```\n\nSee [HOOKS.md#context](reference\u002FHOOKS.md#context).\n\n## Project Structure\n\n```txt\nsrc\u002F\n├── app\u002F\n│   ├── (frontend)\u002F\n│   │   └── page.tsx\n│   └── (payload)\u002F\n│       └── admin\u002F[[...segments]]\u002Fpage.tsx\n├── collections\u002F\n│   ├── Posts.ts\n│   ├── Media.ts\n│   └── Users.ts\n├── globals\u002F\n│   └── Header.ts\n├── components\u002F\n│   └── CustomField.tsx\n├── hooks\u002F\n│   └── slugify.ts\n└── payload.config.ts\n```\n\n## Type Generation\n\n```ts\n\u002F\u002F payload.config.ts\nexport default buildConfig({\n  typescript: {\n    outputFile: path.resolve(dirname, 'payload-types.ts'),\n  },\n  \u002F\u002F ...\n})\n\n\u002F\u002F Usage\nimport type { Post, User } from '@\u002Fpayload-types'\n```\n\n## Reference Documentation\n\n- **[FIELDS.md](reference\u002FFIELDS.md)** - All field types, validation, admin options\n- **[FIELD-TYPE-GUARDS.md](reference\u002FFIELD-TYPE-GUARDS.md)** - Type guards for runtime field type checking and narrowing\n- **[COLLECTIONS.md](reference\u002FCOLLECTIONS.md)** - Collection configs, auth, upload, drafts, live preview\n- **[HOOKS.md](reference\u002FHOOKS.md)** - Collection hooks, field hooks, context patterns\n- **[ACCESS-CONTROL.md](reference\u002FACCESS-CONTROL.md)** - Collection, field, global access control, RBAC, multi-tenant\n- **[ACCESS-CONTROL-ADVANCED.md](reference\u002FACCESS-CONTROL-ADVANCED.md)** - Context-aware, time-based, subscription-based access, factory functions, templates\n- **[QUERIES.md](reference\u002FQUERIES.md)** - Query operators, Local\u002FREST\u002FGraphQL APIs\n- **[ENDPOINTS.md](reference\u002FENDPOINTS.md)** - Custom API endpoints: authentication, helpers, request\u002Fresponse patterns\n- **[ADAPTERS.md](reference\u002FADAPTERS.md)** - Database, storage, email adapters, transactions\n- **[ADVANCED.md](reference\u002FADVANCED.md)** - Authentication, jobs, endpoints, components, plugins, localization\n- **[PLUGIN-DEVELOPMENT.md](reference\u002FPLUGIN-DEVELOPMENT.md)** - Plugin architecture, monorepo structure, patterns, best practices\n\n## Resources\n\n- llms-full.txt: \u003Chttps:\u002F\u002Fpayloadcms.com\u002Fllms-full.txt>\n- Docs: \u003Chttps:\u002F\u002Fpayloadcms.com\u002Fdocs>\n- GitHub: \u003Chttps:\u002F\u002Fgithub.com\u002Fpayloadcms\u002Fpayload>\n- Examples: \u003Chttps:\u002F\u002Fgithub.com\u002Fpayloadcms\u002Fpayload\u002Ftree\u002Fmain\u002Fexamples>\n- Templates: \u003Chttps:\u002F\u002Fgithub.com\u002Fpayloadcms\u002Fpayload\u002Ftree\u002Fmain\u002Ftemplates>\n","# Payload CMS Application Development\n\nPayload is a Next.js native CMS with TypeScript-first architecture, providing admin panel, database management, REST\u002FGraphQL APIs, authentication, and file storage.\n\n## Quick Reference\n\n| Task                     | Solution                                  | Details                                                                                                                          |\n| ------------------------ | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| Auto-generate slugs      | `slugField()`                             | [FIELDS.md#slug-field-helper](reference\u002FFIELDS.md#slug-field-helper)                                                             |\n| Restrict content by user | Access control with query                 | [ACCESS-CONTROL.md#row-level-security-with-complex-queries](reference\u002FACCESS-CONTROL.md#row-level-security-with-complex-queries) |\n| Local API user ops       | `user` + `overrideAccess: false`          | [QUERIES.md#access-control-in-local-api](reference\u002FQUERIES.md#access-control-in-local-api)                                       |\n| Draft\u002Fpublish workflow   | `versions: { drafts: true }`              | [COLLECTIONS.md#versioning--drafts](reference\u002FCOLLECTIONS.md#versioning--drafts)                                                 |\n| Computed fields          | `virtual: true` with afterRead            | [FIELDS.md#virtual-fields](reference\u002FFIELDS.md#virtual-fields)                                                                   |\n| Conditional fields       | `admin.condition`                         | [FIELDS.md#conditional-fields](reference\u002FFIELDS.md#conditional-fields)                                                           |\n| Custom field validation  | `validate` function                       | [FIELDS.md#validation](reference\u002FFIELDS.md#validation)                                                                           |\n| Filter relationship list | `filterOptions` on field                  | [FIELDS.md#relationship](reference\u002FFIELDS.md#relationship)                                                                       |\n| Select specific fields   | `select` parameter                        | [QUERIES.md#field-selection](reference\u002FQUERIES.md#field-selection)                                                               |\n| Auto-set author\u002Fdates    | beforeChange hook                         | [HOOKS.md#collection-hooks](reference\u002FHOOKS.md#collection-hooks)                                                                 |\n| Prevent hook loops       | `req.context` check                       | [HOOKS.md#context](reference\u002FHOOKS.md#context)                                                                                   |\n| Cascading deletes        | beforeDelete hook                         | [HOOKS.md#collection-hooks](reference\u002FHOOKS.md#collection-hooks)                                                                 |\n| Geospatial queries       | `point` field with `near`\u002F`within`        | [FIELDS.md#point-geolocation](reference\u002FFIELDS.md#point-geolocation)                                                             |\n| Reverse relationships    | `join` field type                         | [FIELDS.md#join-fields](reference\u002FFIELDS.md#join-fields)                                                                         |\n| Next.js revalidation     | Context control in afterChange            | [HOOKS.md#nextjs-revalidation-with-context-control](reference\u002FHOOKS.md#nextjs-revalidation-with-context-control)                 |\n| Query by relationship    | Nested property syntax                    | [QUERIES.md#nested-properties](reference\u002FQUERIES.md#nested-properties)                                                           |\n| Complex queries          | AND\u002FOR logic                              | [QUERIES.md#andor-logic](reference\u002FQUERIES.md#andor-logic)                                                                       |\n| Transactions             | Pass `req` to operations                  | [ADAPTERS.md#threading-req-through-operations](reference\u002FADAPTERS.md#threading-req-through-operations)                           |\n| Background jobs          | Jobs queue with tasks                     | [ADVANCED.md#jobs-queue](reference\u002FADVANCED.md#jobs-queue)                                                                       |\n| Custom API routes        | Collection custom endpoints               | [ADVANCED.md#custom-endpoints](reference\u002FADVANCED.md#custom-endpoints)                                                           |\n| Cloud storage            | Storage adapter plugins                   | [ADAPTERS.md#storage-adapters](reference\u002FADAPTERS.md#storage-adapters)                                                           |\n| Multi-language           | `localization` config + `localized: true` | [ADVANCED.md#localization](reference\u002FADVANCED.md#localization)                                                                   |\n| Create plugin            | `(options) => (config) => Config`         | [PLUGIN-DEVELOPMENT.md#plugin-architecture](reference\u002FPLUGIN-DEVELOPMENT.md#plugin-architecture)                                 |\n| Plugin package setup     | Package structure with SWC                | [PLUGIN-DEVELOPMENT.md#plugin-package-structure](reference\u002FPLUGIN-DEVELOPMENT.md#plugin-package-structure)                       |\n| Add fields to collection | Map collections, spread fields            | [PLUGIN-DEVELOPMENT.md#adding-fields-to-collections](reference\u002FPLUGIN-DEVELOPMENT.md#adding-fields-to-collections)               |\n| Plugin hooks             | Preserve existing hooks in array          | [PLUGIN-DEVELOPMENT.md#adding-hooks](reference\u002FPLUGIN-DEVELOPMENT.md#adding-hooks)                                               |\n| Check field type         | Type guard functions                      | [FIELD-TYPE-GUARDS.md](reference\u002FFIELD-TYPE-GUARDS.md)                                                                           |\n\n## Quick Start\n\n```bash\nnpx create-payload-app@latest my-app\ncd my-app\npnpm dev\n```\n\n### Minimal Config\n\n```ts\nimport { buildConfig } from 'payload'\nimport { mongooseAdapter } from '@payloadcms\u002Fdb-mongodb'\nimport { lexicalEditor } from '@payloadcms\u002Frichtext-lexical'\nimport path from 'path'\nimport { fileURLToPath } from 'url'\n\nconst filename = fileURLToPath(import.meta.url)\nconst dirname = path.dirname(filename)\n\nexport default buildConfig({\n  admin: {\n    user: 'users',\n    importMap: {\n      baseDir: path.resolve(dirname),\n    },\n  },\n  collections: [Users, Media],\n  editor: lexicalEditor(),\n  secret: process.env.PAYLOAD_SECRET,\n  typescript: {\n    outputFile: path.resolve(dirname, 'payload-types.ts'),\n  },\n  db: mongooseAdapter({\n    url: process.env.DATABASE_URL,\n  }),\n})\n```\n\n## Essential Patterns\n\n### Basic Collection\n\n```ts\nimport type { CollectionConfig } from 'payload'\n\nexport const Posts: CollectionConfig = {\n  slug: 'posts',\n  admin: {\n    useAsTitle: 'title',\n    defaultColumns: ['title', 'author', 'status', 'createdAt'],\n  },\n  fields: [\n    { name: 'title', type: 'text', required: true },\n    { name: 'slug', type: 'text', unique: true, index: true },\n    { name: 'content', type: 'richText' },\n    { name: 'author', type: 'relationship', relationTo: 'users' },\n  ],\n  timestamps: true,\n}\n```\n\nFor more collection patterns (auth, upload, drafts, live preview), see [COLLECTIONS.md](reference\u002FCOLLECTIONS.md).\n\n### Common Fields\n\n```ts\n\u002F\u002F Text field\n{ name: 'title', type: 'text', required: true }\n\n\u002F\u002F Relationship\n{ name: 'author', type: 'relationship', relationTo: 'users', required: true }\n\n\u002F\u002F Rich text\n{ name: 'content', type: 'richText', required: true }\n\n\u002F\u002F Select\n{ name: 'status', type: 'select', options: ['draft', 'published'], defaultValue: 'draft' }\n\n\u002F\u002F Upload\n{ name: 'image', type: 'upload', relationTo: 'media' }\n```\n\nFor all field types (array, blocks, point, join, virtual, conditional, etc.), see [FIELDS.md](reference\u002FFIELDS.md).\n\n### Hook Example\n\n```ts\nexport const Posts: CollectionConfig = {\n  slug: 'posts',\n  hooks: {\n    beforeChange: [\n      async ({ data, operation }) => {\n        if (operation === 'create') {\n          data.slug = slugify(data.title)\n        }\n        return data\n      },\n    ],\n  },\n  fields: [{ name: 'title', type: 'text' }],\n}\n```\n\nFor all hook patterns, see [HOOKS.md](reference\u002FHOOKS.md). For access control, see [ACCESS-CONTROL.md](reference\u002FACCESS-CONTROL.md).\n\n### Access Control with Type Safety\n\n```ts\nimport type { Access } from 'payload'\nimport type { User } from '@\u002Fpayload-types'\n\n\u002F\u002F Type-safe access control\nexport const adminOnly: Access = ({ req }) => {\n  const user = req.user as User\n  return user?.roles?.includes('admin') || false\n}\n\n\u002F\u002F Row-level access control\nexport const ownPostsOnly: Access = ({ req }) => {\n  const user = req.user as User\n  if (!user) return false\n  if (user.roles?.includes('admin')) return true\n\n  return {\n    author: { equals: user.id },\n  }\n}\n```\n\n### Query Example\n\n```ts\n\u002F\u002F Local API\nconst posts = await payload.find({\n  collection: 'posts',\n  where: {\n    status: { equals: 'published' },\n    'author.name': { contains: 'john' },\n  },\n  depth: 2,\n  limit: 10,\n  sort: '-createdAt',\n})\n\n\u002F\u002F Query with populated relationships\nconst post = await payload.findByID({\n  collection: 'posts',\n  id: '123',\n  depth: 2, \u002F\u002F Populates relationships (default is 2)\n})\n\u002F\u002F Returns: { author: { id: \"user123\", name: \"John\" } }\n\n\u002F\u002F Without depth, relationships return IDs only\nconst post = await payload.findByID({\n  collection: 'posts',\n  id: '123',\n  depth: 0,\n})\n\u002F\u002F Returns: { author: \"user123\" }\n```\n\nFor all query operators and REST\u002FGraphQL examples, see [QUERIES.md](reference\u002FQUERIES.md).\n\n### Getting Payload Instance\n\n```ts\n\u002F\u002F In API routes (Next.js)\nimport { getPayload } from 'payload'\nimport config from '@payload-config'\n\nexport async function GET() {\n  const payload = await getPayload({ config })\n\n  const posts = await payload.find({\n    collection: 'posts',\n  })\n\n  return Response.json(posts)\n}\n\n\u002F\u002F In Server Components\nimport { getPayload } from 'payload'\nimport config from '@payload-config'\n\nexport default async function Page() {\n  const payload = await getPayload({ config })\n  const { docs } = await payload.find({ collection: 'posts' })\n\n  return \u003Cdiv>{docs.map(post => \u003Ch1 key={post.id}>{post.title}\u003C\u002Fh1>)}\u003C\u002Fdiv>\n}\n```\n\n## Security Pitfalls\n\n### 1. Local API Access Control (CRITICAL)\n\n**By default, Local API operations bypass ALL access control**, even when passing a user.\n\n```ts\n\u002F\u002F ❌ SECURITY BUG: Passes user but ignores their permissions\nawait payload.find({\n  collection: 'posts',\n  user: someUser, \u002F\u002F Access control is BYPASSED!\n})\n\n\u002F\u002F ✅ SECURE: Actually enforces the user's permissions\nawait payload.find({\n  collection: 'posts',\n  user: someUser,\n  overrideAccess: false, \u002F\u002F REQUIRED for access control\n})\n```\n\n**When to use each:**\n\n- `overrideAccess: true` (default) - Server-side operations you trust (cron jobs, system tasks)\n- `overrideAccess: false` - When operating on behalf of a user (API routes, webhooks)\n\nSee [QUERIES.md#access-control-in-local-api](reference\u002FQUERIES.md#access-control-in-local-api).\n\n### 2. Transaction Failures in Hooks\n\n**Nested operations in hooks without `req` break transaction atomicity.**\n\n```ts\n\u002F\u002F ❌ DATA CORRUPTION RISK: Separate transaction\nhooks: {\n  afterChange: [\n    async ({ doc, req }) => {\n      await req.payload.create({\n        collection: 'audit-log',\n        data: { docId: doc.id },\n        \u002F\u002F Missing req - runs in separate transaction!\n      })\n    },\n  ]\n}\n\n\u002F\u002F ✅ ATOMIC: Same transaction\nhooks: {\n  afterChange: [\n    async ({ doc, req }) => {\n      await req.payload.create({\n        collection: 'audit-log',\n        data: { docId: doc.id },\n        req, \u002F\u002F Maintains atomicity\n      })\n    },\n  ]\n}\n```\n\nSee [ADAPTERS.md#threading-req-through-operations](reference\u002FADAPTERS.md#threading-req-through-operations).\n\n### 3. Infinite Hook Loops\n\n**Hooks triggering operations that trigger the same hooks create infinite loops.**\n\n```ts\n\u002F\u002F ❌ INFINITE LOOP\nhooks: {\n  afterChange: [\n    async ({ doc, req }) => {\n      await req.payload.update({\n        collection: 'posts',\n        id: doc.id,\n        data: { views: doc.views + 1 },\n        req,\n      }) \u002F\u002F Triggers afterChange again!\n    },\n  ]\n}\n\n\u002F\u002F ✅ SAFE: Use context flag\nhooks: {\n  afterChange: [\n    async ({ doc, req, context }) => {\n      if (context.skipHooks) return\n\n      await req.payload.update({\n        collection: 'posts',\n        id: doc.id,\n        data: { views: doc.views + 1 },\n        context: { skipHooks: true },\n        req,\n      })\n    },\n  ]\n}\n```\n\nSee [HOOKS.md#context](reference\u002FHOOKS.md#context).\n\n## Project Structure\n\n```txt\nsrc\u002F\n├── app\u002F\n│   ├── (frontend)\u002F\n│   │   └── page.tsx\n│   └── (payload)\u002F\n│       └── admin\u002F[[...segments]]\u002Fpage.tsx\n├── collections\u002F\n│   ├── Posts.ts\n│   ├── Media.ts\n│   └── Users.ts\n├── globals\u002F\n│   └── Header.ts\n├── components\u002F\n│   └── CustomField.tsx\n├── hooks\u002F\n│   └── slugify.ts\n└── payload.config.ts\n```\n\n## Type Generation\n\n```ts\n\u002F\u002F payload.config.ts\nexport default buildConfig({\n  typescript: {\n    outputFile: path.resolve(dirname, 'payload-types.ts'),\n  },\n  \u002F\u002F ...\n})\n\n\u002F\u002F Usage\nimport type { Post, User } from '@\u002Fpayload-types'\n```\n\n## Reference Documentation\n\n- **[FIELDS.md](reference\u002FFIELDS.md)** - All field types, validation, admin options\n- **[FIELD-TYPE-GUARDS.md](reference\u002FFIELD-TYPE-GUARDS.md)** - Type guards for runtime field type checking and narrowing\n- **[COLLECTIONS.md](reference\u002FCOLLECTIONS.md)** - Collection configs, auth, upload, drafts, live preview\n- **[HOOKS.md](reference\u002FHOOKS.md)** - Collection hooks, field hooks, context patterns\n- **[ACCESS-CONTROL.md](reference\u002FACCESS-CONTROL.md)** - Collection, field, global access control, RBAC, multi-tenant\n- **[ACCESS-CONTROL-ADVANCED.md](reference\u002FACCESS-CONTROL-ADVANCED.md)** - Context-aware, time-based, subscription-based access, factory functions, templates\n- **[QUERIES.md](reference\u002FQUERIES.md)** - Query operators, Local\u002FREST\u002FGraphQL APIs\n- **[ENDPOINTS.md](reference\u002FENDPOINTS.md)** - Custom API endpoints: authentication, helpers, request\u002Fresponse patterns\n- **[ADAPTERS.md](reference\u002FADAPTERS.md)** - Database, storage, email adapters, transactions\n- **[ADVANCED.md](reference\u002FADVANCED.md)** - Authentication, jobs, endpoints, components, plugins, localization\n- **[PLUGIN-DEVELOPMENT.md](reference\u002FPLUGIN-DEVELOPMENT.md)** - Plugin architecture, monorepo structure, patterns, best practices\n\n## Resources\n\n- llms-full.txt: \u003Chttps:\u002F\u002Fpayloadcms.com\u002Fllms-full.txt>\n- Docs: \u003Chttps:\u002F\u002Fpayloadcms.com\u002Fdocs>\n- GitHub: \u003Chttps:\u002F\u002Fgithub.com\u002Fpayloadcms\u002Fpayload>\n- Examples: \u003Chttps:\u002F\u002Fgithub.com\u002Fpayloadcms\u002Fpayload\u002Ftree\u002Fmain\u002Fexamples>\n- Templates: \u003Chttps:\u002F\u002Fgithub.com\u002Fpayloadcms\u002Fpayload\u002Ftree\u002Fmain\u002Ftemplates>\n",{"name":5,"description":7},"main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload",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":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill payload",{"tool":39,"command":40},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill payload",{"tool":42,"command":43},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill payload","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002FSKILL.md",true,[47,53,57,61,65,69,73,77,81,85,89],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"reference\u002FACCESS-CONTROL-ADVANCED.md","REFERENCE","参考文档",17993,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FACCESS-CONTROL-ADVANCED.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"reference\u002FACCESS-CONTROL.md",18343,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FACCESS-CONTROL.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"reference\u002FADAPTERS.md",7437,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FADAPTERS.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"reference\u002FADVANCED.md",9009,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FADVANCED.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"reference\u002FCOLLECTIONS.md",6000,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FCOLLECTIONS.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"reference\u002FENDPOINTS.md",15435,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FENDPOINTS.md",{"path":74,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":75,"sourceHtmlUrl":76},"reference\u002FFIELD-TYPE-GUARDS.md",10900,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FFIELD-TYPE-GUARDS.md",{"path":78,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":79,"sourceHtmlUrl":80},"reference\u002FFIELDS.md",17544,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FFIELDS.md",{"path":82,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":83,"sourceHtmlUrl":84},"reference\u002FHOOKS.md",4345,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FHOOKS.md",{"path":86,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":87,"sourceHtmlUrl":88},"reference\u002FPLUGIN-DEVELOPMENT.md",35287,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FPLUGIN-DEVELOPMENT.md",{"path":90,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":91,"sourceHtmlUrl":92},"reference\u002FQUERIES.md",6097,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-external_plugins\u002Fpayload\u002Fskills\u002Fpayload\u002Freference\u002FQUERIES.md",[94,101,108,115,122,129],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"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":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"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":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"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":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"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":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"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",[],[]]