Code Quality Plugin

Code review, refactoring, linting, dependency auditing, dead code detection, test quality, complexity metrics, and static analysis

by @laurigates 16 skills

Skills in this plugin

16
  1. Code Lint · laurigates bundle
    Universal linter that auto-detects ruff/eslint/clippy/gofmt for the project language. Use when linting code, auto-fixing, formatting, or running pre-commit checks.
    1 install
  2. Code Review · laurigates bundle
    Code review for quality, security, performance, and architecture. Use when reviewing code, auditing OWASP, checking SOLID, or finding perf bottlenecks and test gaps.
    1 install
  3. Code Refactor · laurigates
    Refactor toward pure functions, immutability, composition. Use when extracting pure functions, removing side effects, replacing loops with map/filter/reduce, or separating I/O.
    1 install
  4. Code Dead Code · laurigates
    Detect dead code, unused exports, unreachable branches, and orphaned files. Use when reducing maintenance burden, cleaning up after refactors, or auditing codebase health.
    1 install
  5. Code Dep Audit · laurigates bundle
    Audit dependencies for security vulnerabilities, outdated packages, and license compliance. Use when checking supply chain security, preparing releases, or responding to CVEs.
    1 install
  6. Ast Grep Search · laurigates bundle
    Find and replace code patterns structurally with ast-grep. Use when matching code by AST structure, finding functions with specific signatures, or detecting anti-patterns regex cannot match.
    1 install
  7. Code Complexity · laurigates bundle
    Analyze code complexity metrics (cyclomatic, cognitive, function length, coupling). Use when identifying refactoring targets, tracking codebase health, or reviewing large changes.
    1 install
  8. Code Antipatterns · laurigates bundle
    Analyze a codebase for anti-patterns using ast-grep. Use when finding magic numbers, console.logs, var usage, excessive any, eval/innerHTML security issues, or deep nesting.
    0 installs
  9. Code Docs Quality · laurigates
    Analyze docs quality across PRDs, ADRs, PRPs, CLAUDE.md, .claude/rules/. Use when auditing documentation, checking for stale ADRs/PRDs, or validating rule frontmatter structure.
    1 install
  10. Code Test Quality · laurigates
    Analyze test quality: smells, empty assertions, flaky patterns, coverage gaps. Use when tests are unreliable, coverage is misleading, or after major refactors.
    1 install
  11. Dry Consolidation · laurigates bundle
    Find and extract duplicated code into shared abstractions. Use when seeing repeated utilities, copy-pasted components, duplicated hooks, or boilerplate repeated across files.
    0 installs
  12. Bulk Sweep Classify · laurigates bundle
    Classify every regex match before a bulk find-replace/syntax-modernization sweep — four match categories, scoped transform, allowlist-aware verification. Use when bulk-renaming commands/tools/paths or migrating syntax across many files.
    1 install
  13. Code Hidden Failures · laurigates bundle
    Scan for hidden failures: swallowed errors (empty catch, || true, 2>/dev/null) and silent degradation (success on zero results). Use when failures vanish or success masks empty output.
    1 install
  14. Code Review Checklist · laurigates
    Checklist for security, correctness, and performance review. Use when reviewing PRs, checking for secrets/injection, verifying error handling, or auditing N+1 queries.
    1 install
  15. Debugging Methodology · laurigates
    Systematic debugging for memory, performance, and system-level issues. Use when diagnosing memory leaks, tracing syscalls with strace/eBPF, profiling, or reasoning about races.
    0 installs
  16. Code Scaffold Backport · laurigates
    Back-port an instance fix into the generator that produced it — cookiecutter, scaffold, `new-*` recipe. Use when fixing, reviewing, or auditing a generated file.
    1 install