Install any skill in seconds. Free to start, no credit card required.
Get Started Free →asymmetric-al/payloadcms-payload
Payload CMS application development (collections, fields, hooks, access control, Local/REST/GraphQL queries, adapters, plugins). Vendored from payloadcms/skills.
Passed 20 of 22 test cases with the skill, and 18 of 22 without it.
and 1 more in the full report
2 fixed18 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a type-safe Payload CMS `Access` control function named `adminOnly` that checks if the requesting user has the 'admin' role.
| Checked | Without skill | With skill |
|---|---|---|
| Annotates the access control function with the `Access` type imported from `'payload'`. | Missed | Passed |
| Casts or types `req.user` with the generated `User` interface. | Missed | Passed |
The instructions your model reads when the skill loads.
Canonical vendored source: payloadcms/skills
(skills/payload/). Maintainer refresh:
docs/ai/skills/payloadcms-payload/references/upstream.md.
Precedence: OpenSpec and docs/ai/rules/backend.md control durable
behavior and security. Supabase schema, RLS, and Auth follow
docs/ai/skills/supabase/SKILL.md and supabase/AGENTS.md. Prefer the
repo's installed Payload version and vendor/payload-upstream/ when upstream
examples differ from local APIs.
apps/admin/payload.config.ts and the relevant files under
apps/admin/src/cms/** or apps/admin/src/cms-ui/**.reference/ for the specific Payload
pattern: collections, fields, hooks, access, queries, adapters, endpoints, or
plugins.Payload is a Next.js native CMS with TypeScript-first architecture, providing admin panel, database management, REST/GraphQL APIs, authentication, and file storage.
| Task | Solution | Details |
|---|---|---|
| Auto-generate slugs | slugField() | FIELDS.md#slug-field-helper |
| Restrict content by user | Access control with query | ACCESS-CONTROL.md#row-level-security-with-complex-queries |
| Local API user ops | user + overrideAccess: false | QUERIES.md#access-control-in-local-api |
| Draft/publish workflow | versions: { drafts: true } | COLLECTIONS.md#versioning--drafts |
| Computed fields | virtual: true with field-level hooks.afterRead returning the value | FIELDS.md#virtual-fields |
| Conditional fields | admin.condition | FIELDS.md#conditional-fields |
test cases passed, vs 18 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.