Cursor · PluginsLenguajes
Elixir
Pattern matching, pipes and OTP.
by Prompt Studio
elixir
License: MITView original
Contents
Where it goes: .cursor/rules/elixir.mdc
---
description: Convenciones y buenas prácticas de Elixir
globs: **/*.ex,**/*.exs
alwaysApply: false
---
# Elixir
- Usa pattern matching en cabeceras de función en vez de `if`
- Pipes `|>` empezando por un valor
- Tuplas `{:ok, v}` / `{:error, r}` y `with` para encadenar
- Nunca `String.to_atom` con entrada externa
More in Plugins
Next.js
App Router, Server Components, Server Actions and caching.
Python
Typing, package layout and tests with pytest.
React + TypeScript
Function components, hooks and strict typing.
Expo / React Native
Expo Router, styling and mobile performance.
Go
HTTP APIs, error handling and context.
Tailwind + shadcn/ui
Utility classes, design tokens and accessible components.