a2ui-doc-sync-check
a2ui-project/a2ui/.agents/skills/a2ui-doc-sync-check/SKILL.md
Auditing codebase implementations for synchronization drift with the user documentation, readmes, and code comments.
What's in it
- A2UI Code and Documentation Synchronization Check Skill
- Instructions
---
name: a2ui-doc-sync-check
description: Auditing codebase implementations for synchronization drift with the user documentation, readmes, and code comments.
---
# A2UI Code and Documentation Synchronization Check Skill
This skill guides the process of auditing concrete codebase implementations to verify that they are synchronized with their respective documentation files, codebase READMEs, and inline code comments/docstrings.
---
## **Instructions**
1. **Locate Documentation and Readmes**:
- Find all user guides, tutorials, and specifications under `docs/` and `specification/`.
- Find the `README.md` files in each codebase directory.
2. **Audit Readme Commands and Configs**:
- For each codebase directory, parse the `README.md` to extract setup commands, dependencies, build/test commands, and directory layouts.
- Cross-reference these details with the codebase's project files (e.g. `package.json`, `pyproject.toml`, `pubspec.yaml`, `Package.swift`).
- If any command listed in the readme is invalid, deprecated, or has wrong arguments, list it as a discrepancy.
3. **Audit Code-vs-Docs Public API and Settings**:
- Make sure the glossary is respected. Verify that terms used in code, documentation and blueprints are consistent with [the glossary](../../../docs/public/concepts/glossary.md). If you find deviations, suggest fixes. If you see an important term is used in documentation and/or API, but is missing from the glossary, suggest an update for the glossary.
- Inspect the codebase's public API entrypoints (classes, interfaces, types, methods).
- Compare them against any descriptions, structural maps, or code snippets in the `docs/` folder.
- Look for renamed classes, changed signatures, or removed options that are still described in the docs.
- If the codebase exposes new settings or flags that are undocumented in `docs/` or the spec guides, log them as missing documentation.
4. **Audit Inline Comments and Docstrings**:
- Audit inline comments and docstrings (e.g. JSDoc in TS, docstrings in Python, triple-slash comments in Dart/Swift) for public APIs.
- Flag any mismatch where code parameter names, types, return behaviors, or exceptions thrown deviate from what the docstring claims.
5. **Links and Duplicates**:
- When an artifact (code, document, issue, PR, comment and so on) is referenced, make sure it has a link.
- When a glossary term is used - link the first occurrence of the term to the glossary entry if it exists.
- Make sure there is no duplications of content. If you find some, delete the duplicate and leave a reference.
6. **Conciseness and Clarity**:
- Verify that documentation and code comments follow the [natural-writing](../natural-writing/SKILL.md) skill, and flag text that breaks its rules.
7. **Format the Report**:
- Build a Markdown report summarizing the findings:
- Table of audited directories.
- **Documentation Drift**: Mismatches between documentation guides (`docs/`) and codebase implementations.
- **Readme Errors**: Invalid setup, compile, or test commands found in `README.md` files.
- **Docstring Mismatches**: Outdated parameter names or behaviors described in inline comments.
- 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-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
- a2ui-test-quality-check.agents/skills/a2ui-test-quality-check/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.

