stim-calc-dev

Modify the stimulant-elimination-calculator app with surgical edits and guard validation.

Updated Jan 3, 2026
One-click install
npx skills add https://github.com/suleman7-DMD/dental-quest --skill stim-calc-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stim-calc-dev
Source: https://github.com/suleman7-DMD/dental-quest/tree/main/.claude/skills/stim-calc-dev
Command: npx skills add https://github.com/suleman7-DMD/dental-quest --skill stim-calc-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Develop and debug the Stimulant Elimination Calculator app (stimulant-elimination-calculator.html) — a pharmacokinetic sleep prediction app with XR modeling, circadian rhythm, and workout planning. Use this skill when you are asked to modify, fix, or add features to stimulant-elimination-calculator.html.

Core Features & Use Cases

  • Debug a wrong sleep prediction by inspecting calculateSleepTime() phases, threshold, circadian guard, and DR/ghost-load interactions.
  • Add or modify a feature by reading the state structure, locating the relevant function, making surgical edits, and validating changes with the 5 Firebase guards and regression tests.
  • Fix data synchronization issues across devices by following the documented sync pattern and ensuring safe merges and guard preservation.

Quick Start

Launch stimulant-elimination-calculator.html and start by tracing XR decay, circadian constraints, and all-nighter behavior to validate changes.

Frequently Asked Questions about stim-calc-dev

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

FAQPage Schema
How do I debug incorrect sleep prediction results in a pharmacokinetic calculator?

To debug sleep prediction issues, inspect the calculateSleepTime() function phases, threshold values, circadian guard logic, and DR/ghost-load interactions to trace XR decay and identify calculation errors within the stimulant-elimination-calculator app.

What is the best way to add new features to an XR pharmacokinetics sleep prediction app?

The best way to add features involves reading the state structure, locating the relevant function, making surgical edits, and validating changes using the 5 Firebase guards and regression tests to ensure maintainability and safe integration.

How does Firebase sync work with circadian rhythm and workout modifiers?

Firebase sync works by following a documented synchronization pattern that ensures safe data merges across devices while preserving guard validation for circadian rhythm constraints, workout modifiers, and XR pharmacokinetics data.

Why are my Firebase data synchronization guards failing after modifying the stimulant elimination calculator?

Firebase data synchronization guards fail when surgical edits do not follow the documented sync pattern, compromising safe merges and guard preservation across the app's modules during feature integration or debugging.

Can I use this workflow to trace all-nighter behavior and circadian constraints in a sleep prediction app?

Yes, you can trace all-nighter behavior and circadian constraints by launching the stimulant-elimination-calculator, validating changes against the circadian guard, and inspecting how the XR decay phases interact with the threshold logic.