add-missing-unit-test SKILL.md skillA

add-missing-unit-test from flutter/flutter-intellij is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add flutter/flutter-intellij/add-missing-unit-test@git:20260710.61b665d

Pins git:20260710.61b665d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
flutter/flutter-intellij
Path
.agents/skills/add-missing-unit-test/SKILL.md
Versions recorded
1
Latest version
git:20260710.61b665d, committed Jul 10, 2026
Size
2,364 bytes
Repository stars
2,018
License
BSD-3-Clause

Add a new unit test for a class that currently lacks one or add a new test case to an existing test file, verifying improvement with Kover.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Skill: Add Missing Unit Test

You are tasked with adding a new unit test for a class that currently lacks one, or adding a new test case to an existing test file, to improve code coverage and reliability.

## Objective
Add a new unit test for a class that currently lacks one, or add a new test case to an existing test file, to improve code coverage and reliability.

## Workflow Instructions

### 1. Identify Target
- Choose a class in `src/` that has complex logic but logic coverage is missing or incomplete.

### 2. Establish Baseline
- Run `./gradlew testClasses` to compile all sources (production and test) and ensure the project is in a valid state.
- Run `./gradlew verifyPlugin` to ensure no plugin verification issues exist.
- Run `./gradlew test` (or specific test if it exists) to establish current pass/fail status.
- Run tests with Kover (`./gradlew koverHtmlReport` or `./gradlew koverXmlReport`) to determine current coverage percentage for target class.

### 3. Implement Test
- Create a new test class (`[ClassName]Test`) in `testSrc/` if it doesn't exist.
- Add test cases to cover specific methods, edge cases, and branches.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add flutter/flutter-intellij/add-missing-unit-test@sha256:fa5cfcba9629835e

The line at the top of this page pins the label git:20260710.61b665d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ztosdh7spm3sxld5.svg)](https://markdownregistry.com/a/art_ztosdh7spm3sxld5)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 10, 2026.

versioncommittedcommitsizeaudit
git:20260710.61b665d latest2026-07-10 61b665d 2,364 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2364 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

flutter/flutter-intellij · 2,018 stars · license BSD-3-Clause · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ztosdh7spm3sxld5
GET https://markdownregistry.com/api/v1/resolve?ref=flutter/flutter-intellij/add-missing-unit-test
GET https://markdownregistry.com/api/v1/blob/fa5cfcba9629835efa74bfccbe3f3187bd3232ec273d96f7c45a92d9e88d87df

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from flutter/flutter-intellij

AGENTS.md@.agents AGENTS.md file
flutter/flutter-intellij · .agents/AGENTS.md
git:20260805.8368d52 · audit A · 2,018 stars
audit-accessibility SKILL.md skill
flutter/flutter-intellij · .agents/skills/audit-accessibility/SKILL.md · Ensure the plugin's custom UI components are accessible to users with screen readers and other assistive technologies.
git:20260710.61b665d · audit A · 2,018 stars
audit-dependencies SKILL.md skill
flutter/flutter-intellij · .agents/skills/audit-dependencies/SKILL.md · Optimize plugin size and security by removing unused dependencies and updating outdated libraries.
git:20260710.61b665d · audit A · 2,018 stars
audit-ui-thread-safety SKILL.md skill
flutter/flutter-intellij · .agents/skills/audit-ui-thread-safety/SKILL.md · Prevent UI freezes and ensure a responsive user experience by validating threading rules and migrating blocking calls…
git:20260710.61b665d · audit A · 2,018 stars
cleanup-code-inspections SKILL.md skill
flutter/flutter-intellij · .agents/skills/cleanup-code-inspections/SKILL.md · Reduce technical debt and improve code quality by systematically resolving static analysis warnings.
git:20260710.61b665d · audit A · 2,018 stars
cleanup-unused-assets SKILL.md skill
flutter/flutter-intellij · .agents/skills/cleanup-unused-assets/SKILL.md · Reduce plugin size by scanning resources/icons and removing unreferenced assets.
git:20260710.61b665d · audit A · 2,018 stars
code-review SKILL.md skill
flutter/flutter-intellij · .agents/skills/code-review/SKILL.md · Perform a pedantic, multi-perspective code review on the current diff or git changes against the styleguide and…
git:20260909.4b5ff1e · audit A · 2,018 stars
load-repo-context SKILL.md skill
flutter/flutter-intellij · .agents/skills/load-repo-context/SKILL.md · Primes understanding of repository architecture by navigating hierarchical ABOUT.md manifests.
git:20260921.79f66e0 · audit A · 2,018 stars
migrate-intellij-util SKILL.md skill
flutter/flutter-intellij · .agents/skills/migrate-intellij-util/SKILL.md · Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized…
git:20260710.61b665d · audit A · 2,018 stars
release-plugin SKILL.md skill
flutter/flutter-intellij · .agents/skills/release-plugin/SKILL.md · Prepare and execute a new release for the flutter-intellij plugin, including updating dependencies, compatibility…
git:20260803.38d5f00 · audit A · 2,018 stars
remove-platform-version SKILL.md skill
flutter/flutter-intellij · .agents/skills/remove-platform-version/SKILL.md · Remove support for an older IntelliJ Platform / Android Studio version from the project and clean up obsolete code…
git:20260709.b089a2a · audit A · 2,018 stars
resolve-verification-issues SKILL.md skill
flutter/flutter-intellij · .agents/skills/resolve-verification-issues/SKILL.md · Eliminate plugin verification warnings and errors (Internal API usage, Override-only API usage, etc.) identified by…
git:20260710.61b665d · audit A · 2,018 stars

Every file in flutter/flutter-intellij

Browse by kind, by grade A, or by owner.