← ClaudeAtlas

meloslisted

GM Melos workspace patterns — config under melos: key in pubspec.yaml, pub workspaces, scripts for modular and single-package projects
ghozimahdi/gm-aiagent-plugins · ★ 0 · AI & Automation · score 67
Install: claude install-skill ghozimahdi/gm-aiagent-plugins
Resolve `UFIL_ROOT` to the plugin root containing this skill. Claude Code may provide `CLAUDE_PLUGIN_ROOT`; Codex can resolve it from the installed skill path. ## Melos Patterns (GM Standard) ### Installation ```bash dart pub global activate melos ``` ### Modular Project — Full Workspace (Melos 7.x + Pub Workspaces) Melos config lives under the `melos:` key in root `pubspec.yaml`. Pub workspaces use the `workspace:` key (Dart SDK 3.6.0+). ```yaml # pubspec.yaml (root) name: my_app_workspace publish_to: 'none' environment: sdk: ^3.7.0 # auto-detected from fvm dart --version workspace: - app - packages/library/* - packages/domain/* - packages/data/* - packages/presentation/* dev_dependencies: melos: ^7.0.0 melos: sdkPath: .fvm/flutter_sdk # Use FVM Flutter SDK — no 'fvm' prefix needed in scripts scripts: build: run: dart run build_runner build --delete-conflicting-outputs exec: orderDependents: true concurrency: 1 packageFilters: dependsOn: build_runner analyze: run: flutter analyze --no-pub exec: concurrency: 1 test: run: flutter test --no-pub --coverage exec: concurrency: 1 packageFilters: dirExists: test format: run: dart format lib test --set-exit-if-changed exec: concurrency: 1 fix: run: dart fix --apply lib exec: concurrency: 1 # Layer-specific generation generate:domain: