A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities.
npx skills add payloadcms/skillsComprehensive 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
MIT