unity-script

Installation
SKILL.md

Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

Triggers

  • Authoring or editing C# code
  • Searching across scripts
  • Refactoring file layout
  • Checking compile errors
  • 编写或编辑 C# 代码、跨脚本搜索、重构文件布局、检查编译错误

Unity Script Skills

BATCH-FIRST: Use script_create_batch when creating 2+ scripts. DESIGN-FIRST: Before creating gameplay scripts, actively consider coupling, performance, and maintainability. In an existing project, load ../project-scout/SKILL.md first. If the user is asking for architecture or refactoring advice, load ../architecture/SKILL.md and then ../patterns/SKILL.md, ../async/SKILL.md, ../inspector/SKILL.md, ../performance/SKILL.md, ../script-roles/SKILL.md, ../scene-contracts/SKILL.md, ../testability/SKILL.md, or ../scriptdesign/SKILL.md as needed.

Operating Mode

  • Approval: 只读类 skill(script_read / script_list / script_find_in_file / script_get_info / script_get_compile_feedback,标 SkillMode.SemiAuto)直接执行;本模块没有可 grant 的写型 skill —— 每一个写型 skill 都命中下一条的自动拦截,grant 只会再返一次 MODE_FORBIDDEN
  • Auto / Bypass: SemiAuto 与(Bypass 下的)写型 skill 直接执行。
  • 本模块全部 7 个写型 skill 都是 Delete / Reload 类高危script_create / script_create_batch / script_replace / script_append / script_rename / script_move / script_delete 均标 MayTriggerReload = true + RiskLevel = "high"(落盘 .cs 必然触发 Domain Reload),script_delete 另标 SkillOperation.Delete —— 这些 skill 被 IsForbiddenInSemi 静态拦截,在 Approval Auto 下都返 MODE_FORBIDDEN仅 Bypass 或 Allowlist 命中可执行,不要尝试 grant 流程。
Installs
64
GitHub Stars
1.7K
First Seen
Mar 14, 2026
unity-script — besty0728/unity-skills