一键导入
check-quality
Assess overall code quality
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Assess overall code quality
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Analyze blast radius before changing specific files. Use before refactoring core components, making breaking API changes, or modifying shared code to identify affected files and stakeholders.
Get complexity and debt metrics before editing code
Focus code review on high-risk changes
Generate onboarding guide with key symbols, architecture overview, and subject matter experts. Use when joining a new project, onboarding teammates, or creating project documentation.
Identify highest-ROI refactoring targets
Analyze a repository and generate an intelligent omen.toml with project-specific defaults. Use when starting Omen in a new project.
基于 SOC 职业分类
| name | check-quality |
| description | Assess overall code quality |
| usage | /check-quality [path] |
| arguments | [{"name":"paths","description":"Paths to analyze","required":false,"default":"."}] |
Assess quality of: {{.paths}}
# Get health score (0-100)
omen -f json score
# Check complexity violations
omen -f json complexity | jq '.files[].functions[] | select(.metrics.cyclomatic > 15)'
# Find architectural smells
omen -f json smells
| Score | Status | Action |
|---|---|---|
| 90-100 | Excellent | Maintain |
| 80-89 | Good | Minor fixes |
| 70-79 | Fair | Address issues |
| 50-69 | Poor | Prioritize fixes |
| <50 | Critical | Immediate action |