Run comprehensive Elixir quality checks (format, credo, dialyzer, tests) with proper error handling and reporting. Use when validating code quality, before commits, or preparing for deployment.
This skill runs comprehensive quality checks on Elixir/Phoenix projects following best practices.
mix format --check-formatted
mix compile --warnings-as-errors
mix credo --strict
mix dialyzer
mix test
Run all checks in sequence:
mix format --check-formatted && \
mix compile --warnings-as-errors && \
mix credo --strict && \
mix dialyzer && \
mix test
If project has a precommit alias:
mix precommit
Run specific checks when iterating:
# Just format
mix format
# Just tests
mix test
# Specific test file
mix test test/my_app/accounts_test.exs
# Just credo
mix credo --strict
Format Failures:
mix format to fix automaticallyCompilation Warnings:
Credo Issues:
Dialyzer Errors:
Test Failures:
mix test test/path/to/test.exs:LINEpriv/plts/ to .gitignore# Run in test environment
MIX_ENV=test mix dialyzer
# Skip dialyzer if building PLT takes too long locally
mix format && mix compile --warnings-as-errors && mix credo --strict && mix test
If using BMAD git hooks, these checks run automatically on:
PLT build fails:
# Clean and rebuild
rm -rf _build priv/plts
mix deps.get
mix dialyzer --plt
Tests fail in CI but pass locally:
MIX_ENV=test mix ecto.createCredo reports too many issues:
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer