Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

cron-scaffold

Estrellas2
Forks0
Actualizado6 de junio de 2026, 19:29

Scaffold a Kinroster background job + its secured cron route: a src/lib/jobs/<name>.ts module exporting an async runner (typed Options/ Result, service-role client, per-org iteration, consent gating, returns counts) and a src/app/api/cron/<name>/route.ts GET handler gated by the CRON_SECRET bearer token. Reminds where the schedule must be registered. Use this skill when the user says any of: "new cron job", "scaffold a background job", "add a scheduled task", "new cron route", "/cron-scaffold". IMPORTANT: The cron route MUST check the CRON_SECRET bearer token before doing anything. Jobs run with the service-role client (they bypass RLS) so they must scope every query by organization themselves and respect consent gates. This repo's vercel.json has NO crons block — the schedule is registered externally; don't claim it auto-runs.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

SKILL.md
readonly