update-api-coverage
Skill by GitLiveApp
Recalculates the API Coverage badges in the README of the GitLiveApp Firebase Kotlin SDK. It compares each module's androidMain sources with the firebase-android-sdk api.txt files. It is for maintainers of that repository.
Install update-api-coverage
Built from the published package, never by AI.
git clone --depth 1 https://github.com/GitLiveApp/firebase-kotlin-sdk /tmp/firebase-kotlin-sdk && mkdir -p ~/.claude/skills && cp -r /tmp/firebase-kotlin-sdk/.claude/skills/update-api-coverage ~/.claude/skills/update-api-coverageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/GitLiveApp/firebase-kotlin-sdk /tmp/firebase-kotlin-sdk && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/firebase-kotlin-sdk/.claude/skills/update-api-coverage ~/.gemini/antigravity-cli/skills/update-api-coverageAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install update-api-coverage in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill updates the "API Coverage" badges in the README's Available libraries table. A badge's percentage is the number of public firebase-android-sdk API members that the module's androidMain sources invoke, divided by all public, non-deprecated members in that module's api.txt on the main branch. The skill runs the api_coverage.py script with --write, which downloads each api.txt, computes the percentages, prints a table, and rewrites the badges in README.md.
The skill is written for maintainers of the GitLiveApp repository. Badge colour is green above 60% and orange otherwise. Modules that mirror the Android SDK API are read from a Gradle-generated compatibility report instead of being scanned. Authentication and Analytics have no api.txt, so their coverage is computed from AAR class files using javap.
Written from the project's SKILL.md and checked against it.
What it can do
- Recalculate README badgesRuns api_coverage.py with --write to recompute and rewrite each module's API Coverage badge in README.md.
- Coverage table outputPrints a table of computed coverage percentages for the modules the script knows about.
- Verbose member breakdownThe -v flag shows which members of each class are counted as used or missing.
- Exclude Firestore PipelineThe --exclude-pipeline flag leaves out the Firestore Pipeline API from the count.
- Compatibility layer reportsReads the header of api/android-sdk-compat.txt for modules that mirror the Android SDK API.
- AAR-based coverageComputes Authentication and Analytics coverage from AAR classes read with javap, since they have no api.txt.
- Badge colour reviewExplains that badges are green above 60% and orange otherwise, and that git diff README.md should be reviewed.
What you need
- Python 3
- Network access to GitHub raw content for firebase-android-sdk api.txt files
- A JDK providing javap, for the Authentication and Analytics step
- Access to Google Maven, for the Authentication and Analytics AARs
Try asking
- Recalculate the API Coverage badges in the README and show the table
- Run the coverage script in verbose mode for the database module
- Update the badges without the Firestore Pipeline API counted
Good to know
- Needs GitHub raw content to be reachable, or api.txt files supplied manually with --api-dir.
- Authentication and Analytics need javap, Google Maven access, or AAR files supplied with --aar-dir.
- Compatibility layer modules need the Gradle androidSourceCompatDump report regenerated first when their API changes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/update-api-coverage/SKILL.md, .claude/skills/update-api-coverage/api_coverage.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
api_coverage.py16 KB
Alternatives to update-api-coverage
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
update-api-coverage: common questions
How is the API Coverage percentage calculated?
It divides the Android SDK members invoked from the module's androidMain sources by all public, non-deprecated members in that module's api.txt on the main branch.
What happens if GitHub is unreachable?
The skill says to save the api.txt files as <module>.txt in a directory and pass --api-dir DIR. If Google Maven is blocked, it says the two Authentication and Analytics badges should be reported as not recalculated rather than estimated.
Which badges does this skill cover?
It covers the modules in the README's Available libraries table that the script knows about, including Authentication and Analytics, which are measured from AARs instead of api.txt files.
How do I install update-api-coverage?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is update-api-coverage free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is update-api-coverage safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to update-api-coverage?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
