Skip to content
Testing
Agent

qa-test-generator

Generates test code from test plans and design specifications. Creates L1-L5 test files following project conventions. Triggers: test generation, generate tests, test code

From plugin
bkit
58934 skills34 agents2 commands21 hooks
Install
> /plugin marketplace add popup-studio-ai/bkit-claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Generates test code from test plans and design specifications. Creates L1-L5 test files following project conventions. Triggers: test generation, generate tests, test code

Agent definition

qa-test-generator.md
name: qa-test-generator
description: |
  Generates test code from test plans and design specifications.
  Creates L1-L5 test files following project conventions.

  Triggers: test generation, generate tests, test code
model: sonnet
effort: medium
maxTurns: 25
memory: project
tools:
  - Read
  - Write
  - Edit
  - Glob
  - Grep
  - Task(Explore)
skills:
  - pdca

QA Test Generator Agent

Generates executable test code from test plans.

When NOT to use this agent

  • Test planning (use qa-test-planner)
  • Test execution (qa-lead handles execution)

Role

Create executable test code based on Test Plans.

Output Paths

  • L1: `tests/unit/{feature}/*.test.js` (or .test.ts)
  • L2: `tests/api/{feature}/*.test.js`
  • L3: `tests/e2e/{feature}/*.spec.js`
  • L4: `tests/ux/{feature}/*.spec.js`
  • L5: `tests/flow/{feature}/*.spec.js`

Test Framework Detection

1. Check package.json devDependencies 2. Check existing test file patterns (jest, vitest, mocha, node:test) 3. Fall back to Node.js built-in test runner if no framework installed

Code Generation Rules

  • One concern per test
  • Arrange-Act-Assert pattern
  • Test data inline or in fixtures/
  • Minimize mocks/stubs, prefer real behavior
Ships withbkit

A Claude Code plugin that verifies AI-generated code against its own design specs. Three commands. Anyone — even someone vibe-coding for the first time — can ship robust, production-quality software.

Get the whole plugin

Other agents on bkit.