Time Zone Contract Repair

    1

    Repair time-zone contract drift in a repository using Cursor.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Audit our booking service and worker logic. Recurring appointments drift after DST, and our reports vary by server location. Fix the code to use IANA zones and stable occurrence IDs.

    Your agent does

    I have identified 6 drift points. Findings include naive UTC conversions in the API and fixed 24-hour recurrence offsets. I have prepared a patch adding IANA zone validation and half-open report ranges. 12 new deterministic tests verify the fix across DST gaps and folds.

    What you get

    Detect and fix naive timestamps being treated as UTC instants.Repair recurring schedules to respect IANA zone rules instead of fixed offsets.Standardize reporting boundaries using explicit business-zone ranges.Prevent duplicate or missed jobs during daylight saving gaps and folds.Isolate date-only values to prevent shifting across midnight boundaries.

    About this skill

    The problem

    Date and time behavior often drifts across API schemas, database columns, and background workers. Naive timestamps, lost zone identities, and broken recurrence logic lead to shifted all-day events and duplicate or missed scheduled jobs.

    What it does

    • Traces temporal values from user input through validation, storage, and worker execution to find contract drift.
    • Identifies naive timestamps, false UTC conversions, and fixed-offset recurrence errors during DST transitions.
    • Introduces explicit temporal types and IANA zone validation to replace fragile numeric offsets.
    • Repairs overnight availability windows and reporting boundaries to ensure consistency across different server zones.
    • Updates mocks, fixtures, and tests to verify time-sensitive logic deterministically without using live clocks.

    Frameworks & tools

    Works with repository materials including Prisma, Django, SQLAlchemy, BullMQ, Celery, and standard date libraries. Uses local verification tools like Bash, grep, and repository-specific test runners.

    Why this beats prompting it yourself

    Handling daylight saving gaps, autumn folds, and recurrence expansion requires a strict "time contract" approach that generic prompts miss. This skill enforces a comprehensive audit of every temporal layer, from database session zones to serialization, ensuring patches are bounded and safe.

    Use cases

    • Fixing all-day calendar events that shift dates when viewed in different time zones.
    • Repairing recurring reminders that drift an hour after a daylight saving transition.
    • Resolving duplicate background jobs caused by autumn clock changes.
    • Standardizing report boundaries so daily exports don't change based on container location.

    Known limitations

    Does not access live calendars, production databases, or external booking providers. Will not execute data migrations or select organization-wide business time zone policies.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Frequently Asked Questions