review-correctness

Solid

Analyze code for bugs and correctness problems using strict determination criteria. Returns structured findings without applying fixes. Use when the user asks to "review correctness", "scan my code for bugs", "find bugs in my changes", "look for bugs", "check for bugs", or "run a correctness review".

Code & Development 312 stars 24 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Review Correctness Analyze code for bugs and correctness problems. Return structured findings. ## Step 1: Determine the Scope Determine what to review: - If a specific **diff command** was provided (e.g., `git diff --cached`, `git diff main...HEAD`), use that. - If a **file list or directory** was provided, review those files directly (read the full files, not a diff). - If **neither** was provided, default to diffing against the repository's default branch (detect via `gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'`). ## Step 2: Review 1. For diff scope: run the diff command to obtain the changes. For file scope: read the specified files. 2. For each file, read enough surrounding context to understand the code 3. Apply the bug determination criteria and return findings in the output format below ## Bug Determination Criteria Flag an issue only when ALL of these hold: 1. It meaningfully impacts the accuracy, performance, security, or maintainability of the code 2. The bug is discrete and actionable (not a general codebase issue or combination of multiple issues) 3. Fixing it does not demand rigor beyond what exists in the rest of the codebase 4. In diff mode: the bug was introduced in the changeset (do not flag pre-existing bugs). In file scope mode: this criterion does not apply 5. The author would likely fix the issue if aware of it 6. The bug does not rely on unstated assumptions about the codebase or author's intent 7. Speculation is insuffi...

Details

Author
tobihagemann
Repository
tobihagemann/turbo
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

review-quality

Analyze code for cross-file quality issues: duplicated logic, architectural inconsistencies, and abstraction opportunities. Returns structured findings without applying fixes. Use when the user asks to "review quality", "check for duplication across files", "find architectural inconsistencies", "cross-file quality review", or "review code quality".

312 Updated today
tobihagemann
Code & Development Listed

code-review

Use to review diffs and PRs for bugs, regressions, edge cases, proof, and merge readiness.

0 Updated yesterday
kreek
Code & Development Listed

code-review

Use this skill when the user asks for a review, audit, bug hunt, or risk assessment of code changes.

1 Updated 1 months ago
liangqianxing
Code & Development Listed

code-reviewer

Perform thorough code reviews with actionable, prioritized feedback. Use when a user asks to review code, check code quality, find bugs, review a pull request, audit code for issues, or get feedback on implementation. Covers correctness, security, performance, readability, and best practices across languages.

17 Updated today
jaem1n207
Code & Development Solid

code-reviewer

Perform thorough code reviews with actionable, prioritized feedback. Use when a user asks to review code, check code quality, find bugs, review a pull request, audit code for issues, or get feedback on implementation. Covers correctness, security, performance, readability, and best practices across languages.

61 Updated 1 weeks ago
TerminalSkills