Qa Testing logo

Qa Testing

Community
felvieira
qa-testing

Skill do QA Engineer para testes unitarios, integracao e E2E. Use quando precisar escrever testes, validar regressao, revisar cobertura, configurar estrategia de QA, ou evidenciar qualidade antes de release. Trigger em: "teste", "test", "QA", "Playwright", "Vitest", "Jest", "E2E", "coverage", "mock", "fixture", "regressao", "teste de integracao", "testing library".

Overview

Publisherfelvieira
Repositoryclaude-skills-fv
Skill nameqa-testing
Stars
28
Forks
5
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by felvieira on GitHub. Read the source before you install it.

Installation

Install the Qa Testing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/felvieira/claude-skills-fv/tree/main/skills/05-qa-testing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/felvieira/claude-skills-fv.git /tmp/claude-skills-fv
mkdir -p .claude/skills
cp -r /tmp/claude-skills-fv/skills/05-qa-testing .claude/skills/qa-testing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Qa Testing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Qa Testing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Qa Testing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

QA Engineer - Testes Unitarios e E2E (SKILL)

⚠ Esta é a SKILL 05 (playbook de QA). Não confundir com o subagent dev-team-kit-fv:test-engineer.

  • Carregar este playbook: Skill({ skill: "dev-team-kit-fv:05-qa-testing" })
  • Despachar subagent isolado (turno novo): Agent({ subagent_type: "dev-team-kit-fv:test-engineer", ... })
  • Diferença: policies/skills-vs-agents.md

O QA garante que o comportamento entregue continua correto antes de avancar no pipeline.

Mutation Testing como sensor avançado (v2.6.0+)

Inspiração: Birgitta Böckeler — "Mutation and structural testing are computational feedback sensors that have been underused in the past, but are now having a resurgence." Ver docs/inspiration/harness-engineering.md.

Coverage normal mente: "80% das linhas têm pelo menos 1 teste passando por elas". Mas isso não diz se os testes detectam bugs. Testes ruins (asserções fracas, sem assertions) inflam coverage sem aumentar confiança.

Mutation testing detecta isso: ferramenta gera "mutações" no código (troca > por >=, deleta linha, inverte boolean) e roda os testes. Se os testes não falham após mutação, eles são fracos.

Quando aplicar

SituaçãoRecomendação
Coverage > 60% mas bugs ainda escapam✅ Forte — sinal claro de testes fracos
Lógica complexa de negócio (cálculos, regras)✅ Forte — todo edge case importa
Greenfield, time aprendendo TDD✅ Médio — ensina a escrever assertions melhores
Prototype/spike throwaway❌ Skip — overhead > ganho
Coverage < 40%❌ Skip antes — coverage primeiro, mutation depois
CI lento (>10min)🟡 Cuidado — mutation roda em paralelo a coverage

Tools por linguagem

LinguagemToolNotas
JS/TSStryker Mutator@stryker-mutator/core — config via stryker.config.json
Pythonmutmutpip install mutmut, simples
PythonCosmic RayMais sofisticado, configurável
JavaPIT (Pitest)Padrão de mercado JVM
.NETStryker.NETmesma família do JS
Rustcargo-mutantsMaduro, integra com cargo
Gogo-mutestingMenos popular mas funciona
RubymutantTipo gold standard pra Ruby

Workflow recomendado

1. Tem coverage instalado? Se não, comece por isso (skill 05 normal flow)
2. Coverage > 60%? Se não, focar em coverage antes
3. Sim → adicione mutation tool ao package.json/equivalent
4. Roda primeiro full: `npx stryker run` (vai demorar)
5. Analisa "mutation score" — % de mutações detectadas
   - >85%: excelente
   - 70-85%: aceitável
   - <70%: testes fracos — refactor priority
6. Identifica "survived mutants" (mutações não detectadas) — bug-equivalentes
7. Pra cada survived, escreva teste que mata o mutante
8. Plug no CI:
   - Diário (não cada commit — caro)
   - Threshold mínimo (não regression)

Plug no kit

Esta skill (05) deve automaticamente sugerir mutation testing quando detectar:

  • package.json com coverage > 60%
  • ou pyproject.toml com pytest + coverage
  • ou ambiente similar maduro

Sugestão padrão:

"Coverage está em X% — bom suficiente pra adicionar mutation testing.
 Roda uma vez:
   <comando específico>
 Mutation score < 70% indica testes fracos. Veja policies/quality-gates.md."

Integração com skill 37 (TDD)

Skill 37 (TDD) usa approved fixtures para behaviour harness gap. Skill 05 (esta) usa mutation testing para detectar testes fracos em código existente.

Complementares: TDD garante que testes sejam escritos certo desde o início. Mutation garante que testes continuem detectando bugs ao longo do tempo.

QA Tradicional (resto da skill)

Governanca Global

Esta skill segue GLOBAL.md, policies/execution.md, policies/handoffs.md, policies/quality-gates.md, policies/token-efficiency.md, policies/tool-safety.md, policies/evals.md e policies/verification-before-completion.md (gate obrigatório — toda claim "tests pass" precisa output verificável).

Para setups completos e exemplos longos, consultar docs/skill-guides/qa-testing.md apenas quando necessario.

Quando a validacao exigir browser real com navegacao e screenshots, esta skill pode configurar ou reutilizar Playwright MCP localmente.

Quando Usar

  • escrever ou revisar testes unitarios, integracao e E2E
  • validar regressao, smoke e baseline de performance

Quando Nao Usar

  • para substituir Security ou Reviewer
  • para decidir sozinho contrato ou regra de negocio ambigua

Entradas Esperadas

  • criterios de aceitacao
  • artefatos implementados
  • riscos conhecidos e fluxos criticos

Saidas Esperadas

  • cobertura de cenarios relevantes
  • evidencias de validacao e regressao
  • handoff claro para Security ou retorno ao implementador

Responsabilidades

  1. Escrever testes unitarios para hooks, stores e utils
  2. Escrever testes de componente para interacoes e estados criticos
  3. Escrever testes E2E para caminho feliz, erros principais e regressao
  4. Validar criterios de aceitacao do PO via testes
  5. Sinalizar gaps de cobertura, flakiness e risco residual

Estrategia Base de Testes

  • unitario e componente para logica local e UI critica
  • integracao para contratos e fluxos entre camadas
  • E2E para auth, navegacao, erros principais e regressao
  • smoke tests apos deploy em fluxos criticos

Padroes de Teste

  • falhar em requests nao mockadas quando o teste depender de mock
  • usar dados de teste simples e deterministicos
  • cobrir caminho feliz, erro principal e uma regressao conhecida quando houver
  • manter testes legiveis e focados em comportamento observavel

Playwright MCP

Usar Playwright MCP quando a tarefa exigir:

  • navegacao real no app rodando
  • verificacao visual de layout e estados
  • screenshots de evidencias
  • inspecao manual assistida de regressao em browser

Isso complementa os testes e2e formais e ajuda especialmente em verificacoes visuais ou exploratorias.

Em QA de interface web, usar skills/02-ui-ux-design/references/web-interface-review.md como roteiro complementar para teclado, foco, formulários, movimento reduzido e conteúdo extremo. Confirmar os estados no browser e registrar evidência; a presença de atributos no código, sozinha, não comprova que a interação funciona.

Padroes de Teste Playwright (referencia)

references/playwright-patterns.md — quando escolher Page Object Model vs Fixtures vs Helper function (e por que fixtures e o ponto de partida padrao), arvore de decisao pra debugar teste flaky (UI-driven, race condition, data/paralelismo, state leak, CI-only), sharding paralelo (--workers vs --shard) e mock de OAuth/SSO em teste E2E (interceptar callback + endpoint de sessao, nunca o provider real).

Pattern: cleanup SQLite WAL no Windows

Windows mantém lock em arquivos SQLite WAL/SHM por alguns ms após db.close(). Cleanup síncrono em afterAll falha com EBUSY. Use retry diferido:

js
afterAll(() => {
  db.close();
  setTimeout(() => {
    const tryUnlink = (p) => { try { if (fs.existsSync(p)) fs.unlinkSync(p); } catch {} };
    [TEST_DB, TEST_DB + '-wal', TEST_DB + '-shm'].forEach(tryUnlink);
  }, 200);
});

Descoberto em eval-bench/Teste 2 (2026-05-23). Pattern não é Windows-only — também previne problema em CI Linux com discos lentos.

Cobertura Minima Recomendada

  • hooks, stores e utils com logica propria
  • componentes com comportamento relevante ao usuario
  • fluxos de auth, navegacao e erro principal
  • smoke tests apos deploy em caminhos criticos

Checklist de QA antes de Aprovar

  • testes unitarios e E2E passando
  • cobertura minima atendida ou gap documentado
  • criterios de aceitacao cobertos pelos cenarios principais
  • sem flakiness relevante em CI
  • falhas conhecidas classificadas por impacto

Checkpoint: rodar a suite → item que falhar, corrigir o teste ou reportar o bug ao dev (nunca marcar skip/todo pra passar) → rodar de novo. Repetir até os 5 itens acima serem verdade sem excecao nao-documentada. "Passou na segunda tentativa depois que ajustei o mock" so conta se o mock ajustado ainda testa o comportamento real — mock ajustado pra sempre retornar sucesso e um teste que nao testa nada.

Evidencia de Conclusao

  • cenarios criticos cobertos
  • regressao principal verificada
  • falhas ou gaps classificados por impacto

Persona

Para output estruturado e persona detalhada com tipos de cenário, coverage analysis e template de relatório, ver personas/test-engineer.md.

Handoff para Security Review

Entregar:

  1. resultado geral dos testes
  2. cenarios cobertos e gaps conhecidos
  3. notas sobre regressao, flakiness ou risco residual

Integracao com Pipeline

  • Orquestrador (skill 09): define quando QA entra e se precisa reexecucao
  • Context Manager (skill 08): registra estado da validacao
  • Documentador (skill 10): registra evidencias quando necessario
  • TDD Engineer (skill 37): quando ativo, escreve behavior tests (red-green-refactor) primeiro. QA (esta skill) complementa com edge cases nao cobertos pelo TDD: cenarios raros, falhas de infra, performance, regressao cross-feature. Nao duplicar o que TDD ja cobriu — o relatorio do TDD lista comportamentos cobertos; comecar dai.

Anti-Rationalization

Se você reconhece um desses pensamentos, PARE e siga o processo. Ver policies/anti-rationalization.md.

RacionalizaçãoRealidade
"Vou adicionar testes depois"Código sem teste é código que não funciona até prova em contrário
"É refactor, não muda comportamento"Refactor sem teste é aposta. Testes provam que comportamento não mudou
"Coverage já está boa o suficiente"Coverage mede linhas executadas, não cenários cobertos. Verifique edge cases
"Esse código é trivial demais pra testar"Código trivial que quebra em produção causa vergonha desproporcional
"Mock resolve, não preciso de teste de integração"Mock prova que seu mock funciona. Integração prova que o sistema funciona

Fontes Externas

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Qa Testing AI skill do?

Skill do QA Engineer para testes unitarios, integracao e E2E. Use quando precisar escrever testes, validar regressao, revisar cobertura, configurar estrategia de QA, ou evidenciar qualidade antes de release. Trigger em: "teste", "test", "QA", "Playwright", "Vitest", "Jest", "E2E", "coverage", "mock", "fixture", "regressao", "teste de integracao", "testing library".

Why use Qa Testing on TypingMind?

Because you install it once and use it with any model. Qa Testing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Qa Testing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/felvieira/claude-skills-fv/tree/main/skills/05-qa-testing. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Qa Testing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Qa Testing?

As many as you like. As long as a model supports skills, you can use Qa Testing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Qa Testing AI skill free?

Yes. It is published on GitHub by felvieira under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇