Skip to content

Commit 04a7783

Browse files
committed
feat: update task routing and skills documentation for front-end components and security
1 parent 3e0c0b9 commit 04a7783

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Match the task to the table before starting. A single task often maps to multipl
2323
|---|---|
2424
| Creating a new collection or extending the schema | Load skill `payload-build-collections` |
2525
| Adding a custom admin view, tab, or field UI | Load skill `payload-build-modules` |
26+
| Building a front-end component or page (`src/components`, `(frontend)`) | Load skill `payload-frontend-build-components` |
2627
| Debugging hooks, queries, access control, transactions | Load skill `payload` |
27-
| Writing or reviewing any user-facing string | Load skill `ui-copy` |
28+
| Security review, or adding/modifying auth, access control, uploads, CORS/CSRF, headers | Load skill `payload-security` |
2829
| Writing questions for a client or stakeholder | Load skill `writing-questions` |
2930
| Starting a new spec or reviewing one | Load skill `spec-writing` |
3031
| Any TypeScript code | Load skill `code-style` |
@@ -59,7 +60,8 @@ This installs into `.claude/skills/` (Claude Code) and `.agents/skills/` (Codex)
5960
| `payload` | Debugging Payload: hooks, queries, access control, transactions, security |
6061
| `payload-build-collections` | Creating a new collection or extending the schema |
6162
| `payload-build-modules` | Adding a custom admin view, tab, or field component |
62-
| `ui-copy` | Any user-facing string (labels, descriptions, toasts, errors) |
63+
| `payload-frontend-build-components` | Building a front-end React component or page (Next.js + Tailwind) |
64+
| `payload-security` | Security review, or auth/access control/uploads/CORS/CSRF/headers/logging changes |
6365
| `writing-questions` | Writing questions for a client or stakeholder |
6466
| `spec-writing` | Writing or reviewing a feature spec |
6567

@@ -70,7 +72,8 @@ This installs into `.claude/skills/` (Claude Code) and `.agents/skills/` (Codex)
7072
| Any TypeScript code | `code-style` |
7173
| New collection | `payload-build-collections` + `code-style` |
7274
| New admin view | `payload-build-modules` + `code-style` |
73-
| Any user-facing string | `ui-copy` |
75+
| Front-end component or page | `payload-frontend-build-components` + `code-style` |
76+
| Collection security / access control | `payload-security` + `payload` |
7477

7578
---
7679

0 commit comments

Comments
 (0)