grain
Linter that detects AI-generated code patterns before they reach version control
Visit grainlinter.com ↗What is grain?
grain is a linter designed specifically for codebases using AI coding assistants. It flags common patterns in AI-generated code—like vague comments, broad exception handlers, and filler variable names—allowing developers to decide whether to keep, rewrite, or suppress each issue. The tool works alongside traditional linters like ruff and pylint, catching behavioral patterns they miss.
grain is built for both human review and automated repair workflows. It outputs structured JSON for agentic remediation, includes a worklog system to track multi-session repairs across large codebases, and supports custom rules via .grain.toml configuration. Install via pip and run grain check on specific files or entire repositories.
Momentum
Daily activity over the last 30 days: upvotes, unique visits, new GitHub stars and Hacker News points.
How do we know it's vibe coded?
vibetrend discovered grain automatically. Evidence: GitHub mmartoccia/grain; repo topic "ai-generated-code". View source.
Similar vibe-coded apps

Turn your codebase into a queryable knowledge graph for AI coding assistants

Operating layer for AI coding agents with skills, memory, planning and security

Self-hosted AI agent with persistent memory and multi-platform messaging

Open-source AI platform for short-form video and animated series creation


Open-source canvas workbench for AI-powered image and video creation

Community marketplace for DeepSeek Harness Web themes, pets, plugins

Open-source, AI-native knowledge base with Evernote-style interface