qa-engineer
БесплатноБез исполняемых скриптовНе проверенAnalyze code changes and generate Playwright E2E tests in anytype-desktop-suite. Run after implementing features or modifying editor/component behavior to…
от anyproto★ 9 169 звёзд на GitHubОб этом скилле
QA Engineer Skill
Analyze recent code changes in anytype-ts, map them to testable user-facing behavior, and generate Playwright E2E tests in the ../anytype-desktop-suite repository.
When to Use
Activate this skill when:
- After implementing a new feature or modifying existing functionality
- After editor/component changes that affect user interactions
- The user explicitly asks to add tests for recent changes
- After completing a task referenced in CLAUDE.md's "QA Engineer" section
Principles
- Change-driven — Only test what actually changed, don't generate tests for untouched code
- User-facing — Focus on observable behavior, not implementation details
- Compatible — Follow the existing test patterns in anytype-desktop-suite exactly
- Minimal — One test file per feature area, don't over-test
- Translation-aware — Always use translation keys, never hardcoded UI text
Process
Phase 1: Analyze Changes
- Identify what changed — Run
git diffagainst the base branch (or recent commits) to see modified files - Classify changes — Determine which changes are user-facing vs internal refactoring
- Map to features — Connect code changes to testable user flows:
- Component changes → UI interactions to verify
- Store changes → State transitions to test
- Menu/popup changes → Open/close/interact flows
- Editor changes → Block creation, editing, selection
- API changes → Data flow and error handling
Skip internal-only changes (type refactors, utility extractions, pure style changes) that have no user-facing impact.
Phase 2: Research Existing Coverage
- Check existing tests — Search
../anytype-desktop-suite/tests/for tests that already cover the changed feature area - Check existing page objects — Search
../anytype-desktop-suite/src/pages/for page objects that interact with affected components - Check test plans — Search
../anytype-desktop-suite/specs/for existing plans covering the area - Identify gaps — Determine what's not yet covered
Phase 3: Create Test Plan
Write a test plan in ../anytype-desktop-suite/specs/ following this format:
# Feature Area — Test Plan
**Source changes:** List of changed files in anytype-ts
**Date:** YYYY-MM-DD
## Prerequisites
- Seed: `tests/seed.spec.ts` (creates account, opens vault)
- Any additional setup needed
### 1. Test Group Name
**Seed:** `tests/seed.spec.ts`
#### 1.1 Scenario Name
**Steps:**
1. Step description
2. Step description
**Expected:** What should happen
#### 1.2 Another Scenario
...
Phase 4: Generate Test Files
Create test files in ../anytype-desktop-suite/tests/ following these strict conventions:
File Structure
// spec: specs/plan-name.md
// seed: tests/seed.spec.ts
import { test, expect } from '../../src/fixtures';
import { restartGrpcServer } from '../../src/helpers/test-server';
// Import relevant page objects
import { SidebarPage } from '../../src/pages/main/sidebar.page';
test.describe('Feature Area', () => {
test.describe.configure({ mode: 'serial' });
test.beforeAll(async () => {
await restartGrpcServer();
});
test('should do the expected behavior', async ({ page, translations }) => {
const sidebar = new SidebarPage(page, translations);
await sidebar.waitForReady();
// Step: Description of what we're doing
await page.getByText(translations.someTranslationKey).click();
// Verify: Expected outcome
await expect(page.locator('#some-element')).toBeVisible();
});
});
Rules
- Translations — Always use
translations.keyNamefor UI text. Look up keys in../anytype-ts/dist/lib/json/lang/en-US.jsonor../anytype-ts/src/json/text.json - Page Objects — Use existing page objects from
../anytype-desktop-suite/src/pages/. Create new ones only if needed - Waits — Use
await expect(locator).toBeVisible()orwaitFor({ state: 'visible' }). Never usesetTimeout,networkidle, or fixed delays - Selectors — Prefer role-based > test ID > text > CSS selectors
- Isolation — Each test file restarts gRPC server in
beforeAll. Tests in a file can share state withserialmode - Naming — File names are kebab-case matching the feature:
feature-name.spec.ts - Directory — Place in a subdirectory matching the feature area:
tests/editor/,tests/blocks/, etc.
Phase 5: Create Page Objects (if needed)
If the changed feature needs new page interactions not covered by existing page objects, create a new page object:
import { BasePage } from '../base.page';
export class FeaturePage extends BasePage {
// Locators
get someButton() {
return this.page.locator('#some-button');
}
get someText() {
return this.page.getByText(this.t('translationKey'));
}
// Actions
async waitForReady() {
await this.someButton.waitFor({ state: 'visible' });
}
async doSomething() {
await this.s
Установить qa-engineer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл qa-engineer?
Analyze code changes and generate Playwright E2E tests in anytype-desktop-suite. Run after implementing features or modifying editor/component behavior to ensure new functionality has test coverage.
Как установить скилл qa-engineer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qa-engineer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic