payload

Guide Payload CMS development with configuration, collections, hooks, and access control.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/Getyokedapp/payload-cms --skill payload-getyokedapp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payload
Source: https://github.com/Getyokedapp/payload-cms/tree/main/tools/claude-plugin/skills/payload
Command: npx skills add https://github.com/Getyokedapp/payload-cms --skill payload-getyokedapp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and code examples for developing, configuring, and debugging Payload CMS projects, streamlining the process of building headless CMS solutions.

Core Features & Use Cases

  • Configuration: Understand payload.config.ts structure, database adapters, and admin settings.
  • Collections & Fields: Learn to define schemas, relationships, custom fields, and access control.
  • API & Hooks: Master local API operations, REST/GraphQL querying, and custom hook behavior.
  • Use Case: A developer needs to implement complex access control rules for a multi-tenant Payload application, ensuring data isolation and role-based permissions. They can consult this Skill for best practices and code examples.

Quick Start

Use the payload skill to generate a basic collection configuration for a 'posts' collection.

Frequently Asked Questions about payload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure collections and fields in Payload CMS?

To configure collections and fields in Payload CMS, define schemas, relationships, and custom fields within your `payload.config.ts` file. This Skill provides comprehensive guidance and code examples for structuring collections and implementing access control.

What is the best way to implement complex access control for a multi-tenant Payload CMS application?

Implementing complex access control for a multi-tenant Payload CMS application requires defining role-based permissions and ensuring data isolation. This Skill offers best practices and detailed code examples to securely manage access rules across your collections.

How do I use local API operations and custom hooks in Payload CMS?

Using local API operations and custom hooks in Payload CMS involves querying via REST/GraphQL and defining hook behaviors. This Skill helps you master API usage, troubleshoot hook loops, and manage database transactions effectively.

Why does my Payload CMS hook loop and how do I manage transactions?

Payload CMS hook loops occur when custom hook logic recursively triggers itself, requiring careful transaction management to resolve. This Skill provides troubleshooting tips and detailed explanations to prevent infinite loops and handle common database challenges.

Does Payload CMS support TypeScript for backend development and configuration?

Payload CMS fully supports TypeScript for backend development and configuration, allowing you to strongly type your `payload.config.ts` structure, database adapters, and admin settings. This facilitates efficient development of headless CMS applications with type safety.