Dart best practices

From HoangNguyen0403/agent-skills-standard · View interactive version

Dart best practices is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Dart code quality conventions: naming, const/final/var hierarchy, single quotes, trailing commas, collection idioms, tear-offs, and import organization. Use only for Dart style-focused changes or reviews; never activate for configuration-only lint setup, unrelated feature work, or widget tests.

How to use this skill

Skill file

Dart Best Practices

**Priority: P1 (HIGH)**

import 'models/user.dart'; // Good
import 'package:app/models/user.dart'; // Avoid local absolute

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.