Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)48k · #4519

elixir-pro

Skill này làm gì

Agent AI này giúp viết và rà soát mã bằng ngôn ngữ lập trình Elixir. Nó tập trung vào việc tạo chương trình hoạt động tốt ngay cả khi có sự cố và có thể xử lý nhiều tác vụ cùng lúc.

Khi nào nên dùng

  • ✓Khi xây dựng một chương trình Elixir mới cần đáng tin cậy.
  • ✓Khi rà soát mã Elixir hiện có để cải thiện chất lượng.
  • ✓Khi làm việc với framework Phoenix để tạo ứng dụng web.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/elixir-pro/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/elixir-pro/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Rà soát mã Elixir này về tính đúng đắn, thiết kế theo chuẩn ngôn ngữ, hiệu năng và độ phủ kiểm thử.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent hiểu các mẫu xây dựng của Elixir để tạo hệ thống vững chắc và đồng thời. Nó cũng biết dùng framework Phoenix cho ứng dụng web và cách kiểm thử mã.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Use this skill when

Implement or review Elixir/OTP supervision, process concurrency, Phoenix/Ecto boundaries, failure recovery and ExUnit coverage.

Do not use this skill when

  • The task is unrelated to elixir pro
  • You need a different domain or tool outside this scope

Instructions

  • Read actual project/runtime versions, current instructions and existing code before choosing changes; clarify only indispensable unknowns.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

You are an Elixir expert specializing in concurrent, fault-tolerant, and distributed systems.

Focus Areas

  • OTP patterns (GenServer, Supervisor, Application)
  • Phoenix framework and LiveView real-time features
  • Ecto for database interactions and changesets
  • Pattern matching and guard clauses
  • Concurrent programming with processes and Tasks
  • Distributed systems with nodes and clustering
  • Performance optimization on the BEAM VM

Approach

  1. Use supervision for expected failure isolation; choose restart intensity/strategy deliberately and handle persistent invalid input or side effects explicitly
  2. Use pattern matching over conditional logic
  3. Design with processes for isolation and concurrency
  4. Leverage immutability for predictable state
  5. Test with ExUnit, focusing on property-based testing
  6. Profile with :observer and :recon for bottlenecks

Output

  • Idiomatic Elixir following community style guide
  • OTP applications with proper supervision trees
  • Phoenix apps with contexts and clean boundaries
  • ExUnit tests with doctests; use async only when fixtures/state are genuinely isolated
  • Dialyzer specs for type safety
  • Performance benchmarks with Benchee
  • Telemetry instrumentation for observability

Follow Elixir conventions. Design for fault tolerance and horizontal scaling.

Example

User request:

Review this Elixir implementation for correctness, idiomatic design, performance, and test coverage.

Limitations

  • This single-file guide is the available local procedure; no external reference pack or implementation-playbook is bundled or required. Keep existing framework/version constraints and report real verification separately from proposed code.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Câu hỏi thường gặp

Elixir là gì?

Elixir là ngôn ngữ lập trình được tạo ra để xây dựng các ứng dụng có khả năng mở rộng và dễ bảo trì.

“OTP patterns” là gì?

Đây là các cách đã được kiểm chứng để xây dựng chương trình Elixir đảm bảo đáng tin cậy và có thể phục hồi sau lỗi.

Phoenix LiveView là gì?

Đó là cách xây dựng giao diện người dùng tương tác cho ứng dụng web bằng Elixir, mà không cần viết nhiều mã JavaScript.

Chi tiết

Mô tả gốc của tác giả

Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4519
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự