Dart tooling

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

Dart tooling is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Dart static analysis, linting, formatting, and code-generation standards. Use only for analysis_options.yaml, build_runner, dart format, DCM, lefthook, or analyze/format CI failures; defer Dart language, null-safety, Flutter tests, and generic CI questions.

How to use this skill

Skill file

Tooling & CI

**Priority: P1 (HIGH)**

Implementation Guidelines

Code

# analysis_options.yaml
analyzer:
  errors:
    todo: ignore
    # Omitted required named argument (diagnostic code in current analyzers)
    missing_required_argument: error
linter:
  rules:
    - prefer_single_quotes
    - unawaited_futures

Older analyzers and third-party docs may show missing_required_param; use the diagnostic code your installed analyzer reports rather than assuming either key is universal. The behavior to enforce is: omitting a required named argument fails analysis, supplying it clears that diagnostic.

Anti-Patterns

References

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.