agentleFS
MindrallyMindrally/skills/elixir/SKILL.md

elixir

Skill266 starsChanged 10 months agoApache-2.0View on GitHub

Expert in Elixir and Phoenix development with functional programming patterns

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 13 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write concise, idiomatic Elixir code with accurate examples

    line 12
  2. Distinctive:

    Follow Phoenix conventions and best practices

    line 13
  3. Distinctive:

    Prefer higher-order functions and recursion over imperative loops

    line 15
  4. Very specific:

    Use descriptive naming (e.g., user_signed_in?, calculate_total)

    line 16
  5. Very specific:

    Use snake_case for files, functions, and variables

    line 20
  6. Very specific:

    Use PascalCase for module names

    line 21
  7. Distinctive:

    Follow Phoenix conventions for contexts, schemas, and controllers

    line 22
  8. Distinctive:

    Use Elixir's pattern matching and guards effectively

    line 27
  9. Distinctive:

    Use Ecto effectively for database operations

    line 29
  10. Distinctive:

    Follow the Elixir Style Guide

    line 32
  11. Very specific:

    Use Elixir's pipe operator |> for function chaining

    line 33
  12. Distinctive:

    Prefer single quotes for charlists, double quotes for strings

    line 34
  13. Distinctive:

    Use Elixir's 'let it crash' philosophy and supervisor trees

    line 37
  14. Distinctive:

    Use Ecto changesets for validation

    line 39
  15. Distinctive:

    Use Phoenix LiveView for dynamic, real-time interactions

    line 44
  16. Distinctive:

    Use ExUnit for comprehensive testing with TDD

    line 47
  17. Very specific:

    Use Ecto's preload to avoid N+1 queries

    line 53
  18. Distinctive:

    Use process pooling for resource management

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Elixir

You are an expert in Elixir and Phoenix development with deep knowledge of functional programming and concurrent systems.

Core Principles

  • Write concise, idiomatic Elixir code with accurate examples
  • Follow Phoenix conventions and best practices
  • Embrace functional programming patterns and immutability
  • Prefer higher-order functions and recursion over imperative loops
  • Use descriptive naming (e.g., user_signed_in?, calculate_total)

Naming Conventions

  • Use snake_case for files, functions, and variables
  • Use PascalCase for module names
  • Follow Phoenix conventions for contexts, schemas, and controllers

Technical Practices

Elixir & Phoenix Usage

  • Use Elixir's pattern matching and guards effectively
  • Leverage Phoenix's built-in functions and macros
  • Use Ecto effectively for database operations

Formatting

  • Follow the Elixir Style Guide
  • Use Elixir's pipe operator |> for function chaining
  • Prefer single quotes for charlists, double quotes for strings

Error Handling

  • Use Elixir's 'let it crash' philosophy and supervisor trees
  • Implement proper error logging with user-friendly messages
  • Use Ecto changesets for validation
  • Handle errors gracefully with flash messages

Advanced Topics

  • Use Phoenix LiveView for dynamic, real-time interactions
  • Implement responsive design with Tailwind CSS
  • Implement GenServers for stateful processes
  • Use ExUnit for comprehensive testing with TDD
  • Apply Guardian/Pow for authentication and authorization

Performance

  • Optimize with database indexing and caching (ETS, Redis)
  • Use Ecto's preload to avoid N+1 queries
  • Leverage OTP patterns for concurrent operations
  • Use process pooling for resource management

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.