principle-code-review

Evaluates code diffs and PR findings across correctness, security, design integrity, and test coverage.

2|8|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/lugassawan/swe-workbench --skill principle-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: principle-code-review
Source: https://github.com/lugassawan/swe-workbench/tree/main/skills/principle-code-review
Command: npx skills add https://github.com/lugassawan/swe-workbench --skill principle-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write code review comments that focus on genuinely actionable issues—correctness, security, design integrity, and test gaps—while filtering out linter-owned nitpicks and speculative feedback.

Core Features & Use Cases

  • Four-axis review lens: Evaluates changes across correctness, security, design integrity, and tests to ensure complete coverage.
  • What counts as a real finding: Avoids formatting/style comments and drops speculative “could be” issues without a concrete failure scenario.
  • Confidence-based filtering: Requires named failure scenarios and adjusts how aggressively you comment based on severity and likelihood.
  • Review tone guidance: Encourages observation-based language that reduces blame and improves clarity.

Quick Start

Use principle-code-review when writing or deciding whether to surface a PR finding so your feedback remains high-signal and evidence-based.

Frequently Asked Questions about principle-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write high-signal code review comments that focus on real issues?

High-signal code review comments target correctness, security, design integrity, and test gaps while filtering out linter-owned nitpicks. You must provide concrete failure scenarios and use observation-based language to ensure feedback remains actionable and avoids speculative issues.

What counts as a real finding during a pull request review?

A real finding during a pull request review identifies a genuine issue across correctness, security, design integrity, or tests. It requires a named failure scenario and avoids formatting nitpicks or speculative feedback without concrete evidence of a potential failure.

How do I assess code correctness across edge cases and trust boundaries?

Assess code correctness across edge cases and trust boundaries by applying a four-axis review lens. This requires defining concrete failure scenarios, establishing confidence thresholds based on severity, and filtering out speculative issues that lack evidence of actual failure.

How should I frame security auditing findings in a code diff?

Frame security auditing findings using observation-based language that reduces blame and improves clarity. Adjust how aggressively you comment based on severity and likelihood, requiring concrete failure scenarios to justify surfacing the security finding.

When should I not surface a code review finding?

You should not surface a code review finding if it is a formatting or style nitpick, or if it is a speculative issue lacking a concrete failure scenario. Drop findings that do not meet confidence thresholds based on severity and likelihood.

Does principle-code-review work for evaluating test coverage and design integrity?

Yes, principle-code-review evaluates test coverage and design integrity by applying a four-axis lens to code diffs. It assesses whether tests cover edge cases and whether the design maintains structural integrity while filtering out low-value feedback.