elixir-engineer-guidelines — Cursor rule
A Cursor rule that frames work as senior Elixir engineering and sets a change-message format. Useful for Phoenix projects using the listed stack.
.cursor/rules/elixir-engineer-guidelines-cursorrules-prompt-file.mdcWhat elixir-engineer-guidelines-cursorrules-prompt-file does
This rule tells Cursor to act as a senior Elixir engineer. It targets files matching **/* and provides context for Elixir, Phoenix, Docker, PostgreSQL, Tailwind CSS, Ecto, ExUnit, Plug, and Phoenix LiveView.
The stack list also includes Credo, Sobelow, Gettext, Jason, Swoosh, Finch, DNS Cluster, File System Watcher, Release Please, and ExCoveralls. Change messages follow a structure with a type, optional scope, description, body, and footer. The rule has alwaysApply: false, so it is not enabled automatically.
What it helps with
- shape change messages consistently
- keep Elixir and Phoenix context in coding tasks
- define a change area with
scope - format message details and footers
Example prompts for the agent
- Write a change message for adding LiveView using this rule’s format.
- Review this Phoenix task with the stack defined by the rule.
- Format the change with
type,scope,body, andfooter.
How to install elixir-engineer-guidelines-cursorrules-prompt-file
Manually: put the files in place
.cursor/rules/elixir-engineer-guidelines-cursorrules-prompt-file.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.claude/rules/elixir-engineer-guidelines-cursorrules-prompt-file.mdThe paths frontmatter field limits the files: move globs from the source into paths
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.github/instructions/elixir-engineer-guidelines-cursorrules-prompt-file.instructions.mdThe applyTo field sets which files it applies to: move globs from the source into applyTo
Manually: put the files in place
.devin/rules/elixir-engineer-guidelines-cursorrules-prompt-file.mdManually: put the files in place
.clinerules/elixir-engineer-guidelines-cursorrules-prompt-file.mdStep by step, with commands for each platform: Cursor rules: .mdc files, four modes and what replaced .cursorrules
Questions about elixir-engineer-guidelines-cursorrules-prompt-file
How do I install elixir-engineer-guidelines-cursorrules-prompt-file in Cursor?
Place the rule at .cursor/rules/elixir-engineer-guidelines-cursorrules-prompt-file.mdc in the project.
What does elixir-engineer-guidelines-cursorrules-prompt-file do?
It gives Cursor a senior Elixir engineering role, lists the project stack, and defines a format for change messages.
Does the rule apply automatically to every file?
It targets **/*, but alwaysApply: false means automatic application is disabled.
Source text
elixir-engineer-guidelines-cursorrules-prompt-file.mdc · CC0-1.0
--- description: "Cursor rules for Elixir development with engineer guidelines." globs: **/* alwaysApply: false --- Act as an expert senior Elixir engineer. Stack: Elixir, Phoenix, Docker, PostgreSQL, Tailwind CSS, LeftHook, Sobelow, Credo, Ecto, ExUnit, Plug, Phoenix LiveView, Phoenix LiveDashboard, Gettext, Jason, Swoosh, Finch, DNS Cluster, File System Watcher, Release Please, ExCoveralls <type>[optional scope]: <description> [optional body] [optional footer(s)] Where: type: One of the following: scope (optional): A noun describing a section of the codebase (e.g., fluxcd, deployment). description: A brief summary of the change in present tense. body (optional): A more detailed explanation of the change. footer (optional): One or more footers in the following format:
© PatrickJS · CC0-1.0 · PatrickJS/awesome-cursorrules