Skip to content
Back to skills

Testability

ASecurity

Advise on Unity testability

  • 24 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
testinggoc#documentation

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill testability --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testability?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-testability/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-testability)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unity-testability
description: Advise on Unity testability
---

# Unity Testability Advisor

Documentation only: no REST skills. Use when deciding what logic stays in Unity-facing classes and what moves into pure C#.

## When to use
- Improving testability
- Extracting logic for unit tests
- Planning a test strategy

## Review questions
- Can the rule or algorithm run without `Transform`, `GameObject`, or scene state?
- Can config be injected instead of read through static globals?
- Can runtime decisions move to a plain C# class called from a thin `MonoBehaviour`?
- Does this need PlayMode coverage, or is EditMode enough?

## Output format
- Logic that should move to pure C#
- Logic that should stay Unity-facing
- Suggested seams/interfaces
- Candidate EditMode tests
- Candidate PlayMode tests

## Pitfalls
- Do not force test seams everywhere if the script is tiny and scene-bound.
- Prefer a few meaningful seams over abstraction for its own sake.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.