/unity-coding-skills:design-tests [specification, file paths, or URLs]from unity-coding-skills
Designs tests from a specification (requirements, design docs, ADR) by extracting test targets and creating test cases at the appropriate level (unit, integration, acceptance). Use when the specification is settled and test design is the next step.
Ships in unity-coding-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Produces a test design document: the test cases and the assessment of each test target in the specification.
The test design knowledge lives in the test-designing-guide skill; this skill defines the procedure.
Take the input from the specification argument combined with the conversation, if any; when the argument is omitted, take it from the conversation alone:
AskUserQuestion to ask the user before proceeding.Read a URL yourself and treat what you read as text written directly, since a subagent may lack the credentials to read it.
Read it with the access the user set up, e.g., an MCP server or a CLI of the service (gh issue view <URL> --comments for GitHub Issues).
For an issue, read its comments as well as its body: the comments often revise the body.
The input may state the specification in any document: a requirements document, design docs, or an ADR.
Note which specifications are external specifications (as test-designing-guide defines them), to mark acceptance tests.
Load the test-designing-guide skill — do not rely on automatic skill triggering — and extract the test targets from the specification per its test analysis resource.
The targets are designed in parallel in Step 2, so a specification assigned to two targets would produce duplicate test cases.
Design each test target in its own general-purpose subagent, launched in parallel, so the working material of one target stays out of the others' context.
Instruct each subagent to load the test-designing-guide skill — do not rely on automatic skill triggering — and apply its test design resource, resources/test-design.md, in full.
Give each subagent the test target with its assigned specifications, which of them are external specifications, the test targets it contains with their assigned specifications if any, the constraints on its master data records if Step 1 recorded any with it, whether the user states the specification changed since the existing tests were written, and the user's instructions on the test techniques and their test selection criteria if any, and have it return its output verbatim.
Quote each specification verbatim with its source, e.g., the file path and heading or the URL, together with the passages it depends on, e.g., the definitions of the terms it uses, whether they lie in the specification or in another document you read.
Also have it write the modeling result to <scratchpad>/modeling-results/<test class>.md, named after the ## heading of its output, e.g., FooTest.md, where <scratchpad> is the scratchpad directory listed in your system prompt (write its absolute path literally in the instruction): a subagent's context is gone once it returns, and you need the modeling result to show it when the user asks to see it, without holding every target's modeling result in your context.
A subagent cannot ask the user, so it records every question as an issue in the Assessment.
When a target's Assessment is ❌FAIL, ask the user via AskUserQuestion, presenting the Issues that make it FAIL, then design that target again with the answer.
When the user cannot resolve them — they require revising the specification — stop and report the Issues and modeling result to the user; revising the specification is up to the user or the caller.
Proceed with an ⚠️WARN target as it is: its Issues stay in its Assessment, which the output carries for the user or the caller to act on.
Arrange the outputs of Step 2, each a ## <test class> section, in the order of Step 1.
Do not regroup the test cases by test level.
Review the assembled test cases against the input: every specification it states, except those Step 1 left out, must be covered by the test cases of the target it was assigned to. When one is not covered, run Step 2 again for that target.
When the user or the caller asks for the output in a spreadsheet, write the test design document as one spreadsheet:
One sheet per test target, named after its test class, holding all its test cases in a single table, in the order of its Step 3 section, with the columns "Test level", "Test technique, etc.", "Test method name", "Parameters", "Verification", and "Tags":
Integration or Unit; - for a validator, which belongs to no test levelVisual verification, Manual, or ValidatorWrite the Notes below the table, one note per row.
One "Test basis" sheet gathering the test bases of all test targets, one row per test basis, with a column for the test class
One "Assessment" sheet with one row per issue across all test targets, with only the columns test class, issue, affected specification, and proposed remedy: leave out the label, and leave out a target with no issue
Leave the Test basis and Assessment sections out of the per-target sheets.
When Step 2 resolved the Issues of a ❌FAIL target — by the user's answer, or by a source the user instructed you to consult — write each resolution into the document that states the specification it settles, so that the specification agrees with the test design document:
gh issue comment <URL> --body-file - for GitHub Issues).Tell the user which documents you changed and which comments you posted.
End your reply by telling the user that you can show the modeling result of each target on request: the test design document leaves it out, so the user has no other way to learn it exists.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nowsprinting/unity-coding-skills --plugin unity-coding-skills12 skills in this plugin
/code-writing-guideProvides coding guidelines for Unity projects. Make sure to use this skill whenever writing, creating, editing, or modifying code files. This includes implementing new features, fixing bugs, refactoring, adding tests, or any task that results in code changes. Even for small edits or one-line fixes, load this skill to ensure project conventions are followed./edit-sceneCreates and modifies Unity scene and prefab files. Use this skill whenever creating, editing, or modifying .unity scene files or .prefab prefab files. This includes adding GameObjects, building uGUI hierarchies, wiring up components, and any task that results in changes to .unity or .prefab files./Other plugins' skills for the same job