Skip to main content

code-review

Use this skill when reviewing code for quality, security, and maintainability issues. Provides a structured checklist for thorough code reviews.

Quellinformationen

Repository
oracle/locus
Letzte Quellaktivität
22. Oktober 2026 um 18:48
Erkannte Sprache von SKILL.md
Englisch
Sterne
4
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
code-review
description
Use this skill when reviewing code for quality, security, and maintainability issues. Provides a structured checklist for thorough code reviews.
allowed-tools
read_file search_code
metadata
{"author":"locus","version":"1.0"}
# Code Review Checklist ## 1. Security - Check for hardcoded secrets (API keys, passwords, tokens) - Validate all user inputs before use - Check for SQL injection, XSS, command injection - Ensure sensitive data is not logged ## 2. Error Handling - All external calls wrapped in try/except - Errors logged with context (not just swallowed) - User-facing errors are safe (no stack traces leaked) ## 3. Code Quality - Functions are under 50 lines - No duplicated logic (DRY principle) - Clear variable and function names - Type hints on public functions ## 4. Testing - New code has corresponding tests - Edge cases covered (empty input, None, large data) - Tests are independent (no shared mutable state) ## 5. Performance - No N+1 queries - Large collections use generators, not lists - Expensive operations are cached where appropriate ## Summary Format After reviewing, provide: 1. **Critical issues** (must fix before merge) 2. **Suggestions** (improve quality but not blocking) 3. **Positives** (what was done well)
Auf GitHub ansehen