一键导入
code-quality-assessment
Activate when analyzing code quality through linting, formatting, testing, coverage analysis, and maintainability metrics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Activate when analyzing code quality through linting, formatting, testing, coverage analysis, and maintainability metrics
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Activate when creating or modifying Claude Code agents with proper architecture patterns, tool selection, and extended context integration
Activate when creating or modifying Claude Code slash commands with proper frontmatter, Task invocation patterns, and TodoWrite integration
Activate when creating comprehensive documentation including README files, API docs, user guides, and developer guides
Activate when creating detailed implementation plans with phases, tasks, dependencies, and resource allocation for software projects
Activate when analyzing codebases to understand project structure, technology stack, dependencies, and development workflows
Activate when creating Product Requirements Documents (PRDs) with business objectives, functional requirements, success criteria, and implementation planning
| name | code-quality-assessment |
| description | Activate when analyzing code quality through linting, formatting, testing, coverage analysis, and maintainability metrics |
| license | MIT |
Guide for comprehensive code quality analysis through automated linting, formatting verification, test execution, coverage analysis, and maintainability assessment.
Activate when:
# Code Quality Assessment Report
**Project**: [Name]
**Date**: [Date]
**Overall Score**: [Score/Grade]
## Executive Summary
- **Critical Issues**: [Number]
- **Test Coverage**: [Percentage]%
- **Quality Gate**: [Pass/Fail]
## Linting Results
### Critical Issues (Errors)
- [Issue with file:line]
- [Recommended fix]
### Warnings
- [Warning description]
- [Severity assessment]
## Test Results
### Execution Summary
- **Total Tests**: [Number]
- **Passed**: [Number] ([%])
- **Failed**: [Number] ([%])
### Coverage Analysis
- **Overall**: [%]%
- **Line**: [%]%
- **Branch**: [%]%
- **Function**: [%]%
### Critical Coverage Gaps
- [Uncovered critical functionality]
- [Security-sensitive code without tests]
## Complexity Metrics
### Cyclomatic Complexity
- **Average**: [X]
- **Max**: [Y]
- **Functions >10**: [Number]
### Maintainability
- **Index**: [Score]/100
- **Duplication**: [%]%
- **Technical Debt**: [Hours]
## Action Items
### Critical (Immediate)
1. [Fix with instructions]
### High Priority (This Sprint)
1. [Improvement]
### Medium Priority (Next Sprint)
1. [Enhancement]
## Quality Gate Status
- [ ] Linting: Passed
- [ ] Coverage: >80%
- [ ] Security: Passed