uw-cmd-create

uw-cmd-create is a command for Claude Code from IdoCohen560/claude-unity-game-studio. It costs 0 tokens per session (471 once invoked), scanned A, a copy of uw-cmd-create, MIT.

A code-creation workflow for isolated utilities, data classes, editor tools, and backend systems, using test-driven development. It creates the feature structure, writes tests first, and then implements the smallest code needed to pass them.

In plain words
What is it for?
Use it to create Unity helpers, utilities, data models, editor tools, and backend code that does not directly control game feel.
Why use it?
It gives small systems a defined scope and a repeatable way to verify behavior before they are added to a larger game.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/idocohen560/claude-unity-game-studio/uw-cmd-create
Clone the repo
git clone --depth 1 https://github.com/IdoCohen560/claude-unity-game-studio

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uw-cmd-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/idocohen560/claude-unity-game-studio/uw-cmd-create.svg)](https://agentmods.dev/commands/idocohen560/claude-unity-game-studio/uw-cmd-create)
Your own site
<a href="https://agentmods.dev/commands/idocohen560/claude-unity-game-studio/uw-cmd-create"><img src="https://agentmods.dev/badge/commands/idocohen560/claude-unity-game-studio/uw-cmd-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00471
Opus 5 $0.00000 $0.00235
Sonnet 5 $0.00000 $0.00094
Haiku 4.5 $0.00000 $0.00047

Measured 2d ago against content hash aaa3af67db88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

uw-cmd-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to uw-cmd-create — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

unity-ai-workflow/.claude/commands/uw-cmd-create.md · 54 lines

What it actually says

/uw-cmd-create — Code Creation Workflow

Generate isolated code following a test-driven development approach.

Scope: Utilities, helpers, data classes, editor tools, and backend systems with no direct game feel. For gameplay features: use /uw-cmd-implement-feature instead.

Skills

Load uw-unity-feature-scaffold from .claude/skills/uw-unity-feature-scaffold/SKILL.md. Load uw-unity-test-runner from .claude/skills/uw-unity-test-runner/SKILL.md.

Steps

1. Understand the Requirement

  • Which GDD scenario does this implement?
  • Read the relevant TDD section for architecture constraints.
  • Check docs/ProjectConfig.yaml for package versions and technology choices.

2. Scaffold the Feature

Use uw-unity-feature-scaffold skill:

  • Feature folder structure
  • Assembly Definition (.asmdef)
  • Test Assembly Definition

3. Write Tests First

Use uw-unity-test-runner skill:

  • Convert the Gherkin scenario to NUnit test(s).
  • Write the test — it should fail because the implementation doesn't exist yet.

4. Implement

Write the minimal code to make tests pass:

  • Follow CLAUDE.md rules (serialization, caching, thread safety)
  • Follow docs/CODING_STANDARDS.md formatting
  • Follow docs/NAMING_CONVENTIONS.md for identifiers
  • Use GameDebug for debug logging
  • If creating SO data/events, follow uw-scriptable-object-arch patterns
  • If creating DI services, follow uw-dependency-injection patterns (when architecture_pattern: "di-first")

5. Run Tests

  • Via Unity MCP run_tests if available.
  • Otherwise, instruct user to run in Test Runner.
  • All tests must pass before proceeding.

6. Commit

  • Feature branch: feature/{feature-name}
  • Commit message: feat({feature}): {description}
  • Follow docs/GIT_CONVENTIONS.md

7. Output

  • Working feature with passing tests
  • Feature committed to a branch

$ARGUMENTS

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 54 lines · 0 tokens per session scan A aaa3af67db88

Subscribe to this mod's changes

uw-cmd-create is a command published in the GitHub repository IdoCohen560/claude-unity-game-studio (17 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 471 tokens. A static security scan graded it A with 0 findings. It is 100% identical to uw-cmd-create, differing in 0 lines, and is treated as a copy.