{"id":116684,"plugin_id":"plugin_asdk_app_6afee63c29748191bb53aa1b1ca92505","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:17:44.024Z","digest":"2253bcf3b9f9e134c7cad80a10b0d682225c5302a7445a76b56456fa7620a6b2","against":null,"payload":{"description":"Use before finishing a coding task, before committing or opening a pull request, and when asked to review a change. Compares the complete diff with the user's request, checking that every requirement is addressed, nothing unrequested changed, no references went stale after a rename or removal, no tests were weakened or deleted, and every new dependency or file is explained.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":124}],"name":"diff-review","skill_md_contents":"---\nname: diff-review\ndescription: Use before finishing a coding task, before committing or opening a pull request, and when asked to review a change. Compares the complete diff with the user's request, checking that every requirement is addressed, nothing unrequested changed, no references went stale after a rename or removal, no tests were weakened or deleted, and every new dependency or file is explained.\nlicense: Apache-2.0\n---\n\n# Review the diff against the task\n\nReview what will ship, not what you remember writing.\n\n## 1. Collect the whole change\n\nCollect staged and unstaged changes and new untracked files: run `git status --porcelain` and `git diff HEAD`, then read each untracked file. Include changes made by code generators and formatters. Outside git, use the list of files you edited and reread each one.\n\n## 2. Compare the change with the request\n\nWork through this list and record `path:line` for every problem.\n\n1. **Coverage.** Every requirement in the request maps to a change. A requirement with no matching change means the task is not finished.\n2. **Nothing unrequested.**\n   - The task explains every changed file.\n   - There is no unrelated reformatting, debug print, commented-out code, stray TODO or temporary file.\n3. **Stale references after a rename, move or removal.** Search the whole repository for the old name: code, tests, documentation, configuration and scripts. Include string forms such as dynamic imports, route names, serialized field names and CLI help text. Every remaining hit is a bug, unless you can state a reason for it to stay.\n4. **Changed signatures and defaults.**\n   - Every caller is updated.\n   - Default values, error behavior and return shapes are unchanged unless the request asked for a change.\n   - Public interfaces stay backward compatible unless the user agreed to break them.\n5. **Weakened tests.** Treat any of these as a finding unless the request asked for it:\n   - a deleted test\n   - a new skip or expected-failure marker\n   - a loosened assertion, such as exact to approximate, or equality to merely truthy\n   - an expected value edited to match the new output without an explanation\n   - a raised timeout\n   - narrowed test inputs\n\n   If the request said not to modify the tests, any change to them is a violation.\n\n   If the Truthstone checks tools are available, call `check_test_edit` for each changed or deleted test file, with its full content before and after, and include what it reports. Without the tools, check the list above by reading the diff.\n6. **Untested changes.** Mention changed code that no test covers, when the project otherwise tests its code and you added no test.\n7. **Dependencies.**\n   - Every package added to a manifest has a stated reason.\n   - The lockfile is updated consistently.\n   - No existing package already does the job.\n8. **New files.**\n   - They are placed and named like their siblings.\n   - They contain no secrets, credentials, `.env` files, large binaries or build output.\n9. **Error handling.** No exceptions are newly swallowed, no catch-all handler is broadened, and no validation is removed.\n\n## 3. Report\n\nList the findings by severity. For each finding, give:\n\n- `path:line`\n- what is wrong\n- why it matters for this request\n- whether you fixed it or recommend a fix\n\nFix whatever is clearly within the task, and ask about anything that is a judgement call.\n\nIf nothing turns up, say what you checked, for example \"Checked 6 files: no stale references to fetchUser, no test changes, no new dependencies.\" \"Looks good\" on its own is not a review.\n\nThe user's explicit instructions, repository instructions such as AGENTS.md, and the platform's safety rules take priority over this skill. When one of them conflicts with a step, follow it and say which step you skipped.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}