Agent Skills

by Dhruvan Bhalara
npx skills add dhruvanbhalara/skills
dart testing

DART-ADD-UNIT-TEST

Write unit tests with mocking and coverage analysis for pure Dart projects and CLI apps. Use when testing business logic, generating mocks with Mockito or mocktail, or measuring test coverage.

View Skill →
dart development

DART-BUILD-CLI-APP

Build Dart command-line applications with proper entrypoint structure, exit codes, and cross-platform scripting. Use when creating CLI utilities, automation scripts, or standalone Dart executables.

View Skill →
dartflutter testing

DART-COLLECT-COVERAGE

Collect test coverage, generate LCOV/HTML reports, and apply coverage ignore directives. Use when measuring test coverage, setting up coverage gates in CI, or generating coverage reports for Dart and Flutter projects.

View Skill →
dart analysis

DART-FIX-RUNTIME-ERRORS

Uses static analysis diagnostics and custom handling patterns for null safety, dynamic lists, contravariance overrides, and unrecoverable errors.

View Skill →
dart testing

DART-GENERATE-TEST-MOCKS

Define and generate mock objects for external dependencies using `package:mockito` and the `build_runner` code generation lifecycle for unit testing classes.

View Skill →
dart ai

DART-GENKIT

Guide for utilizing the Genkit Dart SDK to build full-stack, AI-powered agentic applications.

View Skill →
dart logic

DART-LOGIC-PATTERNS

Apply efficient algorithms, data structures, and Dart 3 pattern matching for clean business logic. Use when implementing search, sorting, debouncing, memoization, or exhaustive control flow in domain layers.

View Skill →
cross-platformmobile optimization

DART-MEMORY

Manage memory efficiently in Dart and Flutter apps to prevent leaks and reduce GC pressure. Use when disposing resources, handling large assets, optimizing image caching, or profiling allocation patterns.

View Skill →
dart testing

DART-MIGRATE-TO-CHECKS-PACKAGE

Migrate test suites from legacy `package:matcher` (using `expect()`) to the modern, fluent, and highly descriptive assertions of `package:checks`.

View Skill →
dart language

DART-MODERN-SYNTAX

Guide for utilizing Dart 3.0+ up to 3.12 syntax updates (private named parameters, extension types, records, pattern matching, wildcard variables, and primary constructors).

View Skill →
dart optimization

DART-OPTIMIZATION

Optimize Dart code for performance, type safety, and runtime error prevention. Use when profiling hot paths, enforcing sound typing, handling null safety, or debugging type mismatches and runtime failures.

View Skill →
dart analysis

DART-RUN-STATIC-ANALYSIS

Configure project linter rules, configure `analysis_options.yaml`, enforce strict static type checking, and manage fine-grained file or line-level diagnostic suppressions.

View Skill →
dart tooling

DART-TOOLING

Run Dart tooling workflows for static analysis, dependency conflict resolution, and test migration to package:checks. Use when fixing analyzer errors, resolving pub dependency conflicts, or modernizing test assertions.

View Skill →
dart logic

DART-USE-PATTERN-MATCHING

Leverage switch expressions and Dart 3+ pattern matching to build clean, exhaustive, and type-safe control flows for algebraic data types, JSON parsing, and variable destructuring.

View Skill →
flutter testing

FLUTTER-ADD-INTEGRATION-TEST

Configure and run integration tests using the integration_test package with Flutter Driver. Use when testing complete user flows, verifying navigation, or running end-to-end tests on devices or CI.

View Skill →
flutter ui

FLUTTER-ADD-WIDGET-PREVIEW

Add interactive widget previews using the @Preview annotation system. Use when creating new UI components, verifying designs in isolation, or testing visual states without running the full app.

View Skill →
flutter testing

FLUTTER-ADD-WIDGET-TEST

Write widget tests using WidgetTester with pump patterns, finder APIs, and key-based targeting. Use when testing UI components, user interactions, or verifying widget rendering and state changes.

View Skill →
flutter architecture

FLUTTER-APPLY-ARCHITECTURE-BEST-PRACTICES

Enforce Clean Architecture with BLoC pattern for Flutter applications. Use when scaffolding features, structuring data/domain/presentation layers, defining data models, or integrating native platform channels.

View Skill →
flutter architecture

FLUTTER-BLOC

Implement state management using the BLoC/Cubit pattern with injectable dependency injection. Use when creating new BLoCs, managing UI state transitions, or configuring navigation with GoRouter.

View Skill →
flutter ui

FLUTTER-BLOC-FORMS

Manage form state, validation, and input handling through dedicated FormBlocs. Use when building forms with real-time validation, multi-step flows, or complex input patterns like search debouncing.

View Skill →
flutter ui

FLUTTER-BUILD-RESPONSIVE-LAYOUT

Build adaptive layouts using LayoutBuilder, MediaQuery, or Expanded/Flexible widgets to ensure the UI looks elegant across all mobile, tablet, and desktop form factors.

View Skill →
flutter tooling

FLUTTER-CODE-GEN

Run Dart build_runner for code generation of Mappable classes and JSON serialization. Use after adding or modifying data model classes that require generated code.

View Skill →
flutter app-config

FLUTTER-CONFIG

Configure app flavors (dev, staging, prod) with environment-specific settings via dart-define-from-file. Use when setting up build variants, per-flavor Firebase projects, or platform-specific configuration.

View Skill →
flutter tooling

FLUTTER-DEBUGGING

Debug and profile Flutter applications using DevTools, structured logging, and memory analysis. Use when diagnosing layout issues, tracking performance bottlenecks, or setting up centralized error reporting with Crashlytics.

View Skill →
flutter tooling

FLUTTER-DEVTOOLS

Guide for utilizing Flutter DevTools, using visual debugging properties, and exposing custom widget states to the inspector.

View Skill →
flutter networking

FLUTTER-DIO

Implement HTTP networking with Dio including interceptors, retry logic, and response caching. Use when building API clients, configuring authentication headers, or handling network errors gracefully.

View Skill →
flutterandroidios backend

FLUTTER-FIREBASE

Integrate Firebase services including Authentication, Firestore, Cloud Messaging, Crashlytics, and Analytics. Use when adding backend capabilities, push notifications, crash reporting, or remote configuration to a Flutter app.

View Skill →
flutter debugging

FLUTTER-FIX-LAYOUT-ISSUES

Diagnose and fix Flutter layout constraint violations (RenderFlex overflow, unbounded height/width, ParentData misuse). Use when encountering layout exceptions, yellow-black overflow stripes, or red error screens.

View Skill →
flutterdart data

FLUTTER-IMPLEMENT-JSON-SERIALIZATION

Create model classes with fromJson/toJson using dart:convert and Dart 3 pattern matching. Use when manually mapping JSON to classes, parsing HTTP responses, or choosing between manual and code-generated serialization.

View Skill →
flutter data

FLUTTER-ISAR

Implement local data persistence with Isar database and offline-first architecture. Use when building cache-first data strategies, reactive queries, schema migrations, or secure local storage with flutter_secure_storage.

View Skill →
flutterandroidios platform

FLUTTER-NATIVE

Build type-safe native platform integrations using MethodChannels, EventChannels, and Pigeon. Use when communicating with Android/iOS native code, implementing federated plugins, or bridging platform-specific APIs.

View Skill →
fluttermobile security

FLUTTER-SECURITY

Enforce architect-level security standards including AES-256-GCM encryption, secure storage, biometric gates, and memory safety. Use when handling sensitive data, credentials, clipboard content, or API communication security.

View Skill →
flutter development

FLUTTER-SETUP-DECLARATIVE-ROUTING

Configure `MaterialApp.router` using a package like `go_router` for advanced URL-based navigation. Use when developing web applications or mobile apps that require specific deep linking and browser history support.

View Skill →
flutter i18n

FLUTTER-SETUP-LOCALIZATION

Configure internationalization and localization support using Flutter's built-in l10n system, App Resource Bundle (ARB) files, and ICU formatting syntax.

View Skill →
flutteriosmacOS platform

FLUTTER-SPM

Guide for integrating, configuring, and caching dependencies using Swift Package Manager (SPM) in Flutter iOS/macOS applications.

View Skill →
flutter testing

FLUTTER-TESTING

Define testing strategy, test pyramid, and pattern-based conventions (Golden Variants, State Matrix, Interaction Contracts). Use when establishing test architecture or choosing the right testing approach for a Flutter project.

View Skill →
flutter ui

FLUTTER-UI

Build performant, accessible UIs with strict design tokens and reusable widget patterns. Use when implementing layouts, responsive breakpoints, theming, widget extraction, or fixing common rendering issues like overflow errors.

View Skill →
flutter networking

FLUTTER-USE-HTTP-PACKAGE

Perform REST API networking operations (GET, POST, PUT, DELETE) using the lightweight and robust standard `http` package, including platform configurations and background parsing models.

View Skill →
flutterweb web

FLUTTER-WASM-WEB

Best practices for compiling, optimizing, and deploying Flutter Web applications to WebAssembly (Wasm-GC) using modern JS interop.

View Skill →
cross-platform git

GIT-COMMIT

Create atomic, well-structured Git commits following Conventional Commits. Use when committing changes to ensure consistent commit messages with proper scoping and detailed bodies.

View Skill →
cross-platform automation

GITHUB-ACTIONS

Orchestrate CI/CD pipelines with GitHub Actions for Flutter apps. Use when setting up quality gates, automated builds, semantic versioning, code signing, or deployment workflows.

View Skill →
cross-platform git

GITHUB-PR

Automate Pull Request creation with proper titles, descriptions, labels, and quality checks using the GitHub CLI. Use when preparing code for review and merge.

View Skill →