con un clic
code-quality
// Code review and bug prediction to find quality issues, style violations, and likely bugs. Triggers on: review, quality, code review, analyze, lint, bugs, predict, code smell.
// Code review and bug prediction to find quality issues, style violations, and likely bugs. Triggers on: review, quality, code review, analyze, lint, bugs, predict, code smell.
[HINT] Descarga el directorio completo de la habilidad incluyendo SKILL.md y todos los archivos relacionados
| name | code-quality |
| description | Code review and bug prediction to find quality issues, style violations, and likely bugs. Triggers on: review, quality, code review, analyze, lint, bugs, predict, code smell. |
IMPORTANT: Start your response with a context preamble.
Call help_lookup(topic="code-quality", mode="preamble") and
display the returned preamble text as a blockquote. Then
tell the user they can say "tell me more" for a step-by-step
guide, or answer the scoping questions below to proceed.
If the MCP call fails, fall back to:
Code Quality — Reviews your code for style issues, likely bugs, and structural problems in one pass.
Before running, ask:
Quick scan:
code_review(path="<user-specified path>")
Thorough analysis:
code_review(path="<user-specified path>")
bug_predict(path="<user-specified path>")
Merge and deduplicate results from both tools.
Deep review (multi-pass: security, quality, test gaps):
deep_review(path="<user-specified path>")
## Code Quality Report
**Health:** X/100 | **Files:** Y | **Issues:** Z
### Issues by Category
| Category | Count | Severity |
|----------|-------|----------|
| Style | X | Low |
| Correctness | Y | High |
| Security | Z | Critical |
| Predicted Bugs | W | Medium |
### Details
| File | Line | Issue | Source |
|------|------|-------|--------|
### Predicted Bug Risks
| File | Pattern | Confidence |
|------|---------|------------|
After presenting results, call:
help_lookup(topic="code-quality", mode="workflow_help")
If templates are returned, offer: "I have tips about code quality reviews — want to see them?"
After presenting results, offer: