Dart Generate Test Mocks
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`.
Works in any agent
2 static scans, 0 counted findings.
Recorded for this package revision; Edge checks the exact bundle again when your agent loads it.
What this skill does for you
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.
Quoted from the skill description in the pinned sourceUse it with Edge
Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the dart-generate-test-mocks skill from dart-lang/skills.
Paste it into Claude, ChatGPT, Codex or Cursor.
Or read the skill source first.
Security evidence
| Scanner | Date | Result | Findings |
|---|---|---|---|
| Edge static checks | 2026-09-29 | Pass | 0 |
| Edge committed-secret checks | 2026-09-29 | Pass | 0 |
Static scans check the code, not how well the skill works.
Scanner scope, raw findings and mirrored provider records
Edge static checks (Edge-run): edge-static/1.0.0. Scope: Static patterns for remote execution, credentials with network sends, obfuscation, prompt overrides, hidden Unicode, binaries and persistence. Revision: 0d9f1c4a0ae29d6f5180bf6143d7997ec3bacf49. Raw findings: not supplied. Counted findings: .
Edge committed-secret checks (Edge-run): edge-secrets/1.0.0. Scope: Credentials committed in the skill's files (values never shown). Revision: 0d9f1c4a0ae29d6f5180bf6143d7997ec3bacf49. Raw findings: not supplied. Counted findings: .
Socket (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Revision: not supplied. Raw findings: not supplied. Counted findings: Not supplied.
Snyk (skills.sh mirror): Version unavailable. Scope: Not supplied by the mirrored record. Revision: not supplied. Raw findings: not supplied. Counted findings: Not supplied.
Source and licence
- Repository
- https://github.com/dart-lang/skills
- Pinned skill file
- View source at revision
- Revision
- 0d9f1c4a0ae29d6f5180bf6143d7997ec3bacf49
- Package hash
- sha256:0c841ab1fe30c06fc197f7f162006877746a26467dfcd79c75cabe04477b083b
- Licence
- BSD-3-Clause
Files in the scanned package
| File | Size |
|---|---|
| SKILL.md | 6.2 KB |
Try Dart Generate Test Mocks in your agent.
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`.