.agents/skills/dart-shorthand/SKILL.md
Use when writing or reviewing Dart 3.11+ code and you want to apply dot shorthand syntax safely for enum values, constructors, and static members.
npx skillsauth add auravibes-apps/auravibes dart-shorthandInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use Dart dot shorthand syntax when the surrounding context type is clear and the shorter form improves readability.
Official reference: https://dart.dev/language/dot-shorthands
MyEnum.value.new() or .origin()enum Status { idle, loading, success, failure }
Status status = .idle;
switch (status) {
case .idle:
case .loading:
case .success:
case .failure:
}
final ScrollController controller = .new();
final GlobalKey<FormState> formKey = .new();
int port = .parse('8080');
.new() for unnamed constructors only when the declared type is visible nearby.const expressions when the target constructor or enum value is const...== or !=.tools
Convert tasks from tasks.md into GitHub issues. Use after task breakdown to track work items in GitHub project management.
tools
Break down implementation plans into actionable task lists. Use after planning to create a structured task breakdown. Generates tasks.md with ordered, dependency-aware tasks.
development
Create or update feature specifications from natural language descriptions. Use when starting new features or refining requirements. Generates spec.md with user stories, functional requirements, and acceptance criteria following spec-driven development methodology.
testing
Generate technical implementation plans from feature specifications. Use after creating a spec to define architecture, tech stack, and implementation phases. Creates plan.md with detailed technical design.