code-quality

Configure Elixir/Phoenix projects with formatter, mix aliases, pre-commit checks, and Dialyzer.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/psdjungpulzze/smartstudy --skill code-quality-psdjungpulzze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/psdjungpulzze/smartstudy/tree/main/.claude/skills/i-i/code-quality
Command: npx skills add https://github.com/psdjungpulzze/smartstudy --skill code-quality-psdjungpulzze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sets up robust code quality enforcement for Elixir/Phoenix projects, preventing stylistic drift and catching issues early.

Core Features & Use Cases

  • Formatter configuration via .formatter.exs to enforce consistent formatting across the codebase.
  • Mix aliases and scripts to streamline common quality tasks (setup, test, and CI checks).
  • Pre-commit workflow that runs format, compile with warnings as errors, and runs tests before commits.
  • Dialyzer integration with dialyxir to enable static analysis during development and CI.

Quick Start

Configure your project by adding a formatter config, defining mix aliases, enabling a pre-commit workflow, and integrating Dialyzer, then run your CI to verify code quality.

Frequently Asked Questions about code-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Elixir code quality in a Phoenix project?

Enforce Elixir code quality by configuring a .formatter.exs file, adding mix aliases, setting up a pre-commit workflow, and integrating Dialyzer with dialyxir for CI static analysis.

What's the best way to prevent stylistic drift in an existing Elixir codebase?

Prevent stylistic drift by applying formatter configuration and mix aliases to standardize formatting, compiling with warnings as errors, and running tests before allowing commits.

How does a pre-commit workflow work with Elixir mix aliases?

A pre-commit workflow uses mix aliases to run format checks, compile with warnings as errors, and execute tests, ensuring code quality before changes are committed to the repository.

Can I use Dialyzer for static analysis in Elixir CI pipelines?

Yes, Dialyzer integrates with dialyxir to enable static analysis during development and CI, catching type issues early in Elixir and Phoenix projects.

Does Elixir code quality enforcement work for both new and existing Phoenix projects?

Yes, code quality enforcement applies to both new projects and existing codebases, ensuring consistent formatting and reliable pre-commit checks across the entire Elixir stack.

Why do I need dialyxir to run Dialyzer in Elixir CI?

Dialyxir provides the dependency integration needed to run Dialyzer static analysis smoothly within Elixir development and CI environments, automating type checking and issue detection.