kubuszok/re-scale/guide-code-style

Claude Code and agent skill by kubuszok/re-scale

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Code style rules for Scala 3 porting projects — headers, formatting, conventions

Install

npx vskill@latest install kubuszok/re-scale/guide-code-style

SKILL.md

Code style

  • License header: Apache-2.0, with Migration notes block for audited files
  • Braces required (-no-indent): {} for all trait/class/enum/method defs
  • Split packages: package ssg / package md / package core (never flat)
  • No `return`: use boundary/break
  • No `null`: use Nullable[A]
  • No `scala.Enumeration`: use Scala 3 enum, preferably extends java.lang.Enum
  • Case classes must be `final`
  • No Java-style getters/setters: no-logic getX()/setX(v) → public var x
  • Preserve all original comments from the source
  • Fix bugs, don't work around them: when a test reveals a pre-existing bug, fix it

File header metadata

After porting, stamp the file's header with tracking properties:

re-scale fileinfo --given <path> --then "set original-src=<source>,authors=<names>,status=ported"

Query a file's properties without reading the full file:

re-scale fileinfo --given <path> --then "select *"

See /file-metadata for the full query/filter/batch-update API.

Formatting

Scalafmt config is .scalafmt.conf at project root. Run:

re-scale build fmt

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kubuszok/re-scale/guide-code-style/badge)](https://verified-skill.com/skills/kubuszok/re-scale/guide-code-style)

Something wrong with this skill or its page? Tell us.