streak-tracker

Generate a SwiftData streak-tracking system with timezone-aware day boundaries and freeze protection.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill streak-tracker-jtvaris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: streak-tracker
Source: https://github.com/jtvaris/sunday-night-dynasty/tree/main/.agents/skills/generators/streak-tracker
Command: npx skills add https://github.com/jtvaris/sunday-night-dynasty --skill streak-tracker-jtvaris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tracking daily and weekly engagement across users for habit-like behavior, while ensuring streaks are preserved even when days slip.

Core Features & Use Cases

  • Timezone-aware day boundaries and calendar-based streak calculations.
  • Streak freeze protection allowing limited passes to preserve streaks after missed days.
  • Streak-at-risk local notifications to prompt users before day ends.
  • Support for multiple activity types and flexible interval configuration (daily or weekly).
  • Visual aids like calendar heat maps and badge views to motivate users.
  • Designed for production-grade apps using SwiftData and @Observable.

Quick Start

Instruct the AI to generate a production-ready streak-tracking module that records daily activity, supports timezone-aware day boundaries, freeze protection, and at-risk notifications.

Frequently Asked Questions about streak-tracker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement timezone-aware streak tracking in a SwiftData app?

Timezone-aware streak tracking in a SwiftData app uses calendar-based day boundaries to accurately record daily activity across different timezones. The system generates a production-grade module with StreakRecord and StreakManager files to handle persistent tracking safely.

How do I set up at-risk local notifications for daily streaks?

At-risk local notifications prompt users before the day ends to maintain their streaks. The generation workflow includes notification configuration alongside the StreakManager to trigger alerts when daily activity is missing.

Can I track multiple activity types with different daily or weekly intervals?

You can track multiple activity types with flexible interval configuration supporting both daily and weekly streaks. The generated system handles various activity types simultaneously using SwiftData and @Observable for reactive UI updates.

Does this streak tracking system work for both iOS and macOS apps?

The streak tracking system is designed for production-grade iOS and macOS apps using SwiftData and @Observable. It includes visual aids like calendar heat maps and badge views to motivate users across both platforms.

What is the best way to preserve user streaks when days are missed?

Streak freeze protection allows limited passes to preserve streaks after missed days, preventing users from losing progress during occasional lapses. It generates a StreakFreeze component to manage these limited passes within the tracking system.