leonqadirie

Static code analysis for the Ash Framework, built as a Credo plugin

18
2
100% credibility
Found Apr 12, 2026 at 18 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Elixir
AI Summary

AshCredo adds specialized code checks to the Credo linter for detecting anti-patterns, security risks, and best practices in Ash Framework resources and domains.

How It Works

1
🔍 Discover a code helper

You hear about a friendly tool that spots common slip-ups in how your project handles data rules, making your app safer and smoother.

2
📦 Add the helper to your project

You easily slip it into your project's toolkit with a quick setup, so it's ready to watch your code.

3
⚙️ Pick what to check

You choose which tips and warnings to turn on, like security checks or style suggestions, to fit your needs.

4
🚀 Run the smart checker

With one simple command, it scans your data setups and lights up easy ways to make everything better and more secure.

5
💡 Spot the helpful nudges

It shows clear, kind messages about missing safety bits or smarter ways to organize your rules.

6
🔧 Make quick fixes

You tweak a few spots following the simple advice, and your project feels more polished right away.

Perfect, clean results

Run it again and celebrate—no issues left, your data handling is now rock-solid and follows best practices!

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 18 to 18 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ash_credo?

AshCredo is an open source static code analysis tool for Elixir's Ash Framework, plugged directly into Credo for seamless linting. It spots Ash-specific issues like missing domains, overly permissive policies, unknown actions, and security pitfalls such as sensitive fields in accept lists or authorize skips. Developers get runtime introspection of compiled resources to catch subtle bugs that generic linters miss, all via familiar `mix credo` runs.

Why is it gaining traction?

Unlike broad Elixir tools like Dialyzer or base Credo, it understands Ash's DSL deeply—flagging anti-patterns in resources, domains, and API calls with precise fixes, including "Did you mean?" hints for typos. Opt-in checks for refactor smells (like large resources or misplaced directives) and design gaps (missing timestamps or identities) enforce best practices without noise. Configurable for team conventions, like code interface preferences, it boosts Ash productivity where general static code analysis tools fall short.

Who should use this?

Ash Framework users running Credo in CI/CD or pre-commit hooks, especially backend teams building data-heavy Elixir apps with resources and policies. Ideal for devs auditing security in accept lists or ensuring primary actions exist, without manual reviews. Skip if you're not on Ash or prefer pure AST scanning over compiled checks.

Verdict

Grab it if you're deep in Ash—pairs perfectly with Credo for targeted wins, despite 18 stars and experimental status signaling potential breaks. Low 1.0% credibility score reflects early maturity, but solid docs and Hex.pm presence make it worth testing in dev/test environments today.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.