agentleFS
RamezHanyRamezHany/payload-cms-skills/skills/payload-project-kickoff/SKILL.md

payload-project-kickoff

Skill0 starsChanged 13 days agoMITView on GitHub

Entry point for every Payload CMS + Next.js website session. Use at the start of any task on a Payload project, when starting a new site from a brief or Figma link, when adding a backend to an existing frontend, or when unsure which skill applies. Loads guardrails, reads PROJECT.md, detects the scenario, writes a phased plan, and routes each phase to the right skill.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run this skill first in every session.

    line 11
  2. Very specific:

    Read PROJECT.md at the repository root.

    line 16
  3. Very specific:

    If it is missing, copy assets/PROJECT.template.md to PROJECT.md.

    line 17
  4. Distinctive:

    Read AGENTS.md at the root if it exists.

    line 18
  5. Very specific:

    If PROJECT.md has a ## Session log, read the last entry and continue from its "Next step".

    line 19
  6. Very specific:

    Read package.json and list the top-level folders.

    line 23
  7. Very specific:

    Check for .agents/skills/payload/SKILL.md or .claude/skills/payload/SKILL.md.

    line 39
  8. Very specific:

    Write the plan into PROJECT.md under ## Phases as a checklist.

    line 47
  9. Very specific:

    When the brief has a Figma URL, add a Design handoff line before phase 1 (figma-handoff).

    line 49
  10. Very specific:

    Do not substitute any of these unless PROJECT.md records the client's approval.

    line 87
  11. Distinctive:

    When several models share a project, assign roles as described in references/model-roles.md.

    line 112

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Payload project kickoff

Run this skill first in every session. It costs a few file reads and prevents rebuilding work that already exists.

Step 1: Load the rules

  1. Load the agent-guardrails skill and follow it for the whole session.
  2. Read PROJECT.md at the repository root.
    • If it is missing, copy assets/PROJECT.template.md to PROJECT.md. Fill in only what the brief states. Write TBD for anything unknown. Never invent client names, prices, addresses, or legal text.
  3. Read AGENTS.md at the root if it exists. If it does not exist, copy assets/AGENTS.template.md to AGENTS.md.
  4. If PROJECT.md has a ## Session log, read the last entry and continue from its "Next step".

Step 2: Detect the scenario

Read package.json and list the top-level folders. Do not install anything to detect the scenario.

SignalScenarioFirst skill
Empty folder, or no package.jsonA. New sitepayload-bootstrap
Next.js app, no payload dependencyB. Backend for an existing frontendproject-architecture (refactor first), then payload-bootstrap
Vite, Create React App, or Lovable export (no next dependency)C. Migrate to Next.js, then add the backendproject-architecture (migration playbook)
payload dependency presentD. Feature or fixThe feature skill from the routing table
Brief includes a Figma linkFrontend from designfigma-handoff, then scenario A or B

Record the scenario in PROJECT.md under ## Scenario.

Step 3: Make sure the official Payload skill is installed

Payload maintains an official skill that documents the full API (collections, fields, hooks, access control, queries). These skills cover stack decisions and flows on top of it. Read the official skill whenever you need API details; do not guess field options or hook signatures.

  1. Check for .agents/skills/payload/SKILL.md or .claude/skills/payload/SKILL.md.
  2. If missing:
    • Scenario A: payload-bootstrap installs it through create-payload-app --agent.
    • Scenarios B, C, D: run npx degit payloadcms/payload/tools/claude-plugin/skills/payload#3.x .agents/skills/payload
  3. The 3.x branch matches Payload 3. Never install the skill from the default branch; it documents Payload 4.

Step 4: Write the phased plan

Write the plan into PROJECT.md under ## Phases as a checklist. Use only the phases the brief needs, in this order.

When the brief has a Figma URL, add a Design handoff line before phase 1 (figma-handoff). When the design needs motion, 3D, or a copied component, add a Creative frontend line next (creative-frontend). The numbered phases stay in this order:

  1. Architecture: folder layout, refactor an existing frontend (project-architecture)
  2. Bootstrap and data model (payload-bootstrap)
  3. Admin: roles, branding, languages (payload-auth-rbac, payload-admin-branding, payload-localization)
  4. Content: live preview, media, SEO and GEO, legal pages (payload-live-preview, payload-media, payload-seo-geo, payload-legal-trust)
  5. Business flows: forms, bookings, payments, integrations, MCP (payload-forms-crm, payload-bookings-payments, payload-integrations, payload-mcp)
  6. Performance (payload-performance)
  7. Testing (payload-testing)
  8. Deploy (payload-deploy-vercel)

Each phase line names its skill and a one-line "Done when". Work on one phase at a time. Smaller models should finish one phase per session.

Step 5: Route tasks to skills

TaskSkill
New project, install Payload, data modelpayload-bootstrap
Folder layout, refactor, migrate from Vite or Lovableproject-architecture
Figma file, frames, design handofffigma-handoff
GSAP, Lenis, Motion, 3D, Rive, or a copied free componentcreative-frontend
Admin colors, logo, sidebar, dashboardpayload-admin-branding
Multiple languages, RTL, translated adminpayload-localization
Live preview, drafts, preview buttonpayload-live-preview
Images, video, files, uploadspayload-media
Metadata, sitemap, JSON-LD, llms.txt, AI linkspayload-seo-geo
Privacy, terms, cookies, trust page, GDPRpayload-legal-trust
Contact forms, leads, CRM, CSV exportpayload-forms-crm
Booking, payments, calendar, confirmationspayload-bookings-payments
Email, Google Sheets, Drive, Search Console, spam protectionpayload-integrations
MCP server for the clientpayload-mcp
Users, roles, permissionspayload-auth-rbac
Speed, caching, bundlespayload-performance
Tests, saves failing, preview brokenpayload-testing
Deploy, env vars, migrations, cronpayload-deploy-vercel

Fixed stack

Do not substitute any of these unless PROJECT.md records the client's approval.

ConcernChoiceSkill
FrameworkNext.js latest stable (App Router) + Payload 3.xpayload-bootstrap
DatabaselibSQL / Turso with @payloadcms/db-sqlitepayload-bootstrap
HostingVercel, Hobby limits respectedpayload-deploy-vercel
ImagesCloudinary or Cloudflare R2, direct browser uploadpayload-media
VideoMux; Vimeo or unlisted YouTube as alternativespayload-media
EmailResend; Mailgun over SMTP as alternativepayload-integrations
StylingTailwind CSSproject-architecture

Coding rules for every phase

  • TypeScript strict. No any in new code.
  • Server data: React Server Components with the Payload Local API.
  • Client data: TanStack Query. Never useEffect + fetch for data.
  • Forms: React Hook Form + Zod through @hookform/resolvers/zod. Use Zod's built-in validators (z.email(), z.url(), z.e164()); never hand-written regex.
  • shadcn/ui is never the base design system. The shadcn CLI may fetch one specific registry component only when PROJECT.md lists it.
  • Install the latest stable version of each package: check with pnpm view <package> version before adding it.
  • Package manager: pnpm.
  • Full conventions: project-architecture skill.

Model roles

When several models share a project, assign roles as described in references/model-roles.md.

Done when

  • PROJECT.md exists, with the scenario and phases filled in
  • AGENTS.md exists at the root
  • The official Payload skill is installed from the 3.x branch
  • The current phase and its skill are named in PROJECT.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.