ha-android-logging-errors
Skill by home-assistant
Guides Home Assistant Android developers on logging with Timber, exception handling, and FailFast fallbacks. It also covers keeping user data out of release logs and finding silent failures.
Install ha-android-logging-errors
Built from the published package, never by AI.
git clone --depth 1 https://github.com/home-assistant/android /tmp/android && mkdir -p ~/.claude/skills && cp -r /tmp/android/.agents/skills/ha-android-logging-errors ~/.claude/skills/ha-android-logging-errorsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install ha-android-logging-errors in Claude Code
git clone --depth 1 https://github.com/home-assistant/android /tmp/android && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/android/.agents/skills/ha-android-logging-errors ~/.gemini/antigravity-cli/skills/ha-android-logging-errorsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install ha-android-logging-errors in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant the Home Assistant Android project's rules for logging and error handling. All logging goes through Timber, log messages have no trailing periods, and error logs include the identifiers needed to debug. User data is wrapped in sensitive() so it stays hidden in release logs, while entity IDs are treated as safe to log.
It also covers exception handling. Exceptions should never be silently ignored, the most precise exception type should be caught, and CancellationException must not be swallowed. The FailFast API from :common crashes debug builds and falls back gracefully in production. The skill is for developers writing catch blocks or fallbacks, and for reviewers checking code for silent failures and leaked user data in the Home Assistant Android app.
Written from the project's SKILL.md and checked against it.
What it can do
- Timber logging rulesSets conventions for log messages, error log shape, and automatic enabling in debug builds.
- Sensitive data handlingWraps user and server data with sensitive() so it stays hidden in release logs.
- Exception handlingRequires precise catch types and logging of every caught exception instead of silent ignores.
- Cancellation handlingRethrows CancellationException before any broad catch inside suspend functions.
- FailFast fallbacksUses the FailFast API to crash debug builds and fall back gracefully in production.
- Compile-time checksRecommends exhaustive when over sealed types and custom lint rules in the :lint module.
- Strict Mode exemptionsExplains how to ignore Strict Mode violations with IgnoreViolationRules in the Application class.
- Debugging aidsLists LogCat tag filtering, OkHttp logging interceptors, and Room App Inspection.
What you need
- Timber logging library
- FailFast API from the :common module
Try asking
- Review this catch block for silent failures and leaked user data
- Add Timber error logging with identifiers to this repository call
- Wrap this risky operation in a FailFast fallback
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/ha-android-logging-errors/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md3 KB
Alternatives to ha-android-logging-errors
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
ha-android-logging-errors: common questions
How does the skill keep user data out of release logs?
User data is wrapped with sensitive() instead of manual BuildConfig.DEBUG checks. Entity IDs are not treated as sensitive, while URLs and server or user identifiers are.
Does the skill cover coroutine cancellation?
Yes. It says never to catch CancellationException, and to rethrow it first when a broad catch is unavoidable in a suspend function.
What is FailFast?
FailFast is an API from the :common module. It crashes debug builds so issues surface early, and falls back gracefully in production.
How do I install ha-android-logging-errors?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ha-android-logging-errors free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is ha-android-logging-errors safe to use?
It scores 80 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 ha-android-logging-errors?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
