OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add microsoft/synapseml --skill code-review
Review SynapseML Python and Scala code changes. Use before finalizing PR reviews or implementation changes to check security, compatibility, style, generated code, and targeted tests.
npx skills add microsoft/synapseml --skill code-review
Use this skill when reviewing SynapseML changes.
git --no-pager diff --stat && git --no-pager diffsbt scalastyle test:scalastyleblack --check --extend-exclude 'docs/' .Apply when changes touch serialization, I/O, network, or authentication code.
ObjectInputStream.readObject(): use SafeObjectInputStream with an allowlistresolveClass allowlist validates array component types. Never allowlist the [ prefix
directly; array handling must extract and validate the component class nameresolveProxyClass is overridden to block or validate dynamic proxy interfacesusing() or try-finallyApply when changes modify public classes, traits, or companion objects.
extends DefaultParamsReadable[T] preserved if it existedWrappable trait mixed in if the class needs a Python wrapperSynapseMLLogging trait mixed in; logClass() called in constructorjava.io._ → named imports)black==22.3.0target/ (auto-generated)src/main/python/ extend the generated _ClassNameusing() for resource cleanup (no bare .close() after assertions)