From qq
Authors Unity EditMode, PlayMode, or regression tests targeting current changes or specified files/symbols. Inspects project state and existing tests for targeted coverage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/qq:add-testsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Script path fallback**: qq scripts are invoked as bare commands (e.g. `unity-test.sh`). If "command not found", use `${CLAUDE_PLUGIN_ROOT}/bin/<command>` instead.
Script path fallback: qq scripts are invoked as bare commands (e.g.
unity-test.sh). If "command not found", use${CLAUDE_PLUGIN_ROOT}/bin/<command>instead.
Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).
Add or update Unity tests for the current change. This skill is for writing tests, not for running them. After authoring coverage, hand off to /qq:test.
Querying live scene/component state while authoring tests: if you need to inspect the current Unity scene to understand what to assert (component layouts, serialized values, runtime state), see
shared/tykit-reference.md. Tools likeunity_query,unity_object,get-field,call-method,get-arraylet you probe the live editor instead of guessing from source code.
Arguments: $ARGUMENTS
editmode / edit: force EditMode coverageplaymode / play: force PlayMode coverageregression: force the smallest regression-focused test--assembly "Asm.Tests": prefer a specific test assembly--auto: skip prompts and continue into /qq:test --auto after tests are writtenIf qq-project-state.py is available, read it before choosing scope:
qq-project-state.py --pretty
Use it for:
work_mode and policy_profile to understand expected verification pressurechanged_runtime_files to identify the code under test when the user did not specify a targetlast_test_status to understand whether coverage is missing vs. failingRules:
Pick scope in this order:
When the input is broad, narrow it:
Before writing tests:
.asmdef filesIf no tests exist yet, create the smallest conventional home that fits the repo:
Assets/Tests/EditMode/ for pure logic or editor-side behaviorAssets/Tests/PlayMode/ for scene/lifecycle/integration behaviorfix mode when feasibleIf the user did not force a mode, choose the lightest mode that still proves the behavior.
Author the smallest useful coverage:
When this work is tied to a bug fix:
By default, this skill stops after the test files are written.
/qq:test command to run next, using editmode, playmode, --assembly, or --filter when that would keep validation narrow--auto mode: after writing the tests, continue directly to /qq:test --auto with the narrowest appropriate scope.
/qq:test now?"--auto mode → continue to /qq:test --auto/qq:add-tests separate from /qq:test; one authors coverage, the other executes itnpx claudepluginhub tykisgod/quick-questionGuides choosing between plain C#, edit mode, play mode, and smoke testing for Unity features. Useful when adding tests or fixing slow/brittle suites.
Runs Unity unit/integration tests in EditMode/PlayMode, filters by name/assembly, checks runtime errors via tykit/MCP/batch mode backends.
Guides test case design for Unity projects: selects techniques, derives cases from requirements, and formats outputs. Activate when designing tests from specs.