skill-qa-engineer
Skill0 starsChanged 3 months agoMITView on GitHub
MANDATORY PHASE 3 QA GATE for test execution, Test-Driven Development (TDD Red-Green), TypeScript compilation checks (npx tsc --noEmit), and dependency management. MUST ACTIVATE when writing tests, modifying code, implementing new features, or fixing bugs.
- Reads credentials
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- core/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- avoid-ai-writingSkill
- c-cpp-systemsSkill
- doubt-driven-developmentSkill
- marketing-copywritingSkill
- mempalace-recallSkill
- mempalaceSkill
- mempalace-taskSkill
- retro-emulation-engineeringSkill
- seo-optimization-and-auditSkill
- skill-ai-mlSkill
- skill-backend-architectSkill
- skill-codebase-onboardingSkill
- skill-code-reviewSkill
- skill-context-engineeringSkill
- skill-creative-designSkill
- skill-data-analysisSkill
- skill-data-scienceSkill
- skill-design-engineeringSkill
- skill-devops-cloudSkill
- skill-emulator-wasmSkill
- skill-frontend-architectSkill
- skill-graph-analyticsSkill
- skill-graphics-webglSkill
- skill-low-level-programmingSkill
- skill-master-orchestratorSkill
- skill-mcp-builderSkill
- skill-monorepo-architectSkill
- skill-osint-engineeringSkill
- skill-plugin-architectureSkill
- skill-researchSkill
- skill-resume-tailorSkill
- skill-stealth-scrapingSkill
- skill-system-diagnosticsSkill
- skill-web-architectureSkill
- skill-web-performanceSkill
- spec-driven-developmentSkill
- spec-minerSkill
- wasm-emscriptenSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 8 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Node.js: Prefer npm or pnpm. Always commit package-lock.json or pnpm-lock.yaml to ensure lockfile synchronization.
- Very specific: line 26
Python: Use uv with pyproject.toml or requirements.txt for high-speed package management and compilation.
- Very specific: line 35
Unit Tests (Jest/Vitest/Pytest): Verify individual logic paths, helper utilities, and edge conditions in complete isolation.
- Distinctive: line 37
E2E Tests (Playwright/Cypress): Test complete user journeys inside real, headless browsers (e.g., navigation, payment checkout flow, …
- Distinctive: line 43
Before writing any implementation code for a new feature or bugfix, write the verification tests.
- Very specific: line 55
Bulk Test Scaffolding (Tier-2 Sub-Worker): When generating large mock suites or comprehensive test files, invoke chinese-worker via …
- Very specific: line 59
Write the simplest, most direct implementation that makes the test pass.
- Distinctive: line 60
Do not write anticipatory code or add features outside the immediate test contract.
- Distinctive: line 71
When verifying browser behavior or auditing frontend interfaces, follow this diagnostic checklist using DevTools or automated scripts:
- Distinctive: line 92
Never assume code is correct because it compiles:
- Distinctive: line 93
SSOT & DRY Auditing: Verify that new tests and application code reuse existing test fixtures, mock servers, utility functions, and API …
- Distinctive: line 94
Side Effect Validation: Check database records, logs, or filesystem states directly after mutations to verify side effects match assertions.
- Very specific: line 95
Static Type Checks: Run npx tsc --noEmit after modifying TS/TSX files.
- Distinctive: line 96
Lint Compliance: Ensure formatters and linters pass cleanly before flagging a task as complete.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Quality Assurance & Testing Skill
This skill enforces code reliability, correctness, structural consistency, and testing discipline through ustrukturyzowane workflow and package standards.
1. Tooling & Code Style Standards
Enforce strict linting and formatting before commits. Do not skip validation checks:
- JS/TS: ESLint + Prettier. Run
npm run lintandnpm run formatlocally. - Python: Ruff (ultra-fast linter and formatter, replacing black/isort/flake8).
- Go:
gofmt+golint. - Configuration Guard: Validate all local environment configurations (
.env) via schemas (Zod or Pydantic) on application startup to fail fast on invalid configurations.
2. Dependency Management & Security
- Node.js: Prefer
npmorpnpm. Always commitpackage-lock.jsonorpnpm-lock.yamlto ensure lockfile synchronization. - Python: Use
uvwithpyproject.tomlorrequirements.txtfor high-speed package management and compilation. - Security Auditing: Regularly run
npm auditorpip-auditto detect vulnerabilities. Never commit plain-text credentials, API keys, or JWT secrets.
3. The Testing Pyramid
Establish clear coverage levels based on business risk:
- Unit Tests (Jest/Vitest/Pytest): Verify individual logic paths, helper utilities, and edge conditions in complete isolation. High speed, high frequency.
- Integration Tests: Validate interfaces and operations crossing borders (e.g., API controller querying database tables or calling microservices).
- E2E Tests (Playwright/Cypress): Test complete user journeys inside real, headless browsers (e.g., navigation, payment checkout flow, hydration validity).
4. Test-Driven Development (TDD) Protocol
Before writing any implementation code for a new feature or bugfix, write the verification tests. Follow the Red-Green-Refactor loop:
WRITE TEST (RED) ──→ IMPLEMENT CODE (GREEN) ──→ REFACTOR (CLEAN)
│ │ │
▼ ▼ ▼
Confirm that test Write the minimal Optimize structure,
fails as expected code to pass test clean up redundancyPhase 1: RED (Write the Test First)
- Edge Case & Spec Design (Tier-1 Gemini): Formulate the contract and critical edge cases.
- Bulk Test Scaffolding (Tier-2 Sub-Worker): When generating large mock suites or comprehensive test files, invoke
chinese-workerviaworker_generate_tests(profile: nemotron-lightningorglm-5.2) in an isolated Git Worktree. - Run the test to confirm it fails. A test that passes before implementing code is either testing nothing or relying on incorrect assumptions.
Phase 2: GREEN (Write Minimal Code)
- Write the simplest, most direct implementation that makes the test pass. Core domain logic is coded directly by Gemini 3.7; repetitive boilerplate may be generated via
worker_run_task. - Do not write anticipatory code or add features outside the immediate test contract.
Phase 3: REFACTOR (Polish and Clean)
- Clean up the implementation: remove duplication, rename variables for clarity, structure module boundaries, and run formatting tools.
- For mass type annotations or multi-file refactoring, use
worker_batch_refactor. - Re-run all tests to ensure no regressions were introduced.
5. Web Testing & Browser Diagnostics (DevTools)
When verifying browser behavior or auditing frontend interfaces, follow this diagnostic checklist using DevTools or automated scripts:
Console & Network Checks
- Console Audit: Open the console and verify that no error messages, missing source maps, or warning notifications are output during page navigation.
- Network Payload: Inspect the Network tab. Verify asset status codes (all structural files must return 200/304). Check bundle weight: confirm heavy dynamic imports are split.
Render & Layout Shifts (CLS)
- Layout Shift Check: Enable "Layout Shift Regions" in DevTools (Rendering tab). Verify that no layouts shift or jump during hydration or lazy-loading of media placeholders.
- Core Web Vitals Triage:
- LCP (Largest Contentful Paint) must be ≤ 2.5s.
- INP (Interaction to Next Paint) must be ≤ 200ms.
- CLS (Cumulative Layout Shift) must be ≤ 0.1.
Accessibility (WCAG Verification)
- Keyboard Focus Test: Press
Tabto navigate through the entire page. Ensure active elements show high-contrast focus rings and that focus does not get trapped. - DOM Headings Check: Inspect the elements tree. Ensure there is exactly one
h1element per page and that nesting levels follow order (h1->h2->h3).
6. Verification Mandate
Never assume code is correct because it compiles:
- SSOT & DRY Auditing: Verify that new tests and application code reuse existing test fixtures, mock servers, utility functions, and API endpoints rather than creating duplicate helper modules.
- Side Effect Validation: Check database records, logs, or filesystem states directly after mutations to verify side effects match assertions.
- Static Type Checks: Run
npx tsc --noEmitafter modifying TS/TSX files. - Lint Compliance: Ensure formatters and linters pass cleanly before flagging a task as complete.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

