mirror of
https://github.com/payloadcms/skills.git
synced 2026-09-14 15:59:32 +08:00
f0a8f3333ee2106b85e84ca90f96c764472a7abd
AI Agent Skills
A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities.
Installation
npx skills add payloadcms/skills
Available Skills
payload
Comprehensive development guidelines for Payload projects. Covers collections, fields, hooks, access control, queries, and plugin development with TypeScript-first patterns.
When to use: Working with Payload projects (payload.config.ts, collections, fields, hooks, access control). Debugging validation errors, security issues, relationship queries, transactions, or hook behavior.
Covers:
- Collections: Auth, uploads, drafts, live preview configurations
- Fields: All field types including relationships, arrays, blocks, joins, virtual fields
- Hooks: beforeChange, afterChange, beforeValidate, field hooks
- Access Control: Collection, field, and global access patterns including RBAC and multi-tenant
- Queries: Local API, REST, and GraphQL with complex operators
- Database Adapters: MongoDB, Postgres, SQLite configurations and transactions
- Advanced Features: Jobs queue, custom endpoints, localization, plugins
Resources
License
MIT
Description
payload: Use when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors,…; cms-migration: Use when user wants to migrate content from another CMS (WordPress, Contentful, Strapi, Sanity, Webflow, etc.) to Payload CMS
Readme
180 KiB
Languages
Markdown
100%