code-writing-guide SKILL.md skillA
code-writing-guide from nowsprinting/unity-coding-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add nowsprinting/unity-coding-skills/code-writing-guide@git:20260822.6a12221Pins git:20260822.6a12221 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- nowsprinting/unity-coding-skills
- Path
skills/code-writing-guide/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260822.6a12221, committed Aug 22, 2026
- First version recorded
- Jun 24, 2026
- Size
- 2,649 bytes
- Repository stars
- 20
- License
- Unlicense
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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
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_control` tool 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 `.meta` files. Unity editor creates them automatically. - When editing (creating or modifying) scene (`.unity`) or prefab (`.prefab`) files, use the `edit-scene` skill. - 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 whole file at its exact version.
How to install
mdr add nowsprinting/unity-coding-skills/code-writing-guide@sha256:b49ed8f927567e49The line at the top of this page pins the label git:20260822.6a12221, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3ye5ljsk6jecfcgc)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 24, 2026 and Aug 22, 2026, about one every 20 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260822.6a12221 latest | 2026-08-22 | 6a12221 | 2,649 B | A | view · diff |
| git:20260822.93dfb7e | 2026-08-22 | 93dfb7e | 2,154 B | A | view · diff |
| git:20260801.e26ec08 | 2026-08-01 | e26ec08 | 2,337 B | A | view · diff |
| git:20260624.1c55250 | 2026-06-24 | 1c55250 | 2,170 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2649 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
nowsprinting/unity-coding-skills · 20 stars · license Unlicense · pushed 2026-10-30 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_3ye5ljsk6jecfcgc GET https://markdownregistry.com/api/v1/resolve?ref=nowsprinting/unity-coding-skills/code-writing-guide GET https://markdownregistry.com/api/v1/blob/b49ed8f927567e4976f06a736c96dd82b09fb23a1ae7092e9e719d25d329fe0a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.