Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

qa

БесплатноЗапускает вложенные скриптыНе проверен

QA a change in the running program, the way its user meets it: drive a CLI or terminal UI through tmux, a web app through a browser, and check every requested…

svyatovот svyatov★ 42 звезды на GitHub

Об этом скилле

QA checks the running program against what was requested; tests check the code against what its author expected. A scenario passes only on a result you observed in the running program. A green suite, a read of the code, or an exit status on its own is not an observation.

QA hunts for the fail. The author of a change grades it too kindly, so when this session wrote the change, run QA in a fresh subagent: give it the diff, the request, and this skill, and tell it to find where the change breaks. If subagents are unavailable, use a fresh session where possible; otherwise run QA here and report that it was not independent.

When no fresh subagent can start, follow code-review step 5's Capacity fallback and Execution access brief, but permit QA builds and writes in a disposable copy, never the real repository. Create $DIR as below and copy with rsync -a --no-specials --no-devices --exclude .git <repo>/ "$DIR/scratch/". After the scratch containment and dependency preflight, run node <this file's directory>/scripts/scratch-sources.mjs prepare <repo> "$DIR/scratch" "$DIR" (Bun: bun --no-env-file). It write-protects only the regular files of the repository's tracked and untracked sources that sit inside the copy, including a file a listed path reaches through a linked directory inside the copy, never following a link out of the copy, and writes the NUL-delimited manifests $DIR/sources.lst (sources present in the copy) and $DIR/deleted.lst (tracked paths deleted from the working tree). It removes any manifests an earlier run left before it starts. When a listed link, or a listed path under a linked directory, resolves outside the copy, it exits 1 naming each one, protects nothing, and leaves no manifest: stop the fallback and report QA as blocked on those links rather than running the copy. Then create $DIR/tmp with mkdir -p "$DIR/tmp". Put the diff, request, and this skill in $DIR/qa.prompt.md, pointing execution paths at the copy and telling the reader to write scripts and state under $DIR, never into the change's files. Use a fresh same-family CLI reader:

  • TMPDIR="$DIR/tmp" codex exec - --ignore-user-config --disable apps --disable plugins -C "$DIR/scratch" -s workspace-write --add-dir "$DIR" -c sandbox_workspace_write.exclude_slash_tmp=true -c sandbox_workspace_write.exclude_tmpdir_env_var=true --skip-git-repo-check -c 'approval_policy="never"' --ephemeral -o "$DIR/qa.report.md" < "$DIR/qa.prompt.md" > "$DIR/qa.log" 2>&1
  • (cd "$DIR/scratch" && claude -p --restricted --safe-mode --strict-mcp-config --tools Bash Read Grep Glob Write Edit --add-dir "$DIR" --permission-mode acceptEdits --settings '{"sandbox":{"enabled":true,"allowUnsandboxedCommands":false,"failIfUnavailable":true}}' --no-session-persistence < "$DIR/qa.prompt.md" > "$DIR/qa.report.md")

Both forms confine writes to the copy and $DIR with no network (Codex's workspace sandbox; Claude's --restricted plus its OS sandbox); the Codex form also closes /tmp and the inherited TMPDIR. If a sandbox cannot start, report the QA gap rather than broadening permissions. Give no tracker or GitHub access; the copy has no .git to push from. Before the reader starts, copy the trusted, installed repository snapshot helper to $DIR/snapshot-tree.mjs. From the real repository root, run node "$DIR/snapshot-tree.mjs" "<repo>" > "$DIR/tree.before" (Bun: bun --no-env-file) and require exit status zero before starting the reader. This captures HEAD, status, separate binary-capable working-tree and staged diffs, and nonignored untracked contents. Afterward, run the same helper into $DIR/tree.after and require exit status zero before running cmp "$DIR/tree.before" "$DIR/tree.after". A snapshot failure or comparison error is incomplete coverage, never proof of unchanged state. Then run node <this file's directory>/scripts/scratch-sources.mjs verify <repo> "$DIR/scratch" "$DIR", which prints each source in the manifest whose content, type, executable bits, or link target changed in the copy or went missing from either tree, each deleted path the copy recreated, and each entry it cannot read. Report any real-tree difference or any line from the source comparison as a QA failure of the run, not of the change, and name the reader as a same-family fallback.

QA runs before code-review: once QA shows the change does what was asked, the review can spend itself on how the code is written and how it fails.

QA reports to its caller and leaves the code and the issue tracker as it found them: it files, comments on, and labels no issue, since a fail in unmerged work is the caller's to fix, not a ticket. Scratch state, scenario lists, reports, screenshots, and raw evidence go in $DIR, a fresh mktemp -d in the OS temporary directory outside the repository. Re

Полный SKILL.md на GitHub

Установить qa в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

BROWSER.mdTERMINAL.mdagents/openai.yamlscripts/scratch-sources.mjsscripts/tui.sh

FAQ

Что делает скилл qa?

QA a change in the running program, the way its user meets it: drive a CLI or terminal UI through tmux, a web app through a browser, and check every requested behavior against what you observe. Use after implementing a change and before code review, or when the user asks for a QA pass, a smoke test, or a click-through of a change, or asks whether it actually works.

Как установить скилл qa?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл qa запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить qa с