一键导入
code-quality
Review and improve inline code quality. Activate for code smells, refactoring, DRY violations, and best-practice fixes in active files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review and improve inline code quality. Activate for code smells, refactoring, DRY violations, and best-practice fixes in active files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Orchestrate static analysis using Codacy. Required PR check on this repo. Use for querying PR analysis, triaging issues, fixing (not suppressing) findings, and local analysis. See SKILL.md for fix patterns and the required-check policy.
Build localized, accessible, premium reader/admin UI with 2026 design standards. Features OKLCH colors, View Transitions, scroll-aware components, and mutual exclusivity panels.
Create AGENTS.md files with production-ready best practices. Activate when creating new AGENTS.md or implementing quality gates.
Comprehensive GitHub PR review and automated fix pipeline. Takes a PR number or auto-detects from current branch, runs code review, static analysis, security audit, and quality checks, then produces a structured report and auto-fixes must-fix issues. Activate for "review PR", "fix PR issues", "PR quality check", "review and fix PR #123".
Invoke for complex multi-step tasks requiring intelligent planning and multi-agent coordination. Use when tasks need decomposition, dependency mapping, parallel/sequential/swarm execution strategies, or coordination of multiple specialized agents with quality gates.
Break down complex tasks into atomic, executable goals. Activate for multi-step feature planning, agent coordination, or request decomposition.
| version | 1.0.0 |
| name | code-quality |
| description | Review and improve inline code quality. Activate for code smells, refactoring, DRY violations, and best-practice fixes in active files. |
| category | quality |
| allowed-tools | Read Grep Glob |
| license | MIT |
Review and improve inline code patterns. Operates at the file/function level
—not at the PR or diff level (use code-review-assistant for that).
Extract duplicated logic into shared functions or constants.
Each function should do one thing well. Split functions that validate, save, and notify.
Use named constants instead of bare numbers like 30000.
matchBounded/testBounded/matchAllBounded from @do-epub-studio/sharedpnpm lint covers all configs — Codacy covers root-level configs (vite.config.ts, vitest.config.ts, playwright.config.ts) that local ESLint does notFor UI component files, npx impeccable detect runs deterministic design quality checks (44 rules). This is separate from code quality — it catches design anti-patterns, not code smells. See DESIGN.md for project design language.