在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用lint
星标1
分支0
更新时间2026年5月6日 11:01
代码质量检查工具集
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
代码质量检查工具集
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
分析 Python 项目的代码品位 — 6 维度评分(极简度/一致性/可读性/防御性/工程化/Agent Engineering),输出诊断 + 处方 + SVG 雷达图报告
Awwwards 设计灵感侦察 — 按奖项/分类/技术栈/UI元素/配色采集前端设计参考
行为驱动开发(BDD)流程助手
Python 代码冗余检测清单
活文档维护
优雅编码与重构规范
| name | lint |
| description | 代码质量检查工具集 |
| user-invocable | true |
| version | 0.0.1 |
| tags | lint, quality, check |
| dependencies | {} |
快速检查代码质量。
| 语言 | 工具 | 命令 |
|---|---|---|
| Shell | shellcheck | shellcheck file.sh |
| YAML | yamllint | yamllint file.yaml |
| Python | ruff | ruff check file.py |
| Python | mypy | mypy file.py |
| JS/TS | eslint | eslint file.js |
| Markdown | markdownlint | markdownlint file.md |
| Git | gitlint | gitlint |
/lint # 自动检测并检查
/lint shell # 检查 Shell 脚本
/lint yaml # 检查 YAML 文件
/lint python # 检查 Python 代码
/lint js # 检查 JavaScript/TypeScript
/lint all # 检查所有
# 安装
sudo apt install shellcheck
# 检查
shellcheck script.sh
常见问题:
use "$var"set -e#!/bin/bash vs #!/bin/sh# 安装
pip install yamllint
# 检查
yamllint file.yaml
常见问题:
# 安装
pip install ruff mypy
# 检查
ruff check file.py
mypy file.py
ruff: 代码风格、潜在问题 mypy: 类型检查
常见问题:
# 安装
npm install -g eslint
# 检查
eslint file.js
# 安装
npm install -g markdownlint-cli
# 检查
markdownlint file.md
# 安装
pip install gitlint
# 检查最近的 commit
gitlint
# 所有 Shell 文件
find . -name "*.sh" -exec shellcheck {} \;
# 所有 Python 文件
ruff check .
# 所有 YAML 文件
find . -name "*.yaml" -o -name "*.yml" | xargs yamllint
在项目根目录创建配置:
Shell: .shellcheckrc
YAML: .yamllint
Python: ruff.toml / pyproject.toml
ESLint: .eslintrc.json
先检查,再提交。