mora

Community

Treat time as I/O; ban sleeps.

Authorwatmin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Mora enforces time discipline by ensuring waits are driven by genuine events rather than fixed sleeps, reducing flaky behavior and improving determinism.

Core Features & Use Cases

  • Detects sleeps, timeouts, and busy-waits in code and tests and flags them as potential design flaws.
  • Guides refactors to swap waits-by-mechanism for event-driven patterns (fd-events, channels, timer-driven triggers).
  • Use case: when tests sleep to wait for readiness, Mora suggests awaiting a server-ready marker or channel notification to drive deterministic flows.

Quick Start

Refactor a sample wait to be driven by an event source instead of a fixed sleep.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mora
Download link: https://github.com/watmin/datamancy.dev/archive/main.zip#mora

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.