A library of Agent Skills in the SKILL.md format for coding agents such as Cursor, Claude Code, Codex, OpenCode and Gemini CLI. Each skill is an ordered procedure for building Payload 3 and Next.js sites, covering bootstrap, live preview, media, SEO, auth, forms, payments, testing and Vercel deployment. It installs through the skills CLI and includes a local MCP server that exposes the skills. It assumes a free-tier-first stack with Turso and Vercel.
Agent Skills for building Payload CMS + Next.js websites on a free-tier-first stack.
Installation
npm i payload-cms-skills0
Stars
0
Forks
6
Open Issues
Yesterday
Last Updated
0
Weekly Downloads
v
npm Version
Dependencies
00 since Nov 15
| Date | Stars |
|---|---|
| Dec 6, 2026 | 0 |
| Dec 5, 2026 | 0 |
| Dec 4, 2026 | 0 |
| Dec 3, 2026 | 0 |
| Dec 2, 2026 | 0 |
| Dec 1, 2026 | 0 |
| Nov 30, 2026 | 0 |
| Nov 29, 2026 | 0 |
| Nov 28, 2026 | 0 |
| Nov 27, 2026 | 0 |
| Nov 26, 2026 | 0 |
| Nov 25, 2026 | 0 |
| Nov 24, 2026 | 0 |
| Nov 23, 2026 | 0 |
| Nov 22, 2026 | 0 |
| Nov 21, 2026 | 0 |
| Nov 20, 2026 | 0 |
| Nov 19, 2026 | 0 |
| Nov 18, 2026 | 0 |
| Nov 17, 2026 | 0 |
| Nov 16, 2026 | 0 |
| Nov 15, 2026 | 0 |
Trends appear after 7 days of data. Daily snapshots have not started yet.
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1465291821-root)<a href="https://payloaddirectory.dev/plugins/1465291821-root"><img src="https://payloaddirectory.dev/badge/1465291821-root.svg" alt="Payload Directory"></a>README
Agent Skills that make coding agents build Payload CMS 3 + Next.js websites the same way every time: started from the official template, with working live preview and saves, uploads that go straight from the browser, and guardrails for unattended runs.
The skills follow the open Agent Skills format. They work in Cursor, Claude Code, Codex, OpenCode, Gemini CLI, and any other agent that reads SKILL.md files, regardless of which model runs them.
Documentation, including the phase list, is published at https://ramezhany.github.io/payload-cms-skills/.
Generic agents building Payload sites tend to:
Each skill here is a short, ordered procedure with explicit file paths, verified snippets, decision tables, and a "Done when" checklist. Agents load only the skills a task needs, which keeps token use low.
npx skills add RamezHany/payload-cms-skills
This installs every skill into the agent folders you pick. To install a single skill:
npx skills add RamezHany/payload-cms-skills --skill payload-live-preview
Manual install and per-tool paths are in docs/INSTALL.md.
Open the project and tell your agent:
Use the
payload-project-kickoffskill. The brief is in PROJECT.md.
The kickoff skill loads the guardrails, detects the scenario (new site, backend for an existing frontend, feature, or fix), writes a phased plan into PROJECT.md, and routes each phase to the right skill.
Two defaults ship with every build. A quiet footer signature — the credit text Developed by Ramez Hany linking to https://ramez-hany.com, with an optional logo that stays empty unless the user adds one — is seeded by payload-seo-geo in phase 4 after site-settings exists; at first setup the agent tells the user they may replace the name and link once. Before delivery, the payload-testing skill runs an 11-item final presence checklist; a missing item is fixed to its owning skill's spec or asked for, never marked done.
The kickoff skill writes these into PROJECT.md and works on one phase at a time. Skip a phase the brief does not need. Keep this order.
A Figma URL adds a design handoff before phase 1. Motion, 3D, or a copied component adds the creative frontend step after that handoff and before bootstrap.
Written. Every phase in this table has its skill in this repository. Design, Creative, and phases 1 through 8 are available to install.
Still open. Payload 4, after it is stable. That is library work, not a client-site phase. Skills stay on Payload 3.x until the migration issue is closed. On a client site, the phases below still start unchecked in PROJECT.md.
| Phase | In this repo | Work | Skills |
|---|---|---|---|
| Design | Written | Only when the brief has a Figma file | figma-handoff |
| Creative | Written | Only when the design needs motion, 3D, or a copied component | creative-frontend |
| 1 | Written | Folder layout, and a refactor when the frontend already exists | project-architecture |
| 2 | Written | App shell and data model | payload-bootstrap |
| 3 | Written | Roles, admin brand, languages | payload-auth-rbac, payload-admin-branding, payload-localization |
| 4 | Written | Preview, media, SEO, legal pages | payload-live-preview, payload-media, payload-seo-geo, payload-legal-trust |
| 5 | Written | Forms, bookings, integrations, client MCP | payload-forms-crm, payload-bookings-payments, payload-integrations, payload-mcp |
| 6 | Written | Cache cost and speed | payload-performance |
| 7 | Written | Save, preview, and invalidation checks | payload-testing |
| 8 | Written | Vercel, migrations, env, cron | payload-deploy-vercel |
The same checklist is what the project pack writes into PROJECT.md.
| Skill | Use it for |
|---|---|
| payload-project-kickoff | Entry point: reads the brief, detects the scenario, plans phases, routes to skills |
| agent-guardrails | Hard rules for scope, shell use, loop breaking, secrets, and unattended runs |
| project-architecture | Canonical folder layout, code conventions, refactor-first playbook for existing frontends |
| figma-handoff | Figma frames mapped onto locale routes, tokens in the existing theme |
| creative-frontend | Free motion, 3D, and copied components after a license check |
| payload-bootstrap | New project from the official template, or Payload added to an existing Next.js app |
| payload-admin-branding | Admin panel that matches the site brand with minimal, upgrade-safe CSS |
| payload-localization | Content locales, RTL, admin language that follows the content locale, localized routes |
| payload-live-preview | Server-side live preview with drafts, autosave, locales, and cache bypass |
| payload-media | Direct browser uploads (Cloudinary, R2, S3), in-browser WebP optimization, Mux video |
| payload-seo-geo | SEO, AEO, GEO: metadata, JSON-LD, sitemap, /llms.txt, Summarize with AI links |
| payload-legal-trust | Admin-editable policy pages, trust center, cookie consent, GDPR badge |
| payload-forms-crm | Frontend forms (React Hook Form + Zod), leads collection, simple CRM, CSV export |
| payload-bookings-payments | Consultation booking with Paymob, Stripe, PayPal, or Tap, plus Google Calendar. Kashier and Fawry are documented but not verified |
| payload-integrations | Resend, Mailgun, Google Sheets, Drive, Search Console, Turnstile |
| payload-mcp | Optional MCP endpoint tuned for Vercel limits |
| payload-auth-rbac | Multiple admins, roles, field-level access, safe defaults |
| payload-performance | Caching and revalidation, bundle size, images, lazy loading, Core Web Vitals |
| payload-testing | Save-and-persist tests, live preview tests, save-failure diagnosis |
| payload-deploy-vercel | Vercel Hobby limits, migrations in CI, env vars, cron, Turso |
These skills sit on top of the official Payload skill, which covers the full Payload API. The kickoff skill makes sure it is installed in the project, version-matched to Payload 3.
| Concern | Choice |
|---|---|
| Framework | Next.js (latest stable, App Router) + Payload 3.x + Tailwind CSS |
| Database | libSQL / Turso through @payloadcms/db-sqlite |
| Hosting | Vercel (Hobby limits respected) |
| Images | Cloudinary, or Cloudflare R2 / S3, uploaded directly from the browser |
| Video | Mux (alternatives: Vimeo, unlisted YouTube) |
| Resend, or Mailgun over SMTP | |
| Client data | TanStack Query |
| Forms | React Hook Form + Zod |
| Payments | Paymob, Stripe, PayPal, Tap (Kashier and Fawry are not verified) |
Exact verified versions live in versions.json. A weekly workflow opens an issue when upstream versions drift.
The skills are written so that smaller and cheaper models can follow them step by step. A setup that works well:
| Role | Example models |
|---|---|
| Design in Figma | Muse, Gemini |
| Build features | Gemini, Claude, Grok |
| Small scoped tasks | DeepSeek, Xiaomi MiMo, OpenCode Big Pickle |
| Review | Claude, Opus |
See skills/payload-project-kickoff/references/model-roles.md.
skills/ one folder per skill (SKILL.md + references/ + assets/)
project-pack/ static brief form (no server)
scripts/ validator, upstream check, and the library MCP server
docs/ GitHub Pages site (index.html) plus architecture, install, roadmap, versions
.github/ CI workflows, issue and pull request templates
versions.json verified package versions
Open project-pack/index.html in a browser. It downloads PROJECT.md, AGENTS.md, and skills-install.txt. Nothing is uploaded. Details are in project-pack/README.md.
This is a local stdio server for the skills in this repository. It is not the Payload MCP plugin inside a client website (payload-mcp).
node scripts/library-mcp.mjs
Point the editor at that command with the absolute path of this clone. The server speaks newline-delimited JSON-RPC (2025-03-26 and 2024-11-05) and exposes list_skills, read_skill, and read_reference. Confirm the config file path in the current editor docs before saving it.
{
"mcpServers": {
"payload-cms-skills": {
"command": "node",
"args": ["<absolute-path-to-this-clone>/scripts/library-mcp.mjs"]
}
}
}
Payload 4 waits until it is stable. See docs/ROADMAP.md.
Contributions are welcome. Read CONTRIBUTING.md first; run npm run validate before opening a pull request.
MIT. The official Payload skill that projects install separately is MIT-licensed by Payload CMS, Inc.
Topics
plugin
OAuth 2.1 with PKCE and dynamic client registration for the Payload MCP plugin, for custom connectors
715.9k/wk9v3
payload cli
Command-line access to Payload collections and globals through the Local API, built for AI agents and humans
588/wk13v3
payload dev tools
Floating dev toolbar, /dev pages and an app snapshot for AI agents in Payload projects on Next.js
5548/wk18v3
payload plugin workflows
Code-defined editorial workflows with stages, actions, transitions and publish guards for editors and AI agents
73797/wk37v3
payload arch skill
Claude Code skill enforcing a route, controller, service and store architecture in Payload projects
272v?
payload plugin template
Starter template for building Payload v3 plugins with a dev app, tests and Docker support
197v3