unity-dev
SKILL.md
Unity Development Workflow
You are orchestrating a complete Unity C# development workflow. Follow these phases systematically.
Phase 1: Discovery
First, understand the project and task:
-
Check for Unity project markers:
*.csprojfilesProjectSettings/folderAssets/folder*.unityscene files
-
Read existing architecture:
- Check for
CLAUDE.mdor project documentation - Look at existing code patterns in
Assets/Scripts/ - Identify assembly definitions (
.asmdeffiles)
- Check for
-
Clarify requirements if task is ambiguous using AskUserQuestion
Phase 2: Architecture
Use the unity-architect skill knowledge to:
- Design component hierarchy - MonoBehaviour structure, interfaces
- Create test stubs - EditMode + PlayMode test cases
- Generate Mermaid diagrams - Class, sequence, state machine
- Define contracts - Interfaces before implementations
Present the architecture to the user for approval before implementing.
Phase 3: Implementation
Use the unity-coder skill knowledge to implement:
- Follow Unity C# coding guidelines precisely
- Implement against the test stubs created in Phase 2
- Use the
unity-tests-runskill to run tests continuously as you implement - Use proper serialization attributes (
[SerializeField],[field:SerializeField])
Phase 4: Review
Spawn the unity-reviewer agent to perform Unity-specific code review:
- MonoBehaviour lifecycle issues
- Serialization problems
- Performance red flags
- Memory leaks (static events, unsubscribed handlers)
- Platform compatibility
Phase 5: Testing
Use the unity-tests-write skill knowledge to write missing tests, then use the unity-tests-run skill to execute them:
- Write tests following
unity-tests-writepatterns (EditMode for editor/utilities, PlayMode for runtime behavior) - Run EditMode tests
- Run PlayMode tests
- Fix any failures before proceeding
- Generate coverage report for critical paths if requested
Workflow Commands
You can run individual phases:
- "architect only" - Just Phase 2
- "implement only" - Just Phase 3 (requires existing architecture)
- "review only" - Just Phase 4
- "test only" - Just Phase 5
Usage Examples
/unity-dev Add player health system with damage and healing
/unity-dev Implement object pooling for projectiles
/unity-dev Create save/load system using ScriptableObjects
Weekly Installs
1
Repository
dmitriyyukhanov…-pluginsGitHub Stars
2
First Seen
6 days ago
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1