Linus-style code quality enforcement. Checks taste, simplicity, and engineering rigor.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add WenJunDuan/Rlues --skill code-quality --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Code Quality?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/wenjunduan-code-quality-b004ead8)More formats (shields.io, HTML) on the badges page.
---
name: code-quality
description: |
Linus-style code quality enforcement. Checks taste, simplicity,
and engineering rigor.
---
# Code Quality Skill (Linus Taste Check)
## 检查清单
| 维度 | 标准 | 严重度 |
|:---|:---|:---|
| 函数长度 | <50行 | Error |
| 嵌套深度 | <3层 | Error |
| TypeScript any | 零容忍 | Error |
| 魔法数字 | 必须命名常量 | Warning |
| 错误处理 | 完整覆盖 | Error |
| 输入验证 | 公共接口必须 | Error |
| 命名 | 准确反映本质 | Warning |
| 数据结构 | 最简设计 | Warning |
| 重复代码 | DRY | Warning |
| 过度抽象 | YAGNI | Warning |
## Linus 四问
每次 review 时回答:
1. 数据结构是最简的吗?
2. 能删掉什么?
3. 命名准确吗?
4. 这段代码有"品味"吗?
## --strict 模式额外检查
- 无未使用的 import
- 无注释掉的代码
- 无 TODO 在提交代码中
- 组件 <200 行
- 单文件 <500 行
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!