a2ui-test-quality-check
a2ui-project/a2ui/.agents/skills/a2ui-test-quality-check/SKILL.md
Auditing test suites for assertion utility, boundary cases coverage, and verification strength.
What's in it
- A2UI Test Quality & Assertions Auditing Skill
- Instructions
---
name: a2ui-test-quality-check
description: Auditing test suites for assertion utility, boundary cases coverage, and verification strength.
---
# A2UI Test Quality & Assertions Auditing Skill
This skill guides you through the process of auditing codebase test suites to verify that tests are providing robust, meaningful assertions and verifying critical invariants, rather than simply running paths for code coverage.
---
## **Instructions**
1. **Locate Test Suites**:
- Find all test directories and test files in each platform's implementation folder (e.g. `tests/`, `test/`, `*Tests.swift`).
2. **Audit Assertion Quality**:
- For each test case, inspect the assertions used:
- Flag "weak assertions" that only verify non-null or truthy values without checking specific payload structure, field values, or types (e.g. `expect(result).not.toBeNull()` on a complex object).
- Flag "empty tests" that execute code blocks but lack any assertions or mocks verifications (e.g. executing to check for lack of exceptions, unless it is explicitly marked as a no-throw smoke test).
- Ensure that return models, state side effects, and events dispatched have corresponding value-matching assertions.
3. **Audit Behavioral and Boundary Coverage**:
- Review if tests exist for typical logical edge cases:
- Null, empty, or overflow values.
- Invalid JSON or parsing errors (e.g., throwing correct exceptions).
- Exception propagation and error boundaries.
- Timeout handling and cleanup side effects.
- Look for cases where tests might pass when they should fail.
- Cross-reference with the codebase's main files: if a file has complex parsing/validation code, ensure there are dedicated failing test cases asserting that errors are reported correctly.
4. **Audit Mocking Realism**:
- Ensure mocks and stubs verify their call parameters (e.g., verifying that a mock transport received the exact payload sent by the SDK, rather than just asserting it was called).
5. **Format the Report**:
- Build a Markdown report summarizing the findings:
- Table of audited test suites and files.
- **Weak Assertions**: List of test cases that rely on weak or missing assertions.
- **Missing Edge Case Tests**: Critical logic boundaries and exception paths lacking tests.
- **Mocking Mismatches**: Mock implementations that fail to verify call structures.
- Return this Markdown report as your final response.
More agent context in a2ui-project/a2ui
15 other files this repository gives its agents.
AGENTS.md
Skill
- a2ui-add-eval-datapoint.agents/skills/a2ui-add-eval-datapoint/SKILL.md
- a2ui-audit.agents/skills/a2ui-audit/SKILL.md
- a2ui-dart-versioning.agents/skills/a2ui-dart-versioning/SKILL.md
- a2ui-doc-sync-check.agents/skills/a2ui-doc-sync-check/SKILL.md
- a2ui-generate-pydantic-models.agents/skills/a2ui-generate-pydantic-models/SKILL.md
- a2ui-implement-new-sdks-for-client-language.agents/skills/a2ui-implement-new-sdks-for-client-language/SKILL.md
- a2ui-issue-triage.agents/skills/a2ui-issue-triage/SKILL.md
- a2ui-python-development.agents/skills/a2ui-python-development/SKILL.md
- a2ui-release-python.agents/skills/a2ui-release-python/SKILL.md
- a2ui-remediate-problem.agents/skills/a2ui-remediate-problem/SKILL.md
- a2ui-swift-development.agents/skills/a2ui-swift-development/SKILL.md
- inspect-ai.agents/skills/inspect-ai/SKILL.md
- natural-writing.agents/skills/natural-writing/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
- google/A2UI17k
Discussion
Evidence it works
Elsewhere, people who say they tested it. Read them for what they measured.
- Oct 16, 2026 · GitHub · gHashTag/trinity · MVP: benchmark generative-UI competitors and prototype T27F research workspace
Talked about elsewhere, linking to a2ui-project/a2ui
- A2UI in Jetpack Compose: How AI Agents Can Build Native Android UI
Web · anandgaur.substack.com · Sep 28, 2026
- ci: ignore material.dart deprecation per import
GitHub · flutter/genui · 2 reactions · 1 comments · Oct 15, 2026
- A2UI + MCP Apps: Combining the best of declarative and custom agentic UIs
- Google Developers Blog
Web · developers.googleblog.com · Jun 17, 2026
- ci: don't fail beta analysis on infos
GitHub · flutter/genui · 2 reactions · 2 comments · Oct 15, 2026
- I Let an AI Agent Build Its Own UI. Here’s What Actually Happened. | by Dinesh Karakambaka | Jun, 2026
Web · medium.com · Jun 11, 2026
- docs: update feedback and design.md links in READMEs
GitHub · flutter/genui · 1 reactions · Oct 6, 2026
- a2ui ignores v0.9.1 operations, spec template children, and event.userMessage
GitHub · assistant-ui/assistant-ui · 1 reactions · 3 comments · Sep 25, 2026
- fix(genui): give the catalog's controls a name
GitHub · flutter/genui · 1 reactions · 3 comments · Sep 24, 2026
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

