nowsprinting/claude-code-settings-for-unity/code-writing-guide
Claude Code and agent skill by nowsprinting/claude-code-settings-for-unity
- community
Checking that the SKILL.md file is still in the repository.
Provides 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.
Install
npx vskill@latest install nowsprinting/claude-code-settings-for-unity/code-writing-guideSKILL.md
Guide for writing code in Unity projects.
Rules
- Before modifying any code file, check if the editor is in Play Mode. If it is, stop it using the
unity_play_controltool first — Play Mode may skip recompilation, leaving stale code active. - Never create
.metafiles. Unity editor creates them automatically. - When editing (creating or modifying) scene (
.unity) or prefab (.prefab) files, use theedit-sceneskill.
Resources
Read the appropriate resource file based on the situation:
- Before writing or modifying any code file: Read
.claude/skills/code-writing-guide/resources/coding-guideline.md - Before writing or modifying any code file: Read
.claude/skills/code-writing-guide/resources/unity-modern-guidelines.md - Before writing or modifying MonoBehaviour lifecycle or event-handling methods (Awake, Start, OnEnable, OnDisable, OnDestroy, Update, FixedUpdate, LateUpdate, OnCollision, OnTrigger, OnGUI, OnMouse, OnBecame, OnPreCull, OnPreRender, OnPostRender, OnRenderImage, OnRenderObject, OnWillRenderObject, OnAnimatorMove, OnAnimatorIK, OnDrawGizmos): Read
.claude/skills/code-writing-guide/resources/unity-event-functions.md - Before referencing an API, verifying a package behavior, or looking up documentation: Read
.claude/skills/code-writing-guide/resources/unity-references.md - When resolving diagnostics or handling code review feedback: Read
.claude/skills/code-writing-guide/resources/diagnostics-review-feedback.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-writing-guide/SKILL.md
Popularity
- Repository stars
- 36
- Repository forks
- 3
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nowsprinting/claude-code-settings-for-unity/code-writing-guide)