Audit source code for naming conventions, complexity, and common anti-patterns. 支持代码规范扫描、复杂度检查及重构建议。Use when performing code reviews or preparing for production deployment.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Clean Code?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bytesagain-clean-code)
---
name: "Clean Code — Quality Guard & Standards Auditor"
description: "Audit source code for naming conventions, complexity, and common anti-patterns. 支持代码规范扫描、复杂度检查及重构建议。Use when performing code reviews or preparing for production deployment."
version: "2.0.0"
author: "BytesAgain"
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: ["clean-code", "linting", "refactoring", "qa", "code-review", "programming", "代码质量"]
---
# Clean Code / 楼台代码卫士
## Quick Start / 快速开始
Just ask your AI assistant: / 直接告诉 AI 助手:
- "Run a quality audit on my Python script" (对我的 Python 脚本进行质量审计)
- "Are there any security risks in this file?" (这个文件里有安全风险吗?)
- "Suggest refactoring for this long function" (为这个长函数提供重构建议)
## Commands / 常用功能
### scan
Analyze a source file for standards and complexity.
```bash
bash scripts/script.sh scan main.py
```
## Feedback
https://bytesagain.com/feedback/
Powered by BytesAgain | bytesagain.com