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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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
- Use supervision for expected failure isolation; choose restart intensity/strategy deliberately and handle persistent invalid input or side effects explicitly
- Use pattern matching over conditional logic
- Design with processes for isolation and concurrency
- Leverage immutability for predictable state
- Test with ExUnit, focusing on property-based testing
- 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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.