scala-code
Skill5.2k starsChanged 2 months agoMITView on GitHub
Write and modify Scala code in SynapseML. Use when adding or changing Scala transformers, estimators, or params to follow repo patterns, keep scalastyle and compilation green, and cover behavior changes with tests.
Trending
Quiet since June.about the whole repository
Who's talking about microsoft/SynapseML
- lightgbm-org/LightGBM“[docs] fix broken SynapseML link”GitHub · Oct 24, 2021 · 1 reactions
- PyTorchKR/landscape“[Add] SynapseML (microsoft/SynapseML)”GitHub · Jun 2, 2026
- lightgbm-org/LightGBM“Org change: work tracking”GitHub · Mar 8, 2026
- clearlydefined/curated-data“Update declared license for maven:synapseutils_2.12 1.5.0”GitHub · Dec 20, 2025
- lqdev/luisquintanilla.me“Add to read later: SynapseML v1.0.0”GitHub · Nov 24, 2025
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub (22 times).
On GitHub · 22
- Oct 24, 2021[docs] fix broken SynapseML link — lightgbm-org/LightGBM1 reaction · 5 comments
- Jun 2, 2026[Add] SynapseML (microsoft/SynapseML) — PyTorchKR/landscape0 reactions
- Mar 8, 2026Org change: work tracking — lightgbm-org/LightGBM0 reactions · 3 comments
- Dec 20, 2025Update declared license for maven:synapseutils_2.12 1.5.0 — clearlydefined/curated-data0 reactions · 1 comment
- Nov 24, 2025Add to read later: SynapseML v1.0.0 — lqdev/luisquintanilla.me0 reactions
17 more on GitHub
- Nov 24, 2025[Read Later] — lqdev/luisquintanilla.me0 reactions · 1 comment
- Feb 5, 2025SynapseML update to 1.0.8 — sb-ai-lab/SLAMA0 reactions
- May 1, 2024[RFC] remove HDFS support? — lightgbm-org/LightGBM0 reactions · 4 comments
- Aug 23, 2023[docs] fix broken links — lightgbm-org/LightGBM0 reactions · 1 comment
- May 24, 2023Add GPT based code review CI — Azure/PSRule.Rules.Azure0 reactions · 2 comments
- Sep 5, 2022feat: support SparkML model -- FPM — dotnet/spark0 reactions · 3 comments
- Aug 18, 2022scala lightGBM classifier and regressor[WIP] — intel/ipex-llm0 reactions · 5 comments
- Jul 15, 2022mmlspark関連のWarningが出る — gho9o9/SynapseHandsOn0 reactions
- Jun 14, 2022[training] lightgbm train auc is low after synapseml 0.9.5 — meta-soul/MetaSpore0 reactions
- Jun 8, 2022use new getNativeModel method in get_surrogate_booster_pyspark to simplify erroranalysis code — microsoft/responsible-ai-toolbox0 reactions · 6 comments
- Jun 7, 2022Disk spaces in images — Azure/AzureML-Containers0 reactions
- May 5, 2022part 2: add pyspark support to tree surrogate model in error analysis — microsoft/responsible-ai-toolbox0 reactions · 16 comments
- Apr 28, 2022mmlspark -> SynapseML — rstudio/spark.rstudio.com0 reactions
- Apr 26, 2022mmlspark -> SynapseML — sparklyr/sparklyr0 reactions · 1 comment
- Feb 14, 2022Fixing .replace is not a function — mhamilton723/github-actions-issue-to-work-item0 reactions
- Oct 21, 2021[synapseML] Missing results for query "SynapseML" — algolia/docsearch-configs0 reactions · 5 comments
- Sep 28, 2021Loading model in pyspark fails — jelmerk/hnswlib0 reactions · 5 comments
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-reviewSkill
- synapseml-branchesSkill
- synapseml-external-contributor-reviewSkill
- synapseml-local-setupSkill
- synapseml-pr-loopSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Use this skill for any Scala code change in this repository.
- Distinctive: line 11
Keep Scala changes correct, minimal, and production-safe.
- Distinctive: line 13
Ensure every behavior change is covered by tests.
- Very specific: line 17
Follow existing SynapseML patterns (DefaultParamsReadable, DefaultParamsWritable, Wrappable, SynapseMLLogging).
- Distinctive: line 18
Keep business logic in Scala (not generated Python wrappers).
- Very specific: line 19
Do not edit generated files under target/.
- Distinctive: line 21
Prefer small, focused changes and reuse existing helpers/traits.
- Distinctive: line 22
Avoid introducing flaky tests or network-dependent behavior unless already required by the suite.
- Distinctive: line 26
Run these commands before finishing Scala changes:
- Distinctive: line 36
If a command fails, fix the issue and rerun until passing.
- Distinctive: line 42
Keep tests deterministic and aligned with current module test conventions.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scala Code Skill
Use this skill for any Scala code change in this repository.
Objectives
- Keep Scala changes correct, minimal, and production-safe.
- Prevent CI/CD breakage by validating style and compilation before completion.
- Ensure every behavior change is covered by tests.
- Scala code should be optimized to be efficient and maintainable, following existing patterns and practices in the codebase.
Scala best practices
- Follow existing SynapseML patterns (
DefaultParamsReadable,DefaultParamsWritable,Wrappable,SynapseMLLogging). - Keep business logic in Scala (not generated Python wrappers).
- Do not edit generated files under
target/. - Preserve license headers and existing package structure.
- Prefer small, focused changes and reuse existing helpers/traits.
- Avoid introducing flaky tests or network-dependent behavior unless already required by the suite.
- To get around scalastyle issues, don't just use
// scalastyle:offor//scalastyle:ignore, but instead fix the underlying issue or refactor to avoid it. Unless, the refactor results in a more complex code structure, in which case, it may be acceptable to disable the specific scalastyle rule for that line or block of code, but this should be done sparingly and with justification.
Required validation steps (must run)
Run these commands before finishing Scala changes:
- Scala style checks:
sbt scalastyle "Test / scalastyle"
- Scala compile checks:
sbt compilesbt test:compile
- Relevant tests for touched modules/files:
- Example:
sbt "core/testOnly *SuiteName*"orsbt "cognitive/testOnly *SuiteName*"
- Example:
If a command fails, fix the issue and rerun until passing.
Testing requirement for code changes
- Any Scala code change must be accompanied by tests (new tests or updates to existing tests).
- Bug fixes must include a regression test that fails before the fix and passes after.
- New logic/branches should include coverage for success and failure/edge cases where practical.
- Keep tests deterministic and aligned with current module test conventions.
Completion checklist
- Code follows existing Scala/SynapseML conventions.
- Style checks pass.
- Compile checks pass.
- Relevant tests pass.
- Scala code changes include corresponding tests.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

