cursor_rules
Cursor rules suitable for development using Elixir and Phoenix
Install / Use
npx skills add optimumBA/cursor_rulesInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
Development & EngineeringSupported Platforms
Skill content
View source on GitHubOptimum Cursor rules
Cursor rules suitable for development using Elixir and Phoenix.
🚨 CRITICAL: Fix Cursor .mdc Editor Bug First
Before using these rules, you must fix a critical bug in Cursor's .mdc file handling:
Cursor's custom .mdc editor is severely buggy and causes multiple issues:
- Cursor jumps to description field during editing
- Auto-save disrupts workflow and causes focus issues
- Agent thinks it's editing files but changes don't persist to filesystem
- Files may appear empty when they contain content
Fix Required
Add this to your Cursor settings to disable the custom .mdc editor:
"workbench.editorAssociations": {
"*.mdc": "default"
}
How to apply:
- Open Cursor Settings (Cmd/Ctrl + ,)
- Search for "editorAssociations"
- Add the mapping above
- Restart Cursor if needed
This treats .mdc files as regular markdown, eliminating all editing bugs.
Setup
Add the repo as a git submodule to your Phoenix app.
git submodule add https://github.com/optimumBA/cursor_rules .cursor/rules
Rules should automatically be applied by Cursor.
They can live side-by-side with your existing rules.
Updating
To update the Cursor rules to the latest version:
git submodule foreach "git checkout main && git pull"
This ensures you get the latest improvements and bug fixes to the rules.
Related Skills
career-ops
72.3kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
AstrBot
40.8kAI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
Security Score
Audited on Jun 20, 2025
