Skip to main content

code-quality-analysis

Multi-mode code quality analysis covering security reviews (OWASP Top 10), clarity refactoring (readability rules), synthesis analysis (cross-file issues), and DDD/DRY lenses (flags mechanical naming, primitive obsession, domain rules leaking into infrastructure, and premature abstractions via the three-occurrences-same-concept rule). Supports team-mode parallel analysis when invoked from quality-pipeline. Use when reviewing code for security vulnerabilities, improving code readability, conducting quality audits, pre-deployment checks, or when user mentions 'code quality', 'code review', 'security review', 'refactoring', 'code smell', 'OWASP', 'code clarity', 'primitive obsession', 'value object', 'ubiquitous language', 'DRY', 'premature abstraction', or 'quality audit'.

来源信息

仓库
greyhaven-ai/claude-code-config
最近来源活动
2026年4月19日 04:23
检测到的 SKILL.md 语言
英语
星标
29
分支
5

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
5 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
code-quality-analysis
description
Multi-mode code quality analysis covering security reviews (OWASP Top 10), clarity refactoring (readability rules), synthesis analysis (cross-file issues), and DDD/DRY lenses (flags mechanical naming, primitive obsession, domain rules leaking into infrastructure, and premature abstractions via the three-occurrences-same-concept rule). Supports team-mode parallel analysis when invoked from quality-pipeline. Use when reviewing code for security vulnerabilities, improving code readability, conducting quality audits, pre-deployment checks, or when user mentions 'code quality', 'code review', 'security review', 'refactoring', 'code smell', 'OWASP', 'code clarity', 'primitive obsession', 'value object', 'ubiquitous language', 'DRY', 'premature abstraction', or 'quality audit'.
skills
["code-style","documentation-alignment"]
allowed-tools
["Read","Grep","Glob","TodoWrite","Write","Edit","Task","Teammate","SendMessage","TaskCreate","TaskUpdate","TaskList","TaskGet"]
# Code Quality Analysis Skill Multi-mode code quality specialist with security review, clarity refactoring, and synthesis analysis. ## Description Comprehensive code quality analysis including security vulnerability detection, readability improvements, and cross-file issue synthesis. ## What's Included - **Examples**: Security reviews, refactoring patterns, quality improvements - **Reference**: OWASP Top 10, code smells, refactoring catalog - **Templates**: Code review templates, security audit structures - **Checklists**: Quality verification, security compliance ## Modes 1. **Security Review** - Find vulnerabilities (OWASP Top 10) 2. **Clarity Refactoring** - Improve readability (10 rules) 3. **Synthesis Analysis** - Cross-file issues 4. **Domain Lens (DDD)** - Flag mechanical naming, primitive obsession, and domain rules leaking into routes/components/stores; recommend value-object or branded-type promotions 5. **Duplication Lens (principled DRY)** - Approve extraction only when the same domain concept repeats at ≥3 sites with the same meaning; reject premature DRY and accidental-similarity extractions ## Use This Skill When - Reviewing code for security issues - Improving code readability - Comprehensive quality audits - Pre-deployment checks ## Related Agents - `code-quality-analyzer` - Automated quality analysis --- **Skill Version**: 1.2
在 GitHub 查看