fsrs-integration

Integrate TS-FSRS scheduling into DanskPrep for spaced repetition.

3|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/YanCheng-go/danskprep --skill fsrs-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fsrs-integration
Source: https://github.com/YanCheng-go/danskprep/tree/main/.claude/skills/fsrs-integration
Command: npx skills add https://github.com/YanCheng-go/danskprep --skill fsrs-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement or extend a robust spaced repetition integration within DanskPrep to automate scheduling, retention, and review pacing for PD3 Module 2 learners.

Core Features & Use Cases

  • TS-FSRS-based scheduling enables automatic card due determination, review timing, and progress tracking within the study workflow.
  • Provides mappings between Supabase user_cards fields and FSRS Card attributes, supports deterministic review flows, and logs reviews for analytics.
  • Use case: a developer enables deterministic quiz practice by queuing due cards, collecting ratings, and updating the dataset accordingly to improve retention.

Quick Start

Run the app and trigger a sample review cycle to validate the FSRS integration.

Frequently Asked Questions about fsrs-integration

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

FAQPage Schema
How do I automate spaced repetition scheduling for a TypeScript language learning app?

Automate spaced repetition scheduling by integrating TS-FSRS to determine card due dates, manage review queues, and log ratings. This integration maps user data directly to FSRS card attributes, automating study workflows.

What is TS-FSRS used for in language study platforms?

TS-FSRS is used to automate spaced repetition scheduling, calculating when flashcards are due for review based on past ratings. It enables deterministic quiz practice and improves long-term retention for learners.

How do I map database records to FSRS cards for a review queue?

Map database records to FSRS cards by creating clear data mappings between your user_cards fields and FSRS Card attributes. This ensures deterministic review flows and accurate progress tracking for analytics.

Can I use TS-FSRS to manage the flashcard lifecycle and track progress analytics?

Yes, TS-FSRS applies to card lifecycle management, due queue generation, and review logging. It supports UI integration across the study module to track and visualize progress analytics effectively.

What database and environment setup do I need for a TS-FSRS spaced repetition integration?

You need a TypeScript-based environment with a database like Supabase for user_cards records. Adherence to safety and maintainability guidelines from the fsrs-rules reference is required for valid integration.

How do I validate a TS-FSRS spaced repetition integration?

Validate the TS-FSRS spaced repetition integration by running the application and triggering a sample review cycle. This tests the queuing of due cards, rating collection, and dataset updates.