Lint AI-generated TypeScript for unsafe types, duplicates and low-value tests
Deslop is a set of Oxlint rules aimed at code written by AI agents: it catches unsafe types, duplicate code and tests that add little value.
Source
maharshi365 on Hacker News · 2026-10-13 · Project link
Written in our own words. Credit to the original author. Link checked 2026-10-16.
What they did
Deslop is a set of Oxlint rules aimed at code written by AI agents: it catches unsafe types, duplicate code and tests that add little value.
Result (as claimed)
Open source on GitHub; 32 points on Show HN.
Tools they used
The source does not name specific tools.
Cost: Pricing depends on the tools you pick; check each official pricing page.
Set it up
Pick a contained repo or task
Start on a branch or side project where mistakes are cheap.
Install and configure
Set up the tools you choose. Read what it can run on your machine and limit permissions where possible.
Run it on a real task
Give it a well-scoped issue and let it work. Review the diff like any pull request.
Add guardrails
Keep tests and CI in the loop, and never let an agent push to main or touch production secrets unattended.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Lint AI-generated TypeScript for unsafe types, duplicates and low-value tests What the original author did: Deslop is a set of Oxlint rules aimed at code written by AI agents: it catches unsafe types, duplicate code and tests that add little value. Reported result (as claimed by the author): Open source on GitHub; 32 points on Show HN. Source: https://news.ycombinator.com/item?id=50075809 Tools they used: not named in the source Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Lint AI-generated TypeScript for unsafe types, duplicates and low-value tests What the original author did: Deslop is a set of Oxlint rules aimed at code written by AI agents: it catches unsafe types, duplicate code and tests that add little value. Reported result (as claimed by the author): Open source on GitHub; 32 points on Show HN. Source: https://news.ycombinator.com/item?id=50075809 Tools they used: not named in the source Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Lint AI-generated TypeScript for unsafe types, duplicates and low-value tests What the original author did: Deslop is a set of Oxlint rules aimed at code written by AI agents: it catches unsafe types, duplicate code and tests that add little value. Reported result (as claimed by the author): Open source on GitHub; 32 points on Show HN. Source: https://news.ycombinator.com/item?id=50075809 Tools they used: not named in the source Category: Dev & ops Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Related use cases
Run your own always-on agent team on your PC with Claude Code
Unable to use Dots, Muse or Grok Bot, the author built Crew, a free open-source team of AI agents that lives on a PC, runs on Claude Code and keeps working after you walk away.
Keep all your Claude Code, Codex and Cursor chats searchable in one place
ChatVault collects chats from Claude Code, Codex and Cursor across accounts, lets you search the whole history and keeps local backups.
Carry shared memory across Claude, Codex and Cursor with thred
Shipped thred so Claude, Codex, Cursor and future agents share one MCP memory for decisions, revisions, evidence and unfinished work.
Put your coding agents' status on a TV or phone board
Weatherdeck is a read-only status board fed by small pushers: it shows which agent calls are waiting on you and for how long, what landed in the last 24 hours and which machines went silent.