edit-scene SKILL.md skillA

edit-scene from nowsprinting/unity-coding-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nowsprinting/unity-coding-skills/edit-scene@git:20260922.13c227b

Pins git:20260922.13c227b 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/edit-scene/SKILL.md
Versions recorded
6
Latest version
git:20260922.13c227b, committed Sep 22, 2026
First version recorded
May 26, 2026
Size
7,339 bytes
Repository stars
20
License
Unlicense

Creates and modifies Unity scene and prefab files. Use this skill whenever creating, editing, or modifying .unity scene files or .prefab prefab files. This includes adding GameObjects, building uGUI hierarchies, wiring up components, and any task that results in changes to .unity or .prefab files.

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 creating and editing Unity scene files in Unity projects.

## Rules

- Do not directly Edit or Write `.unity` or `.prefab` files. Instead, write an editor script under `Assets/UnityCodingSkills/Editor/` and execute it in Unity to create or update the scene or prefab — those carry GameObject/Prefab-instance structure that is unsafe to author by hand.
- **Editor scripts must always end with `EditorSceneManager.SaveScene` (or `PrefabUtility.SaveAsPrefabAsset` for prefabs).** Treat "no dirty scenes/assets at script exit" as a hard postcondition.
  - Scene: `EditorSceneManager.SaveScene(scene, path)` (new) or `EditorSceneManager.SaveScene(scene)` (existing). The return value is `true` on success.
  - Prefab: `PrefabUtility.SaveAsPrefabAsset(go, path)`. When editing via `LoadPrefabContents`, always pair with `SaveAsPrefabAsset` → `UnloadPrefabContents`.
  - When the script also creates side-effect assets (Materials, ScriptableObjects, etc.), call `AssetDatabase.SaveAssets()` after the per-object saves to flush pending writes.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nowsprinting/unity-coding-skills/edit-scene@sha256:ff6c870d28deea11

The line at the top of this page pins the label git:20260922.13c227b, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6c3gob73ktj3wnle.svg)](https://markdownregistry.com/a/art_6c3gob73ktj3wnle)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between May 26, 2026 and Sep 22, 2026, about one every 24 days.

versioncommittedcommitsizeaudit
git:20260922.13c227b latest2026-09-22 13c227b 7,339 BA view · diff
git:20260726.5362ab02026-07-26 5362ab0 7,337 BA view · diff
git:20260705.7aeded02026-07-05 7aeded0 6,214 BA view · diff
git:20260624.1c552502026-06-24 1c55250 6,390 BA view · diff
git:20260530.7a3e5b72026-05-30 7a3e5b7 6,181 BA view · diff
git:20260526.b592e832026-05-26 b592e83 6,005 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7339 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

GitHub

nowsprinting/unity-coding-skills · 20 stars · license Unlicense · pushed 2026-10-30 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_6c3gob73ktj3wnle
GET https://markdownregistry.com/api/v1/resolve?ref=nowsprinting/unity-coding-skills/edit-scene
GET https://markdownregistry.com/api/v1/blob/ff6c870d28deea11532fbadd08adbfc713355591282da58d03c78a812b3bf645

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.

More from nowsprinting/unity-coding-skills

code-writing-guide SKILL.md skill
nowsprinting/unity-coding-skills · skills/code-writing-guide/SKILL.md · Provides coding guidelines for Unity projects. Make sure to use this skill whenever writing, creating, editing, or…
git:20260822.6a12221 · audit A · 20 stars
fix-bug SKILL.md skill
nowsprinting/unity-coding-skills · skills/fix-bug/SKILL.md · Diagnoses and fixes bugs using a test-first workflow (reproduce, diagnose, fix). Use this skill whenever the user…
git:20261016.1a93bbe · audit A · 20 stars
plan-feature SKILL.md skill
nowsprinting/unity-coding-skills · skills/plan-feature/SKILL.md · Orchestrates the test-first implementation planning workflow for feature implementation and spec changes. Use this…
git:20261016.4109665 · audit A · 20 stars
refine-tests SKILL.md skill
nowsprinting/unity-coding-skills · skills/refine-tests/SKILL.md · Reviews existing test code for conformance to the test-designing-guide and test-writing-guide, then applies the…
git:20261016.1a93bbe · audit A · 20 stars
resolve-diagnostics SKILL.md skill
nowsprinting/unity-coding-skills · skills/resolve-diagnostics/SKILL.md · Resolves IDE diagnostics (inspections and analyzer findings) at the `warning` or higher severity level for a given set…
git:20261016.e2b1e30 · audit A · 20 stars
run-tests SKILL.md skill
nowsprinting/unity-coding-skills · skills/run-tests/SKILL.md · Provides guidelines for running Unity tests using the run_unity_tests tool. Make sure to use this skill whenever…
git:20261016.6369daa · audit A · 20 stars
test-designing-guide SKILL.md skill
nowsprinting/unity-coding-skills · skills/test-designing-guide/SKILL.md · Provides test design methodology for Unity projects. Use this skill whenever designing test cases from requirements or…
git:20261016.6369daa · audit A · 20 stars
test-writing-guide SKILL.md skill
nowsprinting/unity-coding-skills · skills/test-writing-guide/SKILL.md · Provides guidelines for writing test code for Unity projects. Make sure to use this skill whenever writing, creating…
git:20261016.6369daa · audit A · 20 stars
unity-yaml-editing-guide SKILL.md skill
nowsprinting/unity-coding-skills · skills/unity-yaml-editing-guide/SKILL.md · Provides guidelines for directly editing Unity YAML-serialized asset files for Unity projects. Make sure to use this…
git:20261016.6369daa · audit A · 20 stars

Every file in nowsprinting/unity-coding-skills

Browse by kind, by grade A, or by owner.