Ha Frontend Testing
home-assistant/frontend
Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.
Run kube-coder's full CI suite locally before pushing — helm lint + unit tests, server.py tests, dashboard + controller SPA builds + vitest, and shell syntax checks.
$ npx skills add imran31415/kube-coder --skill kc-preflight -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install imran31415/kube-coder kc-preflight --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/imran31415/kube-coder.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/kc-preflight .claude/skills/kc-preflight && 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 "kc-preflight" agent skill from https://github.com/imran31415/kube-coder/tree/main/.claude/skills/kc-preflight into .claude/skills/kc-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kc-preflight", 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/imran31415/kube-coder/tree/main/.claude/skills/kc-preflightType 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 imran31415/kube-coder --skill kc-preflight -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install imran31415/kube-coder kc-preflight --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/imran31415/kube-coder.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/kc-preflight .agents/skills/kc-preflight && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "kc-preflight" agent skill from https://github.com/imran31415/kube-coder/tree/main/.claude/skills/kc-preflight into .agents/skills/kc-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kc-preflight", 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 imran31415/kube-coder --skill kc-preflight -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install imran31415/kube-coder kc-preflight --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/imran31415/kube-coder.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/kc-preflight .cursor/skills/kc-preflight && 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 "kc-preflight" agent skill from https://github.com/imran31415/kube-coder/tree/main/.claude/skills/kc-preflight into .cursor/skills/kc-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kc-preflight", 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/imran31415/kube-coder.git --path .claude/skills/kc-preflight--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 imran31415/kube-coder --skill kc-preflight -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install imran31415/kube-coder kc-preflight --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/imran31415/kube-coder.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/kc-preflight .gemini/skills/kc-preflight && 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 "kc-preflight" agent skill from https://github.com/imran31415/kube-coder/tree/main/.claude/skills/kc-preflight into .gemini/skills/kc-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kc-preflight", 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 imran31415/kube-coder kc-preflightInstalls 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 imran31415/kube-coder --skill kc-preflight -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/imran31415/kube-coder.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/kc-preflight .github/skills/kc-preflight && 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 "kc-preflight" agent skill from https://github.com/imran31415/kube-coder/tree/main/.claude/skills/kc-preflight into .github/skills/kc-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kc-preflight", 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 imran31415/kube-coder --skill kc-preflight -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install imran31415/kube-coder kc-preflight --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/imran31415/kube-coder.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/kc-preflight .opencode/skills/kc-preflight && 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 "kc-preflight" agent skill from https://github.com/imran31415/kube-coder/tree/main/.claude/skills/kc-preflight into .opencode/skills/kc-preflight/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kc-preflight", 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.
kc-preflightRun kube-coder's full CI suite locally before pushing — helm lint + unit tests, server.py tests, dashboard + controller SPA builds + vitest, and shell syntax checks.
Kc Preflight is an agent skill from imran31415/kube-coder. Run kube-coder's full CI suite locally before pushing — helm lint + unit tests, server.py tests, dashboard + controller SPA builds + vitest, and shell syntax checks. Use before opening or updating a PR so CI is green on the first push.
Its SKILL.md is about 1k 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 Unit testing, Container orchestration and Linting and formatting. It works with Vitest. The repository describes itself as: helm chart for a isolated dev coding environment pod in kubernetes. The licence is MIT.
Read from SKILL.md and the folder at commit fc0b886. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
helmyarnbashcurlmaketscFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
get.helm.shgithub.comFrom 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.
Kc Preflight loads about 1k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 297 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, ReadAutomated 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 imran31415/kube-coder at commit fc0b886, republished under its MIT licence (© imran31415). 297 words, ~1,047 tokens.
.claude/skills/kc-preflight/SKILL.md (or your agent's skills folder).Mirrors .github/workflows/ci.yml so you catch failures before pushing instead
of waiting on a CI round-trip.
Run
kc-scope-prfirst. This skill runs whole suites; that one tells you which suites your change actually reaches, and what it left untested. A green preflight over a suite that never touches your diff is not evidence. Run the subset named by$ARGUMENTS(defaultall). Report a concise PASS/FAIL summary per section at the end.
Run from the repo root (/home/dev/kube-coder).
export PATH="$HOME/.local/bin:$PATH"
# helm (if missing)
command -v helm >/dev/null || {
cd /tmp && curl -fsSL https://get.helm.sh/helm-v3.14.4-linux-amd64.tar.gz | tar xz \
&& install -m755 linux-amd64/helm ~/.local/bin/helm; cd -; }
# helm-unittest plugin (if missing)
helm plugin list 2>/dev/null | grep -q unittest \
|| helm plugin install https://github.com/helm-unittest/helm-unittest.git --version v0.5.2helm — lint + template + unit testsexport PATH="$HOME/.local/bin:$PATH"
helm lint charts/workspace/ -f charts/workspace/tests/test-values.yaml
helm template test-ws charts/workspace/ -f charts/workspace/tests/test-values.yaml > /dev/null
helm unittest charts/workspace/
# controller chart too, if you touched it:
# helm lint charts/workspace-controller/ -f charts/workspace-controller/tests/test-values.yaml
# helm unittest charts/workspace-controller/python — server.py unit + integration testsmake python-tests
# Prefer the make target: it points KC_FEED_DIR / KC_PUSH_DIR / KC_PROVIDER_KEYS_FILE
# at a temp dir, so a test can't write this workspace's live Feed, page its phone
# (#685), or read/overwrite the API keys you set in Settings. By hand:
# t=$(mktemp -d) && cd charts/workspace && KC_FEED_DIR=$t/feed KC_PUSH_DIR=$t/push \
# KC_PROVIDER_KEYS_FILE=$t/provider-keys.json \
# python3 -m unittest discover -s tests -p '*_test.py'web — SPA typecheck, build, and vitest (BOTH apps)There are two SPAs with separate lockfiles and CI jobs: the dashboard
(charts/workspace/web) and the controller (charts/workspace-controller/web).
CI runs each build (which is tsc --noEmit && vite build) then vitest — mirror
both:
for dir in charts/workspace/web charts/workspace-controller/web; do
yarn --cwd "$dir" install --frozen-lockfile # first run only
yarn --cwd "$dir" build # tsc + vite
yarn --cwd "$dir" test # vitest run
doneIgnore the DOMException [NetworkError] … /oauth/terminal/ noise in
TerminalPane tests — happy-dom tries to actually fetch iframe srcs; it's
harmless and pre-existing. Only the final Test Files … / Tests … tally matters.
shell — validate the entrypoint scriptsstart.sh ships via {{ tpl (.Files.Get "start.sh") . }}, so a syntax error
there breaks every pod. Always:
bash -n charts/workspace/start.shFor the SSH sidecar (embedded in YAML), rendering it through helm already
covers syntax; helm template … | grep to eyeball the script if you edited it.
Dockerfile, do build it.Call those out in your summary so the user knows what's still pending after push.
End with a table:
| Section | Result |
|---|---|
| helm lint/template/unittest | ✅ / ❌ |
| server.py tests | ✅ / ❌ |
| dashboard SPA build + vitest | ✅ / ❌ |
| controller SPA build + vitest | ✅ / ❌ |
shell bash -n | ✅ / ❌ |
If everything passes, tell the user it's safe to run kc-ship-pr.
© imran31415, 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 .claude/skills/kc-preflight of imran31415/kube-coder.
Open the folder on GitHubat commit fc0b886
Kc Preflight 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 |
|---|---|---|---|---|---|---|
| Kc Preflight this skillimran31415/kube-coder | 388 | — | ~1k | Automated safety check: Notes | MIT | |
| Ha Frontend Testinghome-assistant/frontend | 5.7k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Eslint Vitest Rule Testerantfu-collective/eslint-vitest-rule-tester | 142 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Run Testsartcc/freelingo | 162 | — | ~976 | Automated safety check: Pass | AGPL-3.0 | |
| Backend Testingbiersoeckli/QuickStack | 361 | — | ~670 | Automated safety check: Pass | GPL-3.0 | |
| Validatejuliepy/AI-Engineer-from-scrach | 436 | — | ~500 | Automated safety check: Pass | None |
home-assistant/frontend
Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.
antfu-collective/eslint-vitest-rule-tester
Help users test ESLint rules with Vitest, supporting snapshot testing and custom assertions
artcc/freelingo
A skill your agent uses when the user asks to run tests, ejecutar tests, lanzar tests, pytest, vitest, check types, typecheck, lint, or verify the codebase.
biersoeckli/QuickStack
Create and review QuickStack backend unit and integration tests using the project's Vitest, Prisma, SQLite, and k3s conventions.
juliepy/AI-Engineer-from-scrach
Run the full quality gate (ruff + mypy + pytest + tsc + vitest) and report PASS/FAIL for each command.
ComposioHQ/composio
Select and run TypeScript SDK verification for packages, examples, type checks, linting, builds, Vitest suites, Effect v4 CLI tests, and runtime E2E tests.
imran31415/kube-coder
Safely edit the workspace pod's boot scripts (start.sh, the entrypoint/ssh-server configmaps) in kube-coder.
imran31415/kube-coder
Spin up an isolated agent to work a GitHub issue of kube-coder or any other repo checked out in the workspace.
imran31415/kube-coder
Capture desktop + mobile, dark + light screenshots of the kube-coder dashboard SPA for visual QA of a UI change.
imran31415/kube-coder
Commit local changes and open a pull request against kube-coder from inside a workspace pod.
imran31415/kube-coder
Launch a Claude task on a remote kube-coder workspace, check task status, or attach to a running session.
imran31415/kube-coder
Scope a kube-coder change before you open or update a PR — what the diff actually touches, which tests reach it, what the change made worse, and what is left untested.
Works with
Categories
Run kube-coder's full CI suite locally before pushing — helm lint + unit tests, server.py tests, dashboard + controller SPA builds + vitest, and shell syntax checks. Kc Preflight is an agent skill from imran31415/kube-coder.py tests, dashboard + controller SPA builds + vitest, and shell syntax checks.
Kc Preflight fits situations like: tasks that involve Unit testing; tasks that involve Container orchestration; tasks that involve Linting and formatting.
Run `npx skills add imran31415/kube-coder --skill kc-preflight -a claude-code`. Or copy the skill folder (.claude/skills/kc-preflight in imran31415/kube-coder) into .claude/skills/kc-preflight in your project. Claude Code loads it when a task matches its description.
Run `npx skills add imran31415/kube-coder --skill kc-preflight -a codex`. Or copy the skill folder (.claude/skills/kc-preflight in imran31415/kube-coder) into .agents/skills/kc-preflight 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 imran31415/kube-coder --skill kc-preflight -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kc-preflight, .gemini/skills/kc-preflight, .github/skills/kc-preflight and .opencode/skills/kc-preflight in your project.
Going by SKILL.md and its folder, Kc Preflight needs the command-line tools its instructions call (helm, yarn, bash, curl, make and tsc). Our summary lists: Python 3; Docker. Its frontmatter pre-approves these tools: Bash, Read.
SKILL.md names 2 domains. In commands or code: get.helm.sh and github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Kc Preflight is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.2k 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 Kc Preflight: Ha Frontend Testing (home-assistant/frontend, 5.7k stars), Eslint Vitest Rule Tester (antfu-collective/eslint-vitest-rule-tester, 142 stars), Run Tests (artcc/freelingo, 162 stars) and Backend Testing (biersoeckli/QuickStack, 361 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
imran31415 (a GitHub user) maintains it in imran31415/kube-coder, which has 388 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.
Source: imran31415/kube-coder on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.