
This is for when you need to actually squeeze performance out of Dart code or track down those annoying type errors that slip through to runtime. It pushes you toward sound typing patterns, explains why `dynamic` kills compiler optimizations, and covers the covariance rules that trip people up in method overrides. The null safety and error handling section is solid, especially the reminder to never catch `Error` subtypes since those are bugs you need to fix, not handle. If you're profiling hot paths or dealing with `TypeError` exceptions in production, the guidance on explicit casting and strict mode will save you time.
npx -y skills add dhruvanbhalara/skills --skill dart-optimization --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.