
from get_it1,461
Practical, opinionated guidance for using get_it (Dart/Flutter) — registration patterns, scopes, async init, retrieval, testing, and production best practices.
Provides an expert reference for using get_it as a service locator in Flutter/Dart apps. The skill explains registration types (singleton, lazy, factory, async), scope mechanics (push/pop, shadowing), recommended async initialization patterns (init() + registerSingletonAsync), retrieval APIs, testing patterns that use scoped mocking, and production anti-patterns. It includes code examples for common tasks and patterns developers will run into when wiring DI in real apps.
Use this skill while architecting or refactoring dependency registration in a Flutter app, when implementing async service initialization, when adding per-user scopes (session management), or when writing tests that need to shadow real services. It's especially helpful during app startup, testing setup/teardown, and debugging service lifecycle issues.
this.Inferred: developer-focused agents that can provide code examples and refactors (Copilot/Codex-style assistants, Claude Code, GPT-based coding assistants).
Knowledge-only skill providing expert guidance on the get_it service locator for Dart/Flutter. No scripts to run. SKILL.md is comprehensive, covering registration patterns, async initialization, scopes with shadowing, ready state, reference counting, testing with scope-based mocking, and production patterns. Well-organized with code examples and an anti-patterns section. Pure documentation with no security concerns.
Clean knowledge skill. No executable code, no security risks. Covers get_it comprehensively including advanced topics like scopes, async init, and production patterns. Could benefit from a references/ directory linking to official docs and watch_it integration details.