- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add notque/vexjoy-agent --skill code-quality -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add notque/vexjoy-agent --skill code-quality -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add notque/vexjoy-agent --skill code-quality -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add notque/vexjoy-agent --skill code-quality -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/notque/vexjoy-agent/tree/HEAD/skills/code-quality/code-qualityTừ nhà phát hành
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.mdCâu hỏi thường gặp
Tải skills/code-quality/code-quality/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/notque/vexjoy-agent.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.