Designing Tests
CloudAI-X/claude-workflow-v2
Designs and implements testing strategies for any codebase. An agent skill from CloudAI-X/claude-workflow-v2.
Workflows, conventions, and commands for writing and running async Home Assistant unit and integration tests using pytest, tox, pytest-homeassistant-custom-component, and coverage tools.
$ npx skills add FutureTense/keymaster --skill ha-integration-testing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install FutureTense/keymaster ha-integration-testing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/ha-integration-testing .claude/skills/ha-integration-testing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ha-integration-testing" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/ha-integration-testing into .claude/skills/ha-integration-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ha-integration-testing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/FutureTense/keymaster/tree/main/.agents/skills/ha-integration-testingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add FutureTense/keymaster --skill ha-integration-testing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install FutureTense/keymaster ha-integration-testing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/ha-integration-testing .agents/skills/ha-integration-testing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ha-integration-testing" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/ha-integration-testing into .agents/skills/ha-integration-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ha-integration-testing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FutureTense/keymaster --skill ha-integration-testing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install FutureTense/keymaster ha-integration-testing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/ha-integration-testing .cursor/skills/ha-integration-testing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ha-integration-testing" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/ha-integration-testing into .cursor/skills/ha-integration-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ha-integration-testing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/FutureTense/keymaster.git --path .agents/skills/ha-integration-testing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add FutureTense/keymaster --skill ha-integration-testing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install FutureTense/keymaster ha-integration-testing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/ha-integration-testing .gemini/skills/ha-integration-testing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ha-integration-testing" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/ha-integration-testing into .gemini/skills/ha-integration-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ha-integration-testing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install FutureTense/keymaster ha-integration-testingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add FutureTense/keymaster --skill ha-integration-testing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/ha-integration-testing .github/skills/ha-integration-testing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ha-integration-testing" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/ha-integration-testing into .github/skills/ha-integration-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ha-integration-testing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FutureTense/keymaster --skill ha-integration-testing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install FutureTense/keymaster ha-integration-testing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FutureTense/keymaster.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/ha-integration-testing .opencode/skills/ha-integration-testing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ha-integration-testing" agent skill from https://github.com/FutureTense/keymaster/tree/main/.agents/skills/ha-integration-testing into .opencode/skills/ha-integration-testing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ha-integration-testing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ha-integration-testingWorkflows, conventions, and commands for writing and running async Home Assistant unit and integration tests using pytest, tox, pytest-homeassistant-custom-component, and coverage tools.
Ha Integration Testing is an agent skill from FutureTense/keymaster. Workflows, conventions, and commands for writing and running async Home Assistant unit and integration tests using pytest, tox, pytest-homeassistant-custom-component, and coverage tools.
Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Integration testing and Unit testing. It works with Home Assistant and pytest. The repository describes itself as: Home Assistant integration for managing Z-Wave enabled locks. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b6a1ea8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pytestFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ha Integration Testing loads about 522 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 131 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from FutureTense/keymaster at commit b6a1ea8, republished under its MIT licence (© FutureTense). 131 words, ~522 tokens.
.claude/skills/ha-integration-testing/SKILL.md (or your agent's skills folder).This skill provides patterns and commands for executing and writing tests in
tests/.
Pytest options are configured in pyproject.toml. By default, tests filter out
slow and perf markers (addopts = "-m 'not slow and not perf'").
# Run all standard tests via pytest
pytest
# Run tests with verbose output
pytest -v
# Run targeted test file (use --cov-fail-under=0 so global 80% threshold
# does not fail targeted run)
pytest tests/test_coordinator.py --cov-fail-under=0
# Run a specific test function
pytest tests/test_coordinator.py::test_coordinator_update --cov-fail-under=0
# Run provider-specific tests
pytest tests/providers/ -v --cov-fail-under=0
# Run all tests including slow and perf tests
pytest -m ""
# Run test suite via tox (as run in CI)
tox -e py314Target coverage threshold is 80% (configured in pyproject.toml under
[tool.coverage.report] fail_under = 80).
Review uncovered lines with:
pytest --cov=custom_components/keymaster --cov-report=term-missingAsync Tests:
pytest.ini_options sets asyncio_mode = "auto". Use standard
async def test_... functions.Home Assistant Fixtures:
hass fixture from pytest-homeassistant-custom-component.pytest_homeassistant_custom_component.common.MockConfigEntry.Coordinator & Mock Providers:
BaseLockProvider) to simulate lock
state transitions, slot sync, and network disconnections.async_fire_time_changed when testing autolock timers
or scheduled pin access windows.© FutureTense, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/ha-integration-testing of FutureTense/keymaster.
Open the folder on GitHubat commit b6a1ea8
Ha Integration Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ha Integration Testing this skillFutureTense/keymaster | 349 | — | ~522 | Automated safety check: Pass | MIT | |
| Designing TestsCloudAI-X/claude-workflow-v2 | 1.4k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| JS-in-HTML Testingliaohch3/claude-tap | 3.3k | — | ~924 | Automated safety check: Pass | MIT | |
| Robotics Testingarpitg1304/robotics-agent-skills | 368 | — | ~4.7k | Automated safety check: Pass | Apache-2.0 | |
| NIC Testing Patternsnginx/kubernetes-ingress | 5.1k | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Write Test389ds/389-ds-base | 294 | — | ~1.8k | Automated safety check: Pass | Custom licence |
CloudAI-X/claude-workflow-v2
Designs and implements testing strategies for any codebase. An agent skill from CloudAI-X/claude-workflow-v2.
liaohch3/claude-tap
Tests JavaScript embedded in an HTML file in two layers: pytest checks of the logic ported to Python, and Playwright runs in a real browser for the DOM.
arpitg1304/robotics-agent-skills
Testing strategies, patterns, and tools for robotics software.
nginx/kubernetes-ingress
Testing conventions for the NGINX Ingress Controller repo: Go table-driven tests, mandatory snapshot regeneration, Helm tests and Python pytest integration tests.
389ds/389-ds-base
Add or extend a pytest integration test for 389 Directory Server under dirsrvtests/.
cognitivegears/ha-escpos-thermal-printer
A skill your agent uses when bumping any dependency, upgrading the HA test harness (pytest-homeassistant-custom-component) or HA floor, or handling Dependabot PRs/security alerts — per-package pin…
FutureTense/keymaster
Standards and commands for linting, code formatting, typing validation (Ruff, MyPy, Codespell, ESLint, Pre-commit/Prek, Tox), and adherence to Home Assistant Python 3.14 standards in Keymaster.
FutureTense/keymaster
Guide for developing, testing, and maintaining lock platform providers (e.g., zwavejs, zigbee2mqtt, zha, schlage, akuvox) implementing BaseLockProvider in Keymaster.
FutureTense/keymaster
Procedure and guidelines for verifying and maintaining 100% patch test coverage on all modified and added lines across Keymaster PRs and branches.
FutureTense/keymaster
Procedure for preparing and submitting pull requests in keymaster, enforcing the required PR template (.github/PULLREQUESTTEMPLATE.md), checklist validation, and quality gates.
FutureTense/keymaster
Workflows for developing, building, bundling, and testing the TypeScript / Lit Lovelace dashboard strategy in lovelacestrategy/.
FutureTense/keymaster
Architectural patterns and lifecycle instructions for KeymasterCoordinator, KeymasterLockCoordinator, fan-out notification architecture, child entity platforms, and storage migrations.
Works with
Categories
Workflows, conventions, and commands for writing and running async Home Assistant unit and integration tests using pytest, tox, pytest-homeassistant-custom-component, and coverage tools. Ha Integration Testing is an agent skill from FutureTense/keymaster. Workflows, conventions, and commands for writing and running async Home Assistant unit and integration tests using pytest, tox, pytest-homeassistant-custom-component, and coverage tools.
Ha Integration Testing fits situations like: tasks that involve Integration testing; tasks that involve Unit testing.
Run `npx skills add FutureTense/keymaster --skill ha-integration-testing -a claude-code`. Or copy the skill folder (.agents/skills/ha-integration-testing in FutureTense/keymaster) into .claude/skills/ha-integration-testing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add FutureTense/keymaster --skill ha-integration-testing -a codex`. Or copy the skill folder (.agents/skills/ha-integration-testing in FutureTense/keymaster) into .agents/skills/ha-integration-testing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FutureTense/keymaster --skill ha-integration-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ha-integration-testing, .gemini/skills/ha-integration-testing, .github/skills/ha-integration-testing and .opencode/skills/ha-integration-testing in your project.
Going by SKILL.md and its folder, Ha Integration Testing needs the command-line tools its instructions call (pytest).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ha Integration Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 522 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ha Integration Testing: Designing Tests (CloudAI-X/claude-workflow-v2, 1.4k stars), JS-in-HTML Testing (liaohch3/claude-tap, 3.3k stars), Robotics Testing (arpitg1304/robotics-agent-skills, 368 stars) and NIC Testing Patterns (nginx/kubernetes-ingress, 5.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
FutureTense (a GitHub user) maintains it in FutureTense/keymaster, which has 349 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 1, 2026.
Source: FutureTense/keymaster on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.