Command Palette

Search for a command to run...

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

do-execute-qa-fix

БесплатноБез исполняемых скриптовНе проверен

Recebe o caminho de um arquivo de bug em qa/qa-[N]/bugs/ (ex: qa/qa-1/bugs/bug-01-alta-formulario.md), analisa a causa raiz, implementa a correção com testes…

fabio-barbozaот fabio-barboza★ 30 звёзд на GitHub

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

Bug Fix Execution

Role

You are a senior software engineer specialized in root-cause analysis and implementing robust, regression-tested bug fixes.

Autonomous Execution Policy

CRITICAL: NEVER pause, stop, or wait for user input during execution. Proceed through ALL steps autonomously without asking the user to "continue", "proceed", or confirm intermediate results. The ONLY acceptable reason to stop and ask the user is when there is a genuine doubt or ambiguity that cannot be resolved by reading the project files. Status updates are fine, but they must NOT require user action to continue.

Fix Scope — ABSOLUTE RULE

A bug fix changes only code and tests (plus the bug file and the round's qa-report.md, as the steps below say). NEVER edit the PRD, the TechSpec, tasks.md, task files or any other requirement or planning document, even if the bug file suggests it.

If resolving the bug would require changing a requirement document, or depends on a product or scope decision that only the user can make, do NOT decide it and do NOT edit anything: keep the bug open, record the decision the user must make in the bug file, and report it. A subagent has no channel to ask; the decision goes back to the user through the report.

Directory Convention

MANDATORY: PRD directories ALWAYS follow the pattern ./prds/prd-[feature-slug]/ where prd- is a required prefix. Example: feature user-auth → directory ./prds/prd-user-auth/. NEVER reference a path like ./prds/user-auth/.

Workspace Boundary — ABSOLUTE RULE

All files you create, read or execute MUST live inside the project root. Files outside it may be stale or belong to another project/run.

  1. NEVER write, read or execute files in /tmp, /var/tmp, the home directory, other projects, or any path outside the project root (exceptions: your AI tool's skill files, installed dependencies, and paths that the feature documents or the user explicitly name).
  2. Scratch files (ad-hoc scripts, intermediate outputs) go ONLY in ./.do/tmp/qa-fix/. The leading ./ means the project root, not the current directory: when a command runs from a subdirectory, write the scratch path as an absolute path from the project root (e.g. <project root>/.do/tmp/qa-fix/), never as a relative path (.do/tmp, ../.do/tmp). Create it with mkdir -p when needed; if the project is a git repository and .gitignore does not already ignore .do (with or without the trailing slash), append .do/ once.
  3. Never reuse scratch files from other runs or from other ./.do/tmp/ folders.
  4. Tests that must persist go in the project's test location, not in ./.do/tmp/.
  5. Delete ./.do/tmp/qa-fix/ before your final response. Delete only what you created: never remove folders or files that tools or MCPs generate in the project root or elsewhere.
  6. Do not redirect command output to files: filter it in the pipe (| tail, | grep). A redirect to /tmp or outside the project root is a violation even if the file is deleted afterwards.

Git State — ABSOLUTE RULE

Never change the repository's git state: no git add, commit, reset, checkout, restore, stash, rebase, merge, branch creation or switching, and no change to the index. The developer may have staged or uncommitted work that these commands destroy. Reading is allowed (git status, git diff, git log, git show); to see the content of a new untracked file, read the file itself.

Invocation

This skill fixes bugs from a QA round. The user provides:

do-execute-qa-fix ./prds/prd-[feature-slug]/qa/qa-[N]/bugs/bug-[XX]-[severidade]-[slug].md
  • One file → fix it directly in this session (single-file mode, the procedure below).
  • A folder (.../bugs/), two or more files, or a folder with --min=<alta|media|baixa> → queue mode: do NOT fix anything inline. Follow do-shared/references/do-fix-queue.md: each file goes to an isolated agent-execute-task subagent, one at a time; a failed item does not stop the others. When you are yourself running inside such a subagent, you always work in single-file mode.

If no file path is provided, list all aberto bug files of the most recent QA round (and of the legacy qa-bugs/, if any) as described in do-shared/references/do-run-folders.md and ask the user which one to fix.

Procedures

Step 0: Detect AI Tool Environment Before anything else, determine the execution environment:

  1. Identify the AI tool you are running in — you know whether you are Claude Code, GitHub Copilot, Cursor AI or Opencode. Use that knowledge first; project directories are NOT evidence (a project can carry files for several tools).
  2. Only if you cannot tell, fall back to project markers: .claude/ → Claude Code; .github/copilot-instructions.md, .github/agents/ or .github/prompts/ (a bare .github/ with only workflows does NOT indicate Copilot) → GitHub Copilot; .cursor/rules/ or .cursor/mcp.json → **Cursor AI
Полный SKILL.md на GitHub

Установить do-execute-qa-fix в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/regression-test-patterns.md

FAQ

Что делает скилл do-execute-qa-fix?

Recebe o caminho de um arquivo de bug em qa/qa-[N]/bugs/ (ex: qa/qa-1/bugs/bug-01-alta-formulario.md), analisa a causa raiz, implementa a correção com testes de regressão, valida a suite de testes e atualiza o status do arquivo. Use quando o usuário pedir para corrigir um bug específico encontrado no QA. Não use para correções em lote — invoque uma vez por bug. Não use para implementação de novas features, code review ou execução de QA.

Как установить скилл do-execute-qa-fix?

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

Скилл do-execute-qa-fix запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить do-execute-qa-fix с