home/categories/ide-plugins/dart-lang-native-agents-skills-refactor-dart-dot-shorthands-skill-md
ide-pluginstools

refactor-dart-dot-shorthands

Refactor Dart code to use modern language features, specifically dot shorthands (member access shorthands) introduced in Dart 3.7. Use this when you want to make code more concise by removing redundant type names in enum or static member access when the context type is known.

dart-lang
maintainer
dart-lang
更新于 2/27/2026
星标
263
分支
114
quick start

Installation and usage

Refactor Dart code to use modern language features, specifically dot shorthands (member access shorthands) introduced in Dart 3.7. Use this when you want to make code more concise by removing redundant type names in enum or static member access when the context type is known.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use refactor-dart-dot-shorthands