consistency

Run the configured mix consistency precommit workflow for Elixir/Phoenix codebases.

11|Updated Dec 28, 2024
One-click install
npx skills add https://github.com/wadvanced/aurora_uix --skill consistency-wadvanced
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: consistency
Source: https://github.com/wadvanced/aurora_uix/tree/main/.github/skills/consistency
Command: npx skills add https://github.com/wadvanced/aurora_uix --skill consistency-wadvanced

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents code quality drift by ensuring formatting, linting, and documentation rules are applied consistently before changes are accepted.

Core Features & Use Cases

  • Run the full precommit workflow: executes the project’s standard mix consistency alias to cover all configured checks.
  • Fix actionable issues: resolves pending linting, formatting, or test problems when the workflow supports automatic fixes.
  • Guard against regressions: verifies the repository remains aligned with established engineering standards, including docs expectations.

Example use case: before opening a PR, run this Skill to catch and fix style and quality problems early so reviewers focus on the actual feature work.

Quick Start

Run the mix consistency alias to enforce the project’s precommit checks on the current codebase and commit the resulting changes.

Frequently Asked Questions about consistency

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

FAQPage Schema
How do I run precommit checks for Elixir linting and formatting before a commit?

Run precommit checks for Elixir by executing the `mix consistency` alias to verify linting, formatting, and documentation rules, optionally auto-fixing actionable issues before changes are accepted.

What is the best way to prevent code quality drift in an Elixir Phoenix repository?

Preventing code quality drift in an Elixir Phoenix repository requires running a precommit consistency workflow that enforces formatting, linting, and documentation standards before changes are accepted.

Can I automatically fix formatting and linting issues when running mix consistency?

Yes, you can automatically fix formatting and linting issues when running `mix consistency` if the configured workflow supports auto-fixing pending style and quality problems.

Does the mix consistency workflow verify documentation expectations alongside tests?

Yes, the `mix consistency` workflow verifies documentation expectations alongside linting and formatting to guard against regressions and ensure the repository aligns with established engineering standards.

Why should I run Elixir precommit quality checks before opening a pull request?

Running Elixir precommit quality checks before opening a pull request catches and fixes style problems early, allowing reviewers to focus on actual feature work rather than formatting or linting drift.

How do I execute multi-stage commits after passing Elixir consistency checks?

Execute multi-stage commits after passing Elixir consistency checks by running `mix consistency`, verifying clean quality results, and then applying conventional multi-stage commits for the resolved changes.