code-review
Installation
SKILL.md
Code Review
Use this skill when reviewing SynapseML changes.
Steps
- Inspect diff:
git --no-pager diff --stat && git --no-pager diff - Run Scala style:
sbt scalastyle test:scalastyle - Run Python format check:
black --check --extend-exclude 'docs/' . - Run targeted tests for touched code.
- Apply the checklists below to every changed file.
- Report only concrete issues with file paths and fixes.
Security Checklist
Apply when changes touch serialization, I/O, network, or authentication code.
Deserialization (CWE-502)
- No raw
ObjectInputStream.readObject()— useSafeObjectInputStreamwith an allowlist