跳到主要内容

Lang Dart

Navigate, test, and analyze Dart via pub tooling.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/lang-dart
Version1.1.0
AuthorVibeOS
LicenseMIT
Platformslinux, macos, windows

Reference: full SKILL.md​

信息

The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.

Dart / Flutter Language Pack Skill

Drive Dart / Flutter work with the project index and standard CLI recipes. LSP hint: dartls (editor-side when applicable). Zero new core tools.

What this language is (beginner)​

Язык Flutter. Один код — приложения под iOS, Android, Web и десктоп.

Лучше всего для:

  • кроссплатформенные мобильные приложения
  • Flutter Web / desktop
  • UI с единым look&feel на нескольких ОС

When to Use​

Выбирай этот pack, если:

  • нужно приложение сразу на iOS и Android
  • есть pubspec.yaml / Flutter-проект
  • пользователь хочет один UI-кодобазу

Manifests (автодетект репозитория): pubspec.yaml

Обычно рядом: Часто бэкенд на TypeScript/Go/Python отдельно.

См. также skill choose-language-pack, если цель ещё не ясна.

When NOT to use​

  • максимально нативный iOS UX → Swift
  • максимально нативный Android UX → Kotlin
  • только сайт → TypeScript / Astro / Next

Prerequisites​

vibeos pack apply lang-dart --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
dart test # or flutter test
dart analyze # or flutter analyze

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-dart --apply
Doctorvibeos language doctor dart
Primary testdart test
Choose guideskill choose-language-pack

Procedure​

  1. Если язык ещё не выбран для нового проекта — сначала choose-language-pack.
  2. Work from the project root that matches pack manifests.
  3. Index query → read_file → edit → path-scoped tests when iterating.
  4. Prefer the package manager / toolchain already locked in the repo.
  5. Explain non-obvious toolchain choices in plain language for the user.

Pitfalls​

  • Prefer flutter CLI when the project is Flutter, dart when pure Dart.
  • SDK install is machine-local.
  • Do not invent core tools; stay on terminal + read_file + index CLI.

Verification​

vibeos language doctor dart
dart test || flutter test