payload

Guide Payload CMS development with TypeScript, fields, hooks, and access control.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Growth4U-systems/sanchocmo-openclaw --skill payload-growth4u-systems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payload
Source: https://github.com/Growth4U-systems/sanchocmo-openclaw/tree/main/workspace-sancho/skills/payload
Command: npx skills add https://github.com/Growth4U-systems/sanchocmo-openclaw --skill payload-growth4u-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypayload, mongoose, mongodb, pg, sqlite3, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides expert guidance on Payload development, covering TypeScript patterns, field configurations, hooks, access control, and API examples. It helps developers streamline their workflow and build powerful, efficient websites.

Core Features & Use Cases

  • Expert Guidance: Offers comprehensive instructions for Payload development with TypeScript patterns.
  • Field Configurations: Explains all field types, including relationships, arrays, blocks, joins, and virtual fields.
  • Hooks: Details beforeChange, afterChange, beforeValidate, and field hooks.
  • Access Control: Covers collection, field, and global access patterns, including RBAC and multi-tenant configurations.
  • Queries: Offers information on Local API, REST, and GraphQL with complex operators.
  • Database Adapters: Explains MongoDB, Postgres, SQLite configurations and transactions.
  • Advanced Features: Covers jobs queue, custom endpoints, localization, and plugins.
  • Use Case: Imagine you are developing a dynamic website using Payload CMS. Use this Skill to optimize your development process, create complex forms, and implement advanced features like localization and user permissions.

Quick Start

Install the payload skill and run the following command: @payload how do I implement row-level access control?

Frequently Asked Questions about payload

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

FAQPage Schema
How do I configure access control in Payload CMS?

Payload CMS access control is configured by defining functions for collection, field, and global levels to manage RBAC and multi-tenant permissions. This allows you to restrict data visibility based on user roles across your dynamic website.

How do I use hooks in Payload to modify data before validation?

Payload hooks like beforeValidate and beforeChange let you intercept and modify data during the lifecycle. You attach these functions to your collections or fields to execute custom logic before saving records to the database.

Can I use PostgreSQL instead of MongoDB with Payload CMS?

Payload CMS supports PostgreSQL, SQLite, and MongoDB through configurable database adapters. You can swap adapters to match your infrastructure requirements when setting up your TypeScript project.

What is the best way to query complex operators in Payload Local API?

The Payload Local API supports complex query operators directly in TypeScript without HTTP overhead. You construct query parameters using nested operator objects to filter relational data efficiently within your server-side code.

How do I implement localization for multiple languages in Payload CMS?

Payload CMS localization is implemented by enabling localized fields in your collection configuration. This feature allows your dynamic website to store and serve translated content based on user preferences automatically.

Do I need TypeScript to build a website with Payload CMS?

TypeScript is required to utilize this development guidance effectively, as the instructions focus on TypeScript patterns for field configurations, hooks, and access control. Familiarity with Payload CMS concepts is also necessary.