Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ha-integration-knowledge

Skill by mikey0000

Guides building, testing and reviewing the Mammotion custom integration for Home Assistant. It sets out file locations, coding rules, quality scale guidance and common defects to avoid.

  • Score 71
  • 565 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ha-integration-knowledge

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mikey0000/Mammotion-HA /tmp/Mammotion-HA && mkdir -p ~/.claude/skills && cp -r /tmp/Mammotion-HA/.claude/skills/ha-integration-knowledge ~/.claude/skills/ha-integration-knowledge

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ha-integration-knowledge in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a reference guide for working on the Mammotion custom integration for Home Assistant. It points to the integration code in custom_components/mammotion, the tests in tests_ha, and the pymammotion library that holds protocol, transport, auth and device-state logic. It sets general rules, such as no user-configurable polling intervals and thin integration wrappers.

It also covers quality scale rules tracked in docs/quality_scale.md, testing requirements from docs/testing.md, and a list of defects the rules often catch in this repository, such as service schema defaults overwriting held values and errors that are swallowed instead of raised. It is aimed at developers and reviewers who build, test or review this integration.

Written from the project's SKILL.md and checked against it.

What it can do

  • File location referencePoints to the integration code, the tests folder and the pymammotion library.
  • General integration rulesCovers polling options, config entry names, schema guards and thin wrapper design.
  • Entity platform guidanceExplains symmetrical setup and teardown in async_added_to_hass and async_will_remove_from_hass.
  • Quality scale reviewDescribes how to check rules and keep docs/quality_scale.md current.
  • Testing requirementsAsks tests to avoid mocking internal integration details and follow docs/testing.md.
  • Repository defect listLists known defects such as stale state after an await and swallowed action errors.

What you need

  • pymammotion library (Luba-API repository)

Try asking

  • Review this Mammotion config flow against the integration rules
  • Check whether my new service schema overwrites held values
  • Which quality scale rules does this Mammotion change affect?

Good to know

  • This is a custom integration, so there is no quality_scale.yaml and hassfest does not grade it.

Security check

D
  • Has instructions to the assistant hidden in an HTML commentIn .claude/skills/ha-integration-knowledge/SKILL.md: <!-- Ported from home-assistant/core .claude/skills/ha-integration-knowledge/SKILL.md (Apache-2.0, (c) Home Assistant contributors); paths a

Checked automatically: .claude/skills/ha-integration-knowledge/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to ha-integration-knowledge

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

ha-integration-knowledge: common questions

Which integration does this skill cover?

It covers the Mammotion custom integration, with code in custom_components/mammotion and tests in tests_ha.

How should errors be handled according to this skill?

Transient errors should raise ConfigEntryNotReady, rejected credentials should raise ConfigEntryAuthFailed, and other errors should raise ConfigEntryError. A failed user action must raise rather than log and return.

Can users set polling intervals in the config flow?

No. The source says polling intervals are not user-configurable, so scan_interval, update_interval and similar options should not be added to config flows or entries.

How do I install ha-integration-knowledge?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ha-integration-knowledge free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is ha-integration-knowledge safe to use?

It scores 71 of 100. Grades: maintenance A, licence F, quality A. Security check: grade D (has instructions to the assistant hidden in an html comment). Review the code before you install. How grades work.

What are alternatives to ha-integration-knowledge?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

ha-integration-knowledge Install

Add to stack

Loading.