/sloplint:sloplintfrom sloplint
Find and fix the tells of AI-generated code with the sloplint CLI, and give a project a design system of its own. Use when building or reviewing UI, landing pages, dashboards, APIs, tests or product copy; when a page looks generic or AI-made; when the user mentions slop, sloplint, a Slop Score or DESIGN.md; and before finishing frontend work.
Ships in sloplint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
sloplint is a zero-dependency linter for the defaults that generated code converges on: purple gradients, icon-card grids, invented proof, fake success states, fallback secrets, swallowed errors and mock-only tests. It also generates a design system per project, so pages stop looking like every other generated page.
If the project has no DESIGN.md, generate one first:
npx -y @sloplint/cli init --brief "<one line about the product and who uses it>"
It writes DESIGN.md (palette, typefaces, layout, signature moves and voice, generated for this project) and adds one line per rule to CLAUDE.md, AGENTS.md, GEMINI.md and .cursor/rules/sloplint.mdc. Then:
DESIGN.md tokens. A new color goes into DESIGN.md before it goes into code.npx -y @sloplint/cli style --brief "..." previews a system without writing anything.sloplint checks the work; it does not need to direct it. When another design skill is available or already in use (one for frontend, visual or interface design), load it and let it lead:
DESIGN.md.DESIGN.md fills in only what that skill leaves open, such as the exact tokens.DESIGN.md, add it to the DESIGN.md tokens first, so the token rules accept it.DESIGN.md defaults.npx -y @sloplint/cli check --changed
Use check <paths> outside a git repository. Fix every finding: --fix applies the safe autofixes, and npx -y @sloplint/cli explain <RULE> gives the reasoning with a slop and a craft example. Run the check again until it reports no findings.
sloplint-disable-next-line <RULE> in a comment with the reason, then tell the user so it can be reported at https://github.com/mattbaconz/sloplint/issues.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mattbaconz/sloplint --plugin sloplint