Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

slopsieve: a diff linter for the AI slop era

Описание и применение

slopsieve — это CLI-инструмент, который оценивает диффы и PR на 12 сигналов качества кода, помогая выявлять скрытые проблемы и улучшать процесс ревью.

Задача

Maintainers struggle with code quality in pull requests, as code may appear fine until reviewed, leading to wasted time and potential bugs.

Результат

slopsieve provides a quick, zero-dependency way to surface common PR hygiene issues, reducing manual review effort and catching problems that might otherwise slip through.

Рабочий процесс

  • 1. Run npx slopsieve <diff_or_pr> to analyze the diff.
  • 2. Review the printed score and flagged lines.
  • 3. Optionally use --fail-at <threshold> to fail CI if score is below the threshold.
  • 4. Use --json to feed the output into other tooling.

Доказательства

so i built slopsieve, a zero-dep node CLI that scores a diff or PR for the 12 signals a tired reviewer checks at 1am

Источник

what it does: parses the unified diff, runs 12 weighted checks (it.skip, assertions removed, console.log/debugger, catch-all deps, exports nothing references, "this function..." comments), prints file and line for every flag.

Источник

--fail-at makes it a CI gate, --json feeds tooling.

Источник

the bug that embarrassed me: my debug-leftovers regex dd\s*\( matched isQuantityOdd( because the string "dd(" hides inside "Odd(".

Источник

  • Дата записи: 2026-10-15T13:56:06.162Z