payload-revalidate — Agent usage
Install matching skills
Section titled “Install matching skills”Install the skills whose triggers match the task.
payload-revalidate
Section titled “payload-revalidate”Use when wiring, reviewing, or testing Payload CMS to Next.js cache revalidation with @nexload-sdk/payload-revalidate, configuring createRevalidator, composing hooks() or globalHooks(), designing tag/path rules, handling bulk skipRevalidate + send() jobs, or mounting createRevalidateHandler. Decides signed vs allowUnsigned receiver security, locale-scoped tags, custom isPublic predicates, flush() boundaries, and createTestRevalidator setup. Do not use for top-level Payload preset or collection audit logging (use payload-preset or payload-hooks/auditPlugin), general logging (use logger), Persian normalization/search keys (use persian), or standalone Next.js ISR without Payload.npx skills add gecut/nexload-sdk --skill payload-revalidateProject AGENTS.md
Section titled “Project AGENTS.md”For @nexload-sdk/payload-revalidate, load payload-revalidate when its trigger matches. Read the package bundle and check public exports against the installed version before editing.Package context
Section titled “Package context”Prompts
Section titled “Prompts”Wire @nexload-sdk/payload-revalidate for my products collection and Next.js /api/revalidate route using payload-revalidate. Inspect the installed version and show a minimal typed example.Review my @nexload-sdk/payload-revalidate integration against the optimization page. Identify the relevant source for each finding and one test using createTestRevalidator.