[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EMPNPWF374CBYVS3XQR826":3,"skill-same:01M7EMPNPWF374CBYVS3XQR826":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EMPNPWF374CBYVS3XQR826","cron-jobs",null,"Scheduled jobs on PaaS and in the cloud — cron syntax, reliability, and observability — vendor-neutral patterns.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-cron-jobs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cron-jobs\ndescription: Scheduled jobs on PaaS and in the cloud — cron syntax, reliability, and observability — vendor-neutral patterns.\ncategory: railway\n---\n\n## Overview\n\nScheduled work — nightly reports, data syncs, cleanup tasks, reminder emails —\nruns on cron-like schedulers everywhere: platform cron add-ons, Kubernetes\nCronJobs, or managed schedulers. The hard parts aren't the schedule syntax;\nthey're reliability (exactly-once-ish semantics, failure handling) and\nobservability (did it run? did it succeed?). This skill covers both.\n\n## When to use\n\n- Setting up recurring jobs (reports, syncs, cleanups, digests)\n- Choosing between in-app schedulers and platform cron\n- Making jobs idempotent and safe to retry\n- Monitoring job execution (success, duration, missed runs)\n- Debugging overlapping runs and timezone bugs\n\n## Core concepts\n\n**Cron syntax, precisely.** `* * * * *` = minute hour day-of-month month\nday-of-week. `0 9 * * 1-5` = 9am weekdays. Ranges, steps (`*\u002F15`), and lists\n(`1,15`) compose freely. The classic traps: day-of-month AND day-of-week\n(OR semantics in most crons — `0 0 1 * 1` runs on the 1st AND every Monday),\nand everything in UTC unless configured otherwise.\n\n**Idempotency is mandatory.** Jobs get retried, run twice after deploys, and\noverlap. Design every job to be safely re-runnable: upsert instead of insert,\ndedupe on natural keys, guard with \"already processed\" markers. A job that\ndouble-charges or double-sends on retry is a bug, not bad luck.\n\n**Overlap protection.** Long jobs + short schedules = concurrent runs\ncorrupting shared state. Use distributed locks (DB advisory lock, Redis\n`SET NX`), or configure the scheduler's concurrency policy (forbid\u002Fallow\u002F\nreplace). Decide per job: skip-if-running is usually right for periodic syncs.\n\n**Timeouts and deadlines.** Every job needs a max runtime; a hung job holding\na lock blocks all future runs. Set timeouts at the scheduler and in code,\nand alert on jobs exceeding their p99 duration significantly.\n\n**Observability: the dead man's switch.** A job that fails loudly is fine; a\njob that silently stops running is dangerous. Monitor three things: did it\nstart (schedule drift\u002Fmissed runs), did it succeed (exit code\u002Fresult), and\nhow long did it take (duration anomalies). Heartbeat\u002Fdead-man alerts catch\nthe \"cron daemon died\" class of failures.\n\n## Practical workflow\n\n1. **Define the job contract:** what it does, its schedule (in UTC, stated\n   explicitly), expected duration, and its idempotency mechanism.\n2. **Implement defensively:** acquire lock → check preconditions → do work in\n   batches with progress → release lock; log start\u002Ffinish\u002Fduration\u002Frows-\n   processed as structured events.\n3. **Configure the schedule** on the platform (cron add-on, K8s CronJob,\n   managed scheduler); set timezone explicitly to UTC and convert in docs.\n4. **Add monitoring:** success\u002Ffailure alerting, duration tracking, and a\n   dead-man's-switch check for \"hasn't succeeded in N periods\".\n5. **Test the failure modes:** kill it mid-run (does the next run recover?),\n   run it twice concurrently (does the lock hold?), backfill a missed window\n   (does it catch up correctly or skip safely?).\n6. **Document runbooks:** what the job does, where logs live, how to run it\n   manually, and how to disable it in an emergency.\n\n## Common pitfalls\n\n- **Timezone bugs** — \"9am\" in the developer's timezone vs UTC; daylight\n  saving shifts; always schedule in UTC and document the mapping.\n- **Non-idempotent jobs** — duplicate emails, double billing, repeated\n  side effects on retry; make re-runs safe by construction.\n- **Silent death** — scheduler misconfigured, job deleted, credentials\n  expired; without dead-man alerting nobody notices for weeks.\n- **Overlapping runs** — no locking + variable duration = corruption;\n  choose a concurrency policy per job.\n- **Jobs as hidden infrastructure** — cron entries living only in one\n  person's head or a forgotten server; define jobs as code, in version\n  control, with owners.\n- **No manual-run path** — when the job needs an ad-hoc run (backfill,\n  incident), \"just wait for the schedule\" isn't acceptable; make manual\n  triggers first-class.\n","## Overview\n\nScheduled work — nightly reports, data syncs, cleanup tasks, reminder emails —\nruns on cron-like schedulers everywhere: platform cron add-ons, Kubernetes\nCronJobs, or managed schedulers. The hard parts aren't the schedule syntax;\nthey're reliability (exactly-once-ish semantics, failure handling) and\nobservability (did it run? did it succeed?). This skill covers both.\n\n## When to use\n\n- Setting up recurring jobs (reports, syncs, cleanups, digests)\n- Choosing between in-app schedulers and platform cron\n- Making jobs idempotent and safe to retry\n- Monitoring job execution (success, duration, missed runs)\n- Debugging overlapping runs and timezone bugs\n\n## Core concepts\n\n**Cron syntax, precisely.** `* * * * *` = minute hour day-of-month month\nday-of-week. `0 9 * * 1-5` = 9am weekdays. Ranges, steps (`*\u002F15`), and lists\n(`1,15`) compose freely. The classic traps: day-of-month AND day-of-week\n(OR semantics in most crons — `0 0 1 * 1` runs on the 1st AND every Monday),\nand everything in UTC unless configured otherwise.\n\n**Idempotency is mandatory.** Jobs get retried, run twice after deploys, and\noverlap. Design every job to be safely re-runnable: upsert instead of insert,\ndedupe on natural keys, guard with \"already processed\" markers. A job that\ndouble-charges or double-sends on retry is a bug, not bad luck.\n\n**Overlap protection.** Long jobs + short schedules = concurrent runs\ncorrupting shared state. Use distributed locks (DB advisory lock, Redis\n`SET NX`), or configure the scheduler's concurrency policy (forbid\u002Fallow\u002F\nreplace). Decide per job: skip-if-running is usually right for periodic syncs.\n\n**Timeouts and deadlines.** Every job needs a max runtime; a hung job holding\na lock blocks all future runs. Set timeouts at the scheduler and in code,\nand alert on jobs exceeding their p99 duration significantly.\n\n**Observability: the dead man's switch.** A job that fails loudly is fine; a\njob that silently stops running is dangerous. Monitor three things: did it\nstart (schedule drift\u002Fmissed runs), did it succeed (exit code\u002Fresult), and\nhow long did it take (duration anomalies). Heartbeat\u002Fdead-man alerts catch\nthe \"cron daemon died\" class of failures.\n\n## Practical workflow\n\n1. **Define the job contract:** what it does, its schedule (in UTC, stated\n   explicitly), expected duration, and its idempotency mechanism.\n2. **Implement defensively:** acquire lock → check preconditions → do work in\n   batches with progress → release lock; log start\u002Ffinish\u002Fduration\u002Frows-\n   processed as structured events.\n3. **Configure the schedule** on the platform (cron add-on, K8s CronJob,\n   managed scheduler); set timezone explicitly to UTC and convert in docs.\n4. **Add monitoring:** success\u002Ffailure alerting, duration tracking, and a\n   dead-man's-switch check for \"hasn't succeeded in N periods\".\n5. **Test the failure modes:** kill it mid-run (does the next run recover?),\n   run it twice concurrently (does the lock hold?), backfill a missed window\n   (does it catch up correctly or skip safely?).\n6. **Document runbooks:** what the job does, where logs live, how to run it\n   manually, and how to disable it in an emergency.\n\n## Common pitfalls\n\n- **Timezone bugs** — \"9am\" in the developer's timezone vs UTC; daylight\n  saving shifts; always schedule in UTC and document the mapping.\n- **Non-idempotent jobs** — duplicate emails, double billing, repeated\n  side effects on retry; make re-runs safe by construction.\n- **Silent death** — scheduler misconfigured, job deleted, credentials\n  expired; without dead-man alerting nobody notices for weeks.\n- **Overlapping runs** — no locking + variable duration = corruption;\n  choose a concurrency policy per job.\n- **Jobs as hidden infrastructure** — cron entries living only in one\n  person's head or a forgotten server; define jobs as code, in version\n  control, with owners.\n- **No manual-run path** — when the job needs an ad-hoc run (backfill,\n  incident), \"just wait for the schedule\" isn't acceptable; make manual\n  triggers first-class.\n",{"name":5,"category":24,"description":7},"railway","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-cron-jobs",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill cron-jobs",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill cron-jobs",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill cron-jobs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-cron-jobs\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]