CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

review-correctness-and-data-integrity

Review a code change for realistic functional defects, data loss, duplicate writes, ordering mistakes, and broken integration contracts. Use as one lens in a code review run when correctness or data integrity may be affected.

1.08x
Quality

89%

Does it follow best practices?

Impact

98%

1.08x

Average score across 18 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is tessl/code-review

SKILL.md
Quality
Evals
Security

Review lens: Correctness and Data Integrity

Review for incorrect results in changed logic, persisted data, and integration boundaries.

Scope

  • Functional Correctness Whether changed logic handles valid edge cases correctly, including absent or empty values, boundary values, inverted conditions, and cases with no matching branch.
  • Data Integrity What the change can lose, duplicate, reorder or silently reinterpret on the way through, and what a half-finished run leaves behind.
  • Integration Whether the things on either side of a boundary still agree, given they were written at different times and ship separately.

Method

Challenge each changed calculation, comparison, and branch against valid edge cases and against existing data that may be valid but unusual.

For each write path, trace a record from input to persistence and check the state left by an interrupted run.

At an integration boundary, check compatibility between the independently deployed versions of each side.

Some contracts are written down rather than expressed in types. Read the AGENTS.md or CLAUDE.md chain governing the changed files, from the repository root down, for the rules a caller is expected to follow.

Threshold

Report incorrect results that can occur in a realistic input or system state.

Prioritize those that persist incorrect data, because application code can be redeployed but written data may require repair.

Do not report guards for states the types or the callers already rule out.

Reporting

  • State the concrete impact and the input or state that triggers it.
  • For repeatable external side effects, say what state must be repaired, replayed, or refunded if the run is interrupted.
  • At a boundary, name the boundary, the breaking change, the consumer at risk, and the missing migration, deprecation window, or version step.
  • If coverage is missing, identify the exact case: an error path, boundary value, or regression scenario. Avoid a general request for more tests.
  • State the smallest plausible fix or verification.
Repository

Cornebidouille/tessl-carnival

Path

review-lenses/review-correctness-and-data-integrity/SKILL.md

Last updated
First committed

Canonical home

tessl/code-review
In sync

since Aug 8, 2026

Also appears in

tesslio/product-plugins
In sync

since Aug 12, 2026

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.