Logo Unslop Code

Unslop Code

Cộng đồng
randommonicle
unslop-code

Strips the tells that make source code read as AI-generated and forces code that fits the project instead of the model's default average. It does not write the code for you and it has no preferred style. It removes the surface tells (leftover chat artifacts, placeholder comments, emoji, swallowed errors, narrating comments, generic placeholder names like process_data) AND points you at the structural tells a linter passes: boilerplate / tutorial-shaped code, hallucinated APIs, over-engineering, and code that ignores the surrounding codebase. Grounded in a Reddit analysis of 11,906 posts and 11,306 comments across 55 AI, coding, and SaaS subreddits of what developers actually name as a giveaway. Use whenever writing, generating, reviewing, refactoring, or auditing code, and especially when the user wants it to not look AI-written or vibe-coded, says it "looks AI-generated," "reads like a tutorial," "is too generic," or "de-slop this." Trigger even if they never say "AI tell."

Tổng quan

Nhà phát hànhrandommonicle
Kho mãclaude-skills
Tên kỹ năngunslop-code
Sao
27
Bản fork
3
Tệp đi kèm
5
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được randommonicle công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Unslop Code trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/randommonicle/claude-skills/tree/main/unslop-code
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/unslop-code .claude/skills/unslop-code
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Unslop Code trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Unslop Code ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Unslop Code không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

unslop-code

Read this first, because the most common misunderstanding sinks the whole thing.

This skill does not write good code for you, and it has no house style. It does two narrow things. It removes the specific surface cues that make code read as machine-generated, and it points you at the deeper tells (the ones that ship bugs) that no scanner can catch. Whether the code is correct, well-factored, and right for the problem is still your call. A guardrail is not an engineer.

The trap to avoid (this is the whole point)

The surface tells are the cheap part. You can strip every emoji, delete every // rest of your code stub, and fix every bare except, and still ship a file that is tutorial-shaped, calls a made-up API, over-engineers a simple task, and ignores how the rest of the repo works. Those are the loudest tells in the data, and a clean lint hides them. The verified ranking is blunt about it: boilerplate (18.6%), hallucinated APIs (11.2%), and over-engineering (7.8%) tower over the cosmetic stuff (emoji 3.9%, verbose names 0.4%). So removing surface tells is the easy 40% of the job, not the job. Do not mistake a clean scan for clean code.

Two kinds of tell: bugs and cosmetics

Sort every tell by one question before any other: is the code wrong, or does it just look machine-made?

  • Bugs. Swallowed and over-broad exception handling eats the failure you needed. A hallucinated or nonexistent API will not run. A // rest of your code stub means the file is unfinished. These are not style. Fix them because the code is broken, the same way you would fix any bug, whether or not anyone ever suspected AI.
  • Cosmetics. Emoji, leftover chat artifacts, narrating comments, generic and over-verbose names. These are the model's chat voice leaking into the file. Worth removing because they read as AI, but nothing breaks if one survives. This is the lighter class. A comment that records what the code replaced ("added to replace the old loop") is one of them: say what the code does and why, and put the history in the commit message. Commit messages, PR descriptions and docs are prose; unslop-text covers them.

The scanner reports both, tagged with the class; the catalog tags every tell the same way. The point of the split: do not spend an audit polishing cosmetics while a swallowed error or a made-up call ships. (There is a third class, substance: tutorial shape, over-engineering, and repo mismatch. It is wrong for the job rather than locally broken, and needs a human reading the diff. See references/tells.md.)

The over-correction trap

Told to "write clean code" or "make this not look AI," a model does not become restrained; it over-corrects. It adds defensive checks for cases that cannot happen, a type annotation on every local, a comment on every block, an abstraction for a thing with one caller. It is trying to look senior, and trying-to-look-senior is itself a tell. The fix is not more polish; it is the same anchor as everything else here: match the level the surrounding code actually operates at. Do not add a check, a type, a comment, or a layer the neighboring code would not have.

How this differs from a linter or a formatter

A linter enforces style and catches a fixed set of bugs; a formatter makes everything uniform, which is itself one of the tells. This skill is different. It finds the specific, cited tells that developers actually use to spot AI code, ranked by how often they name them, and it is explicit that the highest-ranked ones are structural and need a human or a compiler. Run your linter, run this, and then read the diff for the things neither tool can see.

Mode 1: Build (the important one)

Most "looks AI-written" outcomes are a specification problem, not a style problem. An unspecified prompt gets the average of public code, and the average is the tutorial. So before generating, establish the brief. Either pull it from the user, or state what you are assuming and why, then proceed. Do not generate against a blank slate.

Establish, concretely:

  • The surrounding code. Give the model the files it will sit next to: the module it extends, the nearest sibling that does something similar, and the project's conventions (how errors are handled, how things are logged, the structure, the naming vocabulary). This single input does more than every other rule combined. The most repeated fix in the entire dataset was "make it follow the existing code instead of guessing the average."
  • The real requirement. What the code actually has to do, including the failure modes and the real integration, not the demo. Vague requirements get the sample-app shape: one page, dummy data, no backend.
  • Calls that exist. Generated code invents plausible APIs. Plan to run it and check every import and method against real docs, because hallucinated calls are the tell that bites in production.

references/tells.md is the full ranked catalog. references/fitting-the-codebase.md is the method for making the code fit the project instead of the model's average, written as a process rather than a prescription, so it does not become the next default.

Mode 2: Audit (the guardrail)

When reviewing or cleaning existing code, or when the user says "does this look AI-written" or "de-slop this," work in this order. The order matters: the scanner is a regex and is blind to the bug-class tells, so it is the second pass, not the first.

1. Run what only code allows. Unlike prose or a design, code can be executed, and that is your strongest tool. This step catches the bug-class structural tells, hallucinated APIs above all, which no regex can see. Build it, type-check it, lint it, and resolve its imports and calls against real docs:

  • Python: python -m py_compile <files>, ruff check or pyflakes, mypy, and actually import the module so a missing dependency fails loudly.
  • JS / TS: tsc --noEmit, eslint, node --check, with a real install so a made-up package errors.
  • Go: go build ./..., go vet ./....
  • Rust: cargo check, cargo clippy.

If the code will not build, or a call resolves to nothing, you have found the loudest tell in the data before reading a line. Fix that first.

2. Run the scanner for the mechanical surface tells.

bash
python3 scripts/unslop_code_scan.py <path>                 # full report + slop score
python3 scripts/unslop_code_scan.py <path> --severity high # only the strongest signals
python3 scripts/unslop_code_scan.py <path> --json          # machine-readable, for CI

It scans Python, JS/TS, Java, Go, Rust, Ruby, PHP, C/C++, C#, and more; reports each finding with file, line, the matched text, the severity, the class (bug or cosmetic), the data share it carries, and the fix; and gives a slop score. The exit code is the high-severity count, so CI can gate on it. Severity is how loudly a finding reads as AI; class is whether it is broken. Fix every bug-class finding regardless of severity.

3. Read the diff for what neither step can see: tutorial shape, over-engineering, and whether the code matches the repo. These are the substance tells in references/tells.md, and they are the loudest in the data.

Respecting intentional choices. A line containing unslop-ignore is skipped. Use it when a flagged construct is a real decision (a broad catch at a boundary, an emoji in a CLI banner), so the audit stays trustworthy.

Fixing well: the anchor is correct, and fits this codebase. Do not "fix" process_data() by renaming it processDataFunction(), which is just a different tell. Name it for what it does, the way the rest of the repo names things. Code has far less aesthetic latitude than prose or a UI: there is rarely a "tasteful choice" to make here, only "is it correct, and does it match what is already in this project." A fix that swaps the model's default for your own invented default is not a fix; a fix that makes the line look like the code around it is.

What this deliberately does not flag

Grounded in the data, not vibes. Three popular complaints did not survive verification, so the scanner leaves them alone: left-in debug logging (rejected outright, precision ~0%, the tagged comments were all workflow opinions), reinventing the wheel (mostly misattributed), and over-defensive validation (half the complaints were about the opposite, code with no validation at all). Over-flagging trains people to ignore the tool, so the scanner stays narrow and ranks by verified share.

Reporting an audit

Lead with the verdict and the single highest-impact change. Then findings by priority with file:line and the fix. Close with the slop score and the top three changes, and a reminder that the structural tells (boilerplate, hallucinated APIs, repo fit) still need eyes. Plain and specific. The goal is code that looks like it belongs in this project, which is the one thing the scanner cannot check for you.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Unslop Code làm được gì?

Strips the tells that make source code read as AI-generated and forces code that fits the project instead of the model's default average. It does not write the code for you and it has no preferred style. It removes the surface tells (leftover chat artifacts, placeholder comments, emoji, swallowed errors, narrating comments, generic placeholder names like process_data) AND points you at the structural tells a linter passes: boilerplate / tutorial-shaped code, hallucinated APIs, over-engineering, and code that ignores the surrounding codebase. Grounded in a Reddit analysis of 11,906 posts and...

Vì sao nên dùng Unslop Code trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Unslop Code là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Unslop Code trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/randommonicle/claude-skills/tree/main/unslop-code. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Unslop Code?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Unslop Code với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Unslop Code với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Unslop Code có miễn phí không?

Có. Kỹ năng này được randommonicle phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇