Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 3 min read

How to Stop Claude Code and Cursor From Writing AI Slop (Local SKILL.md Guide)

If you use Claude Code, Cursor, Codex, or Antigravity every day, you have probably deleted the same phrases fifty times: "delve into", "in today's fast-paced world", "It's not just X, it's Y", and four em-dashes in one p

If you use Claude Code, Cursor, Codex, or Antigravity every day, you have probably deleted the same phrases fifty times: "delve into", "in today's fast-paced world", "It's not just X, it's Y", and four em-dashes in one paragraph.

Frontend code has the same habit. Ask an agent for a landing page and you almost always get a dark bg-slate-950 hero, a purple-pink bg-clip-text headline, a blur-3xl glow orb, an animate-ping dot next to an emoji badge, and a fake Trusted by 10,000+ teams row.

Repeating "write plainly and skip purple gradients" in every chat gets old fast. The cleaner fix is to drop a single local Unslop skill file into your repo so the coding agent checks its own prose and JSX before you review the diff.

Where Each Coding Agent Reads Your Unslop Skill

All four major coding agents support plain Markdown or .mdc rule files inside your workspace. Put the file in the path below and commit it (or keep it in your user home folder if you want it active across all repos):

Coding Agent Project-Level Path File Format
Claude Code .claude/skills/unslop/SKILL.md YAML frontmatter + Markdown
Cursor .cursor/rules/unslop.mdc YAML frontmatter (alwaysApply: true) + Markdown
Codex .agents/skills/unslop/SKILL.md Agent Skills Markdown
Antigravity .agent/skills/unslop/SKILL.md Workspace Skill Markdown

For full install commands and troubleshooting across all four tools, see the complete How to Install Unslop Skill guide.

Minimal Starter SKILL.md You Can Drop In Today

Create .claude/skills/unslop/SKILL.md (or .cursor/rules/unslop.mdc for Cursor with alwaysApply: true) and paste this baseline ruleset:

---
name: unslop
description: Strip generic AI writing clichΓ©s and repetitive Tailwind UI patterns before finishing edits.
---

# Unslop Guardrails

## 1. Writing & Documentation Hygiene
- Cut banned clichΓ©s: "delve", "tapestry", "testament to", "game-changer", "unlock the full potential", "effortlessly", "seamlessly", "leverage", "empower", "paramount", "robust", "cutting-edge".
- Remove formulaic frames: "It's not just X, it's Y", "Whether you're a X or Y", "Let's dive in", "It is worth noting that", "In conclusion", "At the end of the day".
- Keep em-dashes (β€”) to at most 1 per short section; use periods or commas instead.
- Replace vague praise with concrete specs, file paths, counts, or benchmark numbers.

## 2. Tailwind & JSX UI Discipline
- Do not default to dark slate + purple/indigo/pink `bg-clip-text` hero gradients.
- Do not add decorative `blur-3xl` ambient orbs, `animate-ping` status dots, or emoji prefixes in headings and cards.
- Avoid generic `Inter` font defaults when the design system defines a display/body pair.
- Keep primary interactive buttons clearly separated from static metadata badges (at most one high-contrast primary CTA per screen).
- Check standard laptop viewports (`1366x768`) so the primary workspace and main CTA fit above the fold without unnecessary hero padding (`py-36`).
~~~

Quick CLI setup for Claude Code:



```bash
mkdir -p .claude/skills/unslop
curl -fsSL https://raw.githubusercontent.com/bohua2942/unslop-skill/main/.claude/skills/unslop/SKILL.md -o .claude/skills/unslop/SKILL.md
```



Quick CLI setup for Cursor:



```bash
mkdir -p .cursor/rules
curl -fsSL https://raw.githubusercontent.com/bohua2942/unslop-skill/main/.cursor/rules/unslop.mdc -o .cursor/rules/unslop.mdc
```



---

## Want to Test Drafts or Customize the File Without CLI Setup?

I put together a free, browser-only toolkit at [UnslopSkill](https://unslopskill.com/) that runs 100% in local JavaScript (zero login, zero API keys, nothing sent to a server):

1. **[AI Slop Text Detector](https://unslopskill.com/ai-slop-detector/)**: Scans English docs, READMEs, emails, or blog drafts against 37 explicit rules, runs deterministic quick cleanup without changing your facts, and builds a targeted rewrite prompt for remaining structural clichΓ©s.
2. **[UI Slop Auditor](https://unslopskill.com/ui-slop-auditor/)**: Audits pasted HTML, React JSX, and Tailwind snippets line by line against 20 frontend anti-patterns and outputs a refactor prompt.
3. **[Custom SKILL.md Generator](https://unslopskill.com/skill-generator/)**: Lets you pick Claude Code, Cursor, Codex, or Antigravity, toggle writing/UI/code-review modules, add your own banned words, and download `SKILL.md` or `unslop.mdc` directly.

---

## Related Open-Source Unslop Repositories

If you prefer installing directly from GitHub, check these open repositories too:

- [`bohua2942/unslop-skill`](https://github.com/bohua2942/unslop-skill): Ready-to-copy `SKILL.md` and `.cursor/rules/unslop.mdc` files for all four coding agents (MIT).
- `heydamir/unslop`: Focused on cleaning up AI-generated frontend design passes.
- `theclaymethod/unslop`: Two-pass writing skill with a local Python checker.
- `cursor/plugins` (`pstack/unslop`): Prose and documentation editing rules for Cursor.

Which AI clichΓ©s or Tailwind habits keep sneaking into your own diffs? Drop them in the comments and I will add the cleanest deterministic checks to the open ruleset.
πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.