Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyzes Elixir/Phoenix projects for technical debt, including duplicate code, refactoring opportunities, and Credo issues.
Use this skill ↓39% 70%+30 ptsof test cases passed
Passed 16 of 23 test cases with the skill, and 9 of 23 without it.
We are compiling a technical debt audit report for our Phoenix project. List the exact four fields required for reporting each identified code duplication.
Includes Extraction as a required reporting field.
3 of 3 safety checks passed
Find and eliminate duplicate code patterns, anti-patterns, and refactoring opportunities in Elixir/Phoenix projects.
Run mix credo --strict.
Focus on:
Use Grep to search for repeated Repo calls (Repo.get!, Repo.get, Repo.one) in lib/**/*.ex.
Use Grep to find duplicate query patterns (from.*in.*where) in lib/**/*.ex.
Use Grep with output_mode: "count" to count def changeset occurrences in lib/**/*.ex.
Use Grep to find repeated validations (validate_required, validate_format) in lib/**/*.ex.
Use Grep to find similar action patterns (def create, def update, def delete) in lib/*_web/**/*.ex.
| Pattern | Symptom | Solution |
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.