Dart Audit Code — Security skill for Claude Code
Audit Dart/Flutter code for anti-patterns, null/late usage, magic map keys, names that should be enums, complexity, and pattern drift.
How to install Dart Audit Code
Installs to ~/.claude/skills/robertsolves-dart-agent-kit-dart-audit-code/SKILL.md
mkdir -p ~/.claude/skills/robertsolves-dart-agent-kit-dart-audit-code && curl -fsSL https://raw.githubusercontent.com/robertsolves/dart-agent-kit/HEAD/commands/dart-audit-code.md -o ~/.claude/skills/robertsolves-dart-agent-kit-dart-audit-code/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Dart Audit Code does
description: "Audit Dart/Flutter code for anti-patterns, null/late usage, magic map keys, names that should be enums, complexity, and pattern drift. Read-only: no edits. Run when asked to review, audit or check Dart code against the rulebook, or before a PR. Not for applying fixes — use /dart-improve-code; not for lint and format — use /dart-clean-packages." argument-hint: "[paths or 'all'] (default: changed files in git)" allowed-tools: Read, Grep, Glob, Bash
/dart-audit-code
Read-on
Alternatives in Security
- Security Ownership Map — Map people-to-file ownership, compute bus factor, and identify risks 14.6k ★
- Skill Coverage Audit — Trace codepaths in diffs, map against tests, auto-generate missing coverage — use before shipping PRs 2.8k ★
- Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Flutter Review
Review Flutter/Dart code for idiomatic patterns, widget best practices, state management, performance, accessi
Craft Audit
Scan the codebase for anti-patterns per CRAFT.md (read-only, no edits)
Audit MCP Mock Drift
Catch mock/live divergence in MCP eval golden tests (anti-pattern #2 from eval-mock-mode-discipline)
Ultra Test
Pre-delivery quality audit (Anti-Pattern + Coverage Gap + E2E + Performance + Security)
Review UX Audit
Full UX audit of a frontend codebase. Produces persona cards, journey maps, heuristic sweep, anti-pattern find
Draw
Run the anti-pattern selector standalone to verify the rotation rule and audit log.
Related Agents
Dart Reviewer
Expert Dart/Flutter review: null safety, async, widget/rebuild performance. Use for Dart/Flutter changes.
Dart Specialist
Owns Dart language usage: sound null safety, records, patterns and exhaustiveness, sealed classes, mixins, asy
Rek Topic Checker
REK worker for the product use. Reads one research folder (research/ /) and writes check.md (yaml keys fabrica