/vexana:initfrom vexana
Sets up the vexana Dio-based networking layer in a Flutter project: adds dependency, generates NetworkManager, optional error model, and test fixture helper.
Ships in vexana. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Targets vexana ^6.0.0. Read ../add/references/vexana-api.md and ../add/references/templates.md (sections "Network setup" and "Fixture reader") before writing code.
Confirm pubspec.yaml exists and depends on the flutter SDK. If not, stop: this skill is for Flutter apps.
Read the vexana version from pubspec.lock (or pubspec.yaml). Below 6.0.0 → stop and suggest /vexana:refactor. Already set up (AppNetworkManager or another NetworkManager( construction exists in lib/) → report where and stop without changing any file.
Pick the network directory from the existing layout, first match wins:
lib/product/service/ or lib/product/network/ → lib/product/network/lib/core/ → lib/core/network/lib/src/ → lib/src/core/network/lib/core/network/Record the features root too: the first of lib/features/, lib/feature/, lib/src/features/ that exists (even if empty), else lib/features/. Report both so /vexana:add uses the same ones ({{networkPath}} and {{featurePath}} in templates.md).
Note whether json_serializable, freezed, equatable or get_it are dependencies. Do not add any of them.
defaultValue; the app can override it with --dart-define=BASE_URL=...).LocalFile or LocalPreferences.api_error_model.dart in the network directory with the "Model" template (class ApiErrorModel) and use ApiErrorModel as {{E}}; otherwise {{E}} is EmptyModel.flutter pub add vexana:^6.0.0
flutter pub add dev:mocktail
lib/{{networkPath}}/app_network_manager.dart from "Network setup". Keep the errorModel: line only with an error model, the fileManager: line only with a cache, and delete the template's two // instruction comments. Keep the /// doc comment.lib/{{networkPath}}/api_error_model.dart only with an error JSON.test/helpers/fixture_reader.dart from "Fixture reader"; create test/fixtures/.Never overwrite an existing file: if a target exists, leave it and say so.
Run dart analyze on the created files. Fix and retry at most twice; then report remaining issues verbatim.
Report:
flutter run --dart-define=BASE_URL=....What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub vb10/vexana --plugin vexana4 skills in this plugin
/addGenerate a vexana INetworkModel (with nested classes), a sendRequest service method and a round-trip model test from a JSON sample, a JSON file or an existing model, for a Flutter project using vexana 6.x. Use when the user says "vexana add", "bu JSON'dan model yap", "model oluştur", "servise endpoint ekle", "create a model from this JSON", or pastes a JSON response and wants it in the app./multiple-addGenerate vexana models, services, fake services, mocktail service tests and model tests for several JSON samples at once (a folder, several files or a pasted list), deduplicating shared nested types. Use when the user says "vexana multiple add", "bu JSON'ların hepsini ekle", "toplu model/servis üret", "generate services and tests for these endpoints", or gives more than one JSON response to wire up./refactorMigrate a Flutter project that already uses an older vexana (4.x or 5.x) to vexana 6.x — bumps the dependency, rewrites removed imports and immutable-model mutations, and flags call sites whose behaviour changed (removeAll, sendPrimitive, downloadFileSimple, cache keys). Use when the user says "vexana refactor", "vexana'yı güncelle", "6.x'e geçir", "migrate vexana", "upgrade vexana", or analyze errors appear after bumping vexana.Other plugins' skills for the same job