asymmetric-al/core/payload
Claude Code and agent skill by asymmetric-al/core
- community
Checking that the SKILL.md file is still in the repository.
Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.
Install
npx vskill@latest install asymmetric-al/core/payloadSKILL.md
Payload CMS Application Development
Payload is a Next.js native CMS with TypeScript-first architecture, providing admin panel, database management, REST/GraphQL APIs, authentication, and file storage.
Quick Reference
| 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 afterRead | FIELDS.md#virtual-fields | |
| Conditional fields | admin.condition | FIELDS.md#conditional-fields | |
| Custom field validation | validate function | FIELDS.md#validation | |
| Filter relationship list | filterOptions on field | FIELDS.md#relationship | |
| Select specific fields | select parameter | QUERIES.md#field-selection | |
| Auto-set author/dates | beforeChange hook | HOOKS.md#collection-hooks | |
| Prevent hook loops | req.context check | HOOKS.md#context | |
| Cascading deletes | beforeDelete hook | HOOKS.md#collection-hooks | |
| Geospatial queries | point field with near/within | FIELDS.md#point-geolocation | |
| Reverse relationships | join field type | FIELDS.md#join-fields | |
| Next.js revalidation | Context control in afterChange | HOOKS.md#nextjs-revalidation-with-context-control | |
| Query by relationship | Nested property syntax | QUERIES.md#nested-properties | |
| Complex queries | AND/OR logic | QUERIES.md#andor-logic | |
| Transactions | Pass req to operations | ADAPTERS.md#threading-req-through-operations | |
| Background jobs | Jobs queue with tasks | ADVANCED.md#jobs-queue | |
| Custom API routes | Collection custom endpoints | ADVANCED.md#custom-endpoints | |
| Cloud storage | Storage adapter plugins | ADAPTERS.md#storage-adapters | |
| Multi-language | localization config + localized: true | ADVANCED.md#localization | |
| Create plugin | (options) => (config) => Config | PLUGIN-DEVELOPMENT.md#plugin-architecture | |
| Plugin package setup | Package structure with SWC | PLUGIN-DEVELOPMENT.md#plugin-package-structure | |
| Add fields to collection | Map collections, spread fields | PLUGIN-DEVELOPMENT.md#adding-fields-to-collections | |
| Plugin hooks | Preserve existing hooks in array | PLUGIN-DEVELOPMENT.md#adding-hooks | |
| Check field type | Type guard functions | FIELD-TYPE-GUARDS.md |
Quick Start
Minimal Config
Essential Patterns
Basic Collection
For more collection patterns (auth, upload, drafts, live preview), see COLLECTIONS.md.
Common Fields
For all field types (array, blocks, point, join, virtual, conditional, etc.), see FIELDS.md.
Hook Example
For all hook patterns, see HOOKS.md. For access control, see ACCESS-CONTROL.md.
Access Control with Type Safety
Query Example
For all query operators and REST/GraphQL examples, see QUERIES.md.
Getting Payload Instance
Security Pitfalls
1. Local API Access Control (CRITICAL)
By default, Local API operations bypass ALL access control, even when passing a user.
When to use each:
overrideAccess: true(default) - Server-side operations you trust (cron jobs, system tasks)overrideAccess: false- When operating on behalf of a user (API routes, webhooks)
See QUERIES.md#access-control-in-local-api.
2. Transaction Failures in Hooks
Nested operations in hooks without `req` break transaction atomicity.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvendor/payload-upstream/tools/claude-plugin/skills/payload/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/asymmetric-al/core/payload)