Diff Check

Rate the comments and check the changed lines in a diff against the recurring failure modes in agent-written code: narration comments, JSDoc used as an internal note, defensive defaults, sentinels, negated state predicates, magic numbers. Use this skill when the user says 'check my comments', 'rate these comments', 'are these comments any good', 'check the diff', 'diff check', 'did I narrate', 'review my changes before I commit', 'check what I just wrote', or asks whether a comment earns its place. Also use it before reporting a change complete, and when the user complains about comment spam, JSDoc blocks on internal code, or comments explaining code that is no longer there. Pass file paths as args to rate the comments already in those files instead of a diff.

block65 Updated

File contents

block65/agent-standards/tree/main/skills/diff-check commit 4b7fac8817

Frequently asked questions

npx skillmds@latest add block65/diff-check