A Claude Code skill that guides how to structure PayloadCMS projects into layered backend code with inward-only dependencies. It is installed through a Claude Code plugin marketplace rather than added to the Payload config. It builds on the official Payload skill and includes a CLAUDE.md template.
A Claude Code skill that enforces a layered route → controller → service → store architecture for PayloadCMS projects.
2
Stars
0
Forks
0
Open Issues
2 months ago
Last Updated
0
Weekly Downloads
v
npm Version
Dependencies
20 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 2 |
| Dec 4, 2026 | 2 |
| Dec 3, 2026 | 2 |
| Dec 2, 2026 | 2 |
| Dec 1, 2026 | 2 |
| Nov 30, 2026 | 2 |
| Nov 29, 2026 | 2 |
| Nov 28, 2026 | 2 |
| Nov 27, 2026 | 2 |
| Nov 26, 2026 | 2 |
| Nov 25, 2026 | 2 |
| Nov 24, 2026 | 2 |
| Nov 23, 2026 | 2 |
| Nov 22, 2026 | 2 |
| Nov 21, 2026 | 2 |
| Nov 20, 2026 | 2 |
| Nov 19, 2026 | 2 |
| Nov 18, 2026 | 2 |
| Nov 17, 2026 | 2 |
| Nov 16, 2026 | 2 |
| Nov 15, 2026 | 2 |
| Nov 14, 2026 | 2 |
| Nov 13, 2026 | 2 |
| Nov 12, 2026 | 2 |
| Nov 11, 2026 | 2 |
| Nov 10, 2026 | 2 |
| Nov 9, 2026 | 2 |
| Nov 8, 2026 | 2 |
| Nov 7, 2026 | 2 |
| Nov 6, 2026 | 2 |
| Nov 5, 2026 | 2 |
| Nov 4, 2026 | 2 |
| Nov 3, 2026 | 2 |
| Nov 2, 2026 | 2 |
| Nov 1, 2026 | 2 |
| Oct 31, 2026 | 2 |
| Oct 30, 2026 | 2 |
| Oct 29, 2026 | 2 |
| Oct 28, 2026 | 2 |
| Oct 27, 2026 | 2 |
| Oct 26, 2026 | 2 |
| Oct 25, 2026 | 2 |
| Oct 24, 2026 | 2 |
| Oct 23, 2026 | 2 |
| Oct 22, 2026 | 2 |
| Oct 21, 2026 | 2 |
| Oct 20, 2026 | 2 |
| Oct 19, 2026 | 2 |
| Oct 18, 2026 | 2 |
| Oct 17, 2026 | 2 |
| Oct 16, 2026 | 2 |
| Oct 15, 2026 | 2 |
| Oct 14, 2026 | 2 |
| Oct 13, 2026 | 2 |
| Oct 12, 2026 | 2 |
| Oct 11, 2026 | 2 |
| Oct 10, 2026 | 2 |
| Oct 9, 2026 | 2 |
| Oct 8, 2026 | 2 |
| Oct 7, 2026 | 2 |
| Oct 6, 2026 | 2 |
| Oct 5, 2026 | 2 |
| Oct 4, 2026 | 2 |
| Oct 3, 2026 | 2 |
| Oct 2, 2026 | 2 |
| Oct 1, 2026 | 2 |
| Sep 30, 2026 | 2 |
| Sep 29, 2026 | 2 |
| Sep 28, 2026 | 2 |
| Sep 27, 2026 | 2 |
| Sep 26, 2026 | 2 |
| Sep 25, 2026 | 2 |
| Sep 24, 2026 | 2 |
| Sep 23, 2026 | 2 |
| Sep 22, 2026 | 2 |
| Sep 21, 2026 | 2 |
| Sep 20, 2026 | 2 |
| Sep 19, 2026 | 2 |
| Sep 18, 2026 | 2 |
| Sep 17, 2026 | 2 |
| Sep 16, 2026 | 2 |
| Sep 15, 2026 | 2 |
| Sep 14, 2026 | 2 |
| Sep 13, 2026 | 2 |
| Sep 12, 2026 | 2 |
| Sep 11, 2026 | 2 |
| Sep 10, 2026 | 2 |
| Sep 9, 2026 | 2 |
| Sep 8, 2026 | 2 |
| Sep 7, 2026 | 2 |
| Sep 6, 2026 | 2 |
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/1225360228-root)<a href="https://payloaddirectory.dev/plugins/1225360228-root"><img src="https://payloaddirectory.dev/badge/1225360228-root.svg" alt="Payload Directory"></a>README
A Claude Code skill that enforces a layered route → controller → service → store architecture for PayloadCMS projects.
This skill was built on top of the official payload skill
from the PayloadCMS team. That skill covers the framework — collections, hooks, queries, access
control. This one covers the architectural layer on top of it: how to structure your code, where
things live, and how layers communicate.
Backend layers (inward-only dependency flow)
src/routes/ — endpoint registration only, zero logicsrc/controllers/ — HTTP parsing and response formatting, delegates to servicessrc/services/ — all business logic, can call other services and storessrc/store/ — Payload CRUD only, no business logic, never calls servicesFrontend
payloadClientSDK for all client-side data fetchingProject structure
src/types/ — domain TypeScript typessrc/utils/ — domain-specific pure utilitiessrc/lib/ — generic pure utilities (no domain dependencies)src/access/ — Payload access control functionssrc/const/ — frozen constants, all re-exported from an indexsrc/config/config.ts — the only place process.env is readsrc/jobs/ — task definitions and workflows separated into two files per domainCLAUDE.md template included in the skill — drop a thin, project-specific CLAUDE.md into any
new PayloadCMS project and let this skill handle the rest.
Register this repo as a Claude Code plugin marketplace:
/plugin marketplace add MinSomai/payload-arch-skill
Then install the skill:
/plugin in Claude Codepayload-arch-skillpayload-archOnce installed, the skill triggers automatically when you're working on a PayloadCMS project that follows this architecture. It activates when you mention routes, controllers, services, stores, jobs, SWR, components, or data fetching.
You can also invoke it explicitly:
/payload-arch where should this logic live?
Install the official PayloadCMS skill for deep framework reference (collections, hooks, queries):
npx skills add payloadcms/skills
The two skills are complementary — payload covers what the framework can do, payload-arch
covers how to structure your project on top of it.
MIT
Topics
payload cli
Command-line access to Payload collections and globals through the Local API, built for AI agents and humans
588/wk13v3
payload plugin tooling
Shared lint, format, TypeScript, build, test and CI config for developing Payload plugins
6039/wk0v4
cli
Command-line tool for initializing projects, managing plugins and generating collections in Payload
30110/wk4v?
payload cms skills
Agent Skills that guide coding agents to build Payload CMS 3 and Next.js sites consistently
250v?
payload plugin template
Starter template for building Payload v3 plugins with a dev app, tests and Docker support
197v3
payload field factories
Typed factory functions that build Payload field configs with concise, composable overrides
77255/wk1v3