name: Dart Tooling & CI description: Standards for analysis, linting, formatting, and automation. metadata: labels: [tooling, linting, automation] triggers: files: ['analysis_options.yaml', 'pubspec.yaml', 'build.yaml'] keywords: [analysis_options, lints, format, build_runner, cider, husky]
Tooling & CI
Priority: P1 (HIGH)
Standards for code quality, formatting, and generation.
Implementation Guidelines
-
Linter: Use
analysis_options.yaml. Enforcealways_use_package_importsandrequire_trailing_commas. -
Formatting: Use
dart format . --line-length 80. Run on every commit. -
DCM: Use
dart_code_metricsfor complexity checks (Max cyclomatic complexity: 15). -
Build Runner: Always use
--delete-conflicting-outputswith code generation. -
CI Pipeline: All PRs MUST pass
analyze,format, andteststeps. -
Imports: Group imports:
dart:,package:, then relative. -
Documentation: Use
///for public APIs. Link symbols using[Class].
Code
# analysis_options.yaml
analyzer:
errors:
todo: ignore
missing_required_param: error
linter:
rules:
- prefer_single_quotes
- unawaited_futures
Related Topics
language | testing
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
143
GitHub Forks
48
Created
Jan 2026
Last Updated
4 months ago
tools
tools automation tools
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!