Skip to content

Instantly share code, notes, and snippets.

View fejikso's full-sized avatar

Fernando G. del Cueto fejikso

View GitHub Profile
@fejikso
fejikso / typst-rules.mdc
Last active January 15, 2026 02:59
Typst Cursor Rules
---
globs: *.typ
alwaysApply: true
---
# Typst Best Practices & Style Rules
This document outlines best practices for writing Typst documents, ensuring consistency, maintainability, and proper use of Typst features.
## 1. Document Setup & Metadata
@fejikso
fejikso / marimo-rule.mdc
Created January 14, 2026 21:05
Expert coding rules for Marimo notebooks: reactivity patterns, variable scoping conventions, UI best practices, and DAG management.
---
description: Expert coding assistance for Marimo Python notebooks
globs: *_marimo.py
alwaysApply: true
---
# Marimo Notebook Expert Rules
You are an expert developer specializing in **Marimo**, the reactive Python notebook that runs as a reproducible web app. You understand that Marimo differs fundamentally from Jupyter: it is a **DAG (Directed Acyclic Graph)** where cells are pure Python functions that execute automatically when their dependencies change.
## 🧠 Core Philosophy & Limitations