code-writing-guide skill
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.
- GitHub 스타
- 20
- 파일
- 6
- 마지막 커밋
- 2026년 11월 12일
- 라이선스
- Unlicense
- 허용된 도구
- —
code-writing-guide skill은 무엇을 하나요?
code-writing-guide은(는) agent skill입니다. 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.
code-writing-guide skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 code-writing-guide skill 설치
/plugin marketplace add nowsprinting/unity-coding-skills /plugin install unity-coding-skills@nowsprinting-unity-coding-skills
Claude Code에 code-writing-guide skill 설치
~/.claude/skills/code-writing-guide/SKILL.md
$ npx degit nowsprinting/unity-coding-skills/skills/code-writing-guide ~/.claude/skills/code-writing-guideClaude Code (project)에 code-writing-guide skill 설치
.claude/skills/code-writing-guide/SKILL.md
$ npx degit nowsprinting/unity-coding-skills/skills/code-writing-guide .claude/skills/code-writing-guideCodex에 code-writing-guide skill 설치
~/.agents/skills/code-writing-guide/SKILL.md
$ npx degit nowsprinting/unity-coding-skills/skills/code-writing-guide ~/.agents/skills/code-writing-guideGemini CLI에 code-writing-guide skill 설치
~/.gemini/skills/code-writing-guide/SKILL.md
$ npx degit nowsprinting/unity-coding-skills/skills/code-writing-guide ~/.gemini/skills/code-writing-guideClaude.ai에 code-writing-guide skill 설치
npx degit nowsprinting/unity-coding-skills/skills/code-writing-guide code-writing-guide && zip -r code-writing-guide.zip code-writing-guide # claude.ai → Customize → Skills → + → Create skill → Upload a skill → code-writing-guide.zip
SKILL.md
GitHub에서 보기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. - When a change is a structural refactoring — renaming a symbol, extracting a method/interface/base class, changing a method signature, moving a type to another namespace, or deleting a symbol — use the Rider MCP refactoring tools (
rename_refactoring,extract_method,extract_interface,extract_base_class,change_api_signature,move_type_to_namespace,reorganize_namespaces,safe_delete) instead of text edits. They update all references and call sites across the solution. - Never create
.metafiles. Unity editor creates them automatically. - When editing (creating or modifying) scene (
.unity) or prefab (.prefab) files, use theedit-sceneskill. - When instantiating a prefab multiple times, give each instance a unique
GameObject.name; otherwise, automated tests cannot identify a specific instance. Use a concrete name (e.g.,"<PrefabName>(Hero)") or append an index (e.g.,"<PrefabName>(0)").
Resources
Read the appropriate resource file based on the situation:
- Before writing or modifying any code file: Read
${CLAUDE_SKILL_DIR}/resources/coding-guideline.md - Before writing or modifying any code file: Read
${CLAUDE_SKILL_DIR}/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_SKILL_DIR}/resources/unity-event-functions.md - Before referencing an API, verifying a package behavior, or looking up documentation: Read
${CLAUDE_SKILL_DIR}/resources/unity-references.md - When resolving diagnostics or handling code review feedback: Read
${CLAUDE_SKILL_DIR}/resources/diagnostics-review-feedback.md
이 스킬의 파일
6code-writing-guide skill 질문
Claude Code에 code-writing-guide skill을 어떻게 설치하나요?
npx degit nowsprinting/unity-coding-skills/skills/code-writing-guide ~/.claude/skills/code-writing-guide를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
code-writing-guide skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.