When prek (pre-commit) checks fail:
cursor-rule
Compound-inc/rift
This document outlines coding rules and best practices for using Effect-TS in a Next.js application. The focus is on achieving full type safety, optimistic UI updates, detailed error handling, proper async/sync management, observability, and overall maintainability. These guidelines promote a "type safety" mindset: avoid any, leverage inference, and ensure everything is composable and predictable.
RULE got grade A on our automated scan on 2026-10-26.
Details
Source
Public file: https://github.com/Compound-inc/rift/blob/45b671fad088131af06e48f5340050f3e4e58965/.cursor/rules/effect/RULE.md
Last scanned: (Oct 26, 2026, 2:08 a.m. ET)
Category: uncategorized
License: Present
Before you install
- Read any scripts this skill ships.
- Note every URL it fetches.
- Check allowed-tools and hooks.
Embed this grade
Add this badge to your README. It shows the current grade from CheckSkills.
Report this skill if the grade looks wrong, or if something slipped through.
Related
Show detailed context for a re_gent step, including tool calls, tool results, and conversation.
You are an experienced skill designer with expertise in:
Auto-fix linting and formatting issues
View the re_gent activity log for the default or selected session. The default view shows the conversation timeline and tool calls; file summaries are available with file flags.