- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add notque/vexjoy-agent --skill code-quality -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add notque/vexjoy-agent --skill code-quality -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add notque/vexjoy-agent --skill code-quality -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add notque/vexjoy-agent --skill code-quality -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/notque/vexjoy-agent/tree/HEAD/skills/code-quality/code-quality来自发布者
Four modes. Select by request signal:
Default: Python-specific requests run Python Quality Gate. General requests run Universal Quality Gate.
Scan for 9 categories of technical debt: stale TODOs, unused imports, dead code, missing type hints, deprecated functions, naming inconsistencies, high complexity, duplicate code, missing docstrings. Follow references/code-cleanup.md for the full 3-phase workflow (SCOPE, SCAN, REPORT).
Key principles:
Check or fix Python with Ruff and JavaScript/TypeScript with Biome. Read project instructions, pyproject.toml, and biome.json first; preserve configured rules.
Use project environment (./venv/bin/ruff). If configured, use make lint or make lint-fix. Check first; apply fixes only within requested scope. Review git diff, undo incorrect fixes, rerun checks. Do not change rules or install new tooling to get a pass.
Common fixes: F401 = remove/use import. I001 = sort imports. E501 = shorten lines. Biome noVar = use let/const. useConst = mark unchanged bindings.
Run checks in order. Read repository configuration first; project commands and thresholds override defaults.
Detect: Find pyproject.toml, setup.py, .python-version. Check tool availability: ruff and pytest required; mypy and bandit optional unless project requires them.
Execute:
Run all checks even after one fails. Do not skip tests to get a pass.
Assess: Prioritize syntax/undefined errors, failing tests, security findings before style. Report per-tool status with actionable file:line diagnostics.
Fix: When authorized, run ruff check . --fix and ruff format ., review diff, rerun checks.
Auto-detect languages and run configured checks. Read repository instructions first.
python3 ~/.claude/skills/code-quality/scripts/run_quality_gate.py
Options: --staged (pre-commit), --lang python (single language), --fix (apply fixes), -v (verbose).
Language detection uses hooks/lib/language_registry.json:
A gate pass means required tools passed; it does not prove tests, builds, or business behavior passed.
Load on demand when the signal matches.
Code quality: cleanup, linting, formatting, quality gates.
---name: code-qualitydescription: Code quality: cleanup, linting, formatting, quality gates.---# skills/code-quality/code-quality/SKILL.md常见问题
从发布者处下载 skills/code-quality/code-quality/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/notque/vexjoy-agent。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。