插件版本 1.0.1

payload

为 Payload 开发提供全面指导的 Claude Code 技能,包含 TypeScript 模式、字段配置、钩子、访问控制和 API 示例。

商品介绍

# Payload Skill for Claude Code Claude Code skill providing comprehensive guidance for Payload development with TypeScript patterns, field configurations, hooks, access control, and API examples. ## Installation ### From GitHub Install this skill directly from the Payload repository: ```bash /plugin install github:payloadcms/payload ``` ## What's Included The `payload` skill provides expert guidance on: - **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 ## Usage Once installed, Claude will automatically invoke the skill when you're working on Payload CMS projects. The skill activates when you: - Edit `payload.config.ts` files - Work with collection or global configurations - Ask about Payload-specific patterns - Need guidance on fields, hooks, or access control You can also explicitly invoke it: ``` @payload how do I implement row-level access control? ``` ## Documentation Structure ``` skills/payload/ ├── SKILL.md # Main skill file with quick reference └── reference/ ├── FIELDS.md # All field types and configurations ├── COLLECTIONS.md # Collection patterns ├── HOOKS.md # Hook patterns and examples ├── ACCESS-CONTROL.md # Basic access control ├── ACCESS-CONTROL-ADVANCED.md # Advanced access patterns ├── QUERIES.md # Query patterns and APIs ├── ADAPTERS.md # Database and storage adapters └── ADVANCED.md # Jobs, endpoints, localization ``` ## Resources - [Payload Documentation](https://payloadcms.com/docs) - [GitHub Repository](https://github.com/payloadcms/payload) - [Examples](https://github.com/payloadcms/payload/tree/main/examples) - [Templates](https://github.com/payloadcms/payload/tree/main/templates) ## License MIT

价格

免费

  • 安装:免费

在组织开通时一次性收取;再次读取清单或下载不重复收费。

以上为公开标价。你的组织可能有协议价,以控制台显示的价格为准。

如何使用

  1. 为组织安装

    开通即安装:组织固定使用开通时的版本(当前为 1.0.1),它包含的商品会一并开通。

  2. 创建凭证

    客户端使用组织凭证读取;绑定到数字人后,数字人使用绑定凭证按需加载。请求中携带:

    Authorization: Bearer $ZGI_MARKET_KEY

  3. 读取清单与安装包

    清单列出版本、文件和校验值;安装包是一个 zip 文件。

    读取清单
    curl "https://market-api.zgi.im/v1/market/plugins/payload/manifest" \
      -H "Authorization: Bearer $ZGI_MARKET_KEY"
    下载安装包
    curl "https://market-api.zgi.im/v1/market/plugins/payload/package" \
      -H "Authorization: Bearer $ZGI_MARKET_KEY" \
      -o payload.zip

    读取清单和下载安装包不计入用量。下载后请用响应头中的 SHA-256 校验文件。

插件清单

名称
payload
版本
0.0.1
作者
Payload
说明
为 Payload 开发提供全面指导的 Claude Code 技能,包含 TypeScript 模式、字段配置、钩子、访问控制和 API 示例。
格式
Claude CodeAgent Plugins(Codex 等)
安装包
附带可安装的插件包

插件包内容

技能
1
命令
0
智能体
0
MCP 服务
0
钩子
0

包含的商品

安装插件时会同时为你的组织开通它包含的商品,每个商品按各自的价格和用量计费。

来源与审核

审核状态
尚未审核,内容来自上游来源
许可证
MIT

审核状态是平台对上架信息的记录,不构成对上游服务质量或可用性的担保。