exunit-code-review

Community

Elevate Elixir tests with expert code review.

Authorjavierhbr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps Elixir developers write better, more maintainable, and robust unit tests by identifying common anti-patterns and ensuring best practices are followed, especially concerning mocking and test structure.

Core Features & Use Cases

  • Pattern Identification: Detects issues with async tests, describe blocks, setup usage, and assertion styles.
  • Mocking Best Practices: Enforces correct usage of Mox for external boundaries and prevents mocking of internal code.
  • Test Adapter Guidance: Reviews the appropriate use of tools like Bypass, Swoosh, and Oban in tests.
  • Use Case: A developer submits a pull request for a new feature. This Skill is used to automatically review the associated unit tests, flagging any potential issues with how external API calls are mocked or if tests are not properly isolated.

Quick Start

Use the exunit-code-review skill to analyze the test file at /path/to/my_module_test.exs.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: exunit-code-review
Download link: https://github.com/javierhbr/random-poc/archive/main.zip#exunit-code-review

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.