executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
flutter-dependency-injectionConfigure service locator setup using injectable and get_it in Flutter. Use when wiring dependency injection with get_it or injectable.
Independent GitHub snapshot · Automated classification · Original documentation governs
core/injection/
├── injection.dart # Initialization & setup
└── modules/ # Third-party dependency modules (Dio, Storage)
@injectable annotations; avoid manual registry calls.@LazySingleton for repositories, services, and data sources (init on demand).@injectable (Factory) for BLoCs to ensure state resets per instance. Never use @Singleton() for BLoCs.as: IService).@module for external instances (Dio, Hive, SharedPreferences).injectable resolves them automatically.See implementation examples for module registration and test mock swap patterns.
For module configuration and initialization templates: See references/REFERENCE.md.
getIt Calls: Inject via constructor instead of calling GetIt in UI build()@Singleton BLoCs: Always use @injectable (Factory) to ensure state resetsIOrderRepository)@injectable annotations instead of manual getIt.register calls in production codelayer-based-clean-architecture | testing
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant: