Skip to content
Prompt

elearning2 — Cursor Rules

by crialabs

AI Summary

Heuristic scoring (no AI key configured).

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "elearning2 — Cursor Rules" prompt rules to my project.
Repository: https://github.com/crialabs/elearning2

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Ultracite

Ultracite Code Standards

This project uses Ultracite, a zero-config Biome preset that enforces strict code quality standards through automated formatting and linting.

Quick Reference

• Format code: npx ultracite fix • Check for issues: npx ultracite check • Diagnose setup: npx ultracite doctor Biome (the underlying engine) provides extremely fast Rust-based linting and formatting. Most issues are automatically fixable. ---

Core Principles

Write code that is accessible, performant, type-safe, and maintainable. Focus on clarity and explicit intent over brevity.

Type Safety & Explicitness

• Use explicit types for function parameters and return values when they enhance clarity • Prefer unknown over any when the type is genuinely unknown • Use const assertions (as const) for immutable values and literal types • Leverage TypeScript's type narrowing instead of type assertions • Use meaningful variable names instead of magic numbers - extract constants with descriptive names

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Issues11
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more