unity-docs

GitHub

通过本地脚本和官方文档查询Unity API签名、弃用及包行为,解决不确定性并停止。

skills/3d-gaming/unity-docs/SKILL.md instructa/agent-skills

Trigger Scenarios

查询Unity API签名或方法详情 查找Unity包API或版本兼容性信息 确认Unity特定行为的官方文档来源

Install

npx skills add instructa/agent-skills --skill unity-docs -g -y
More Options

Non-standard path

npx skills add https://github.com/instructa/agent-skills/tree/main/skills/3d-gaming/unity-docs -g -y

Use without installing

npx skills use instructa/agent-skills@unity-docs

指定 Agent (Claude Code)

npx skills add instructa/agent-skills --skill unity-docs -a claude-code -g -y

安装 repo 全部 skill

npx skills add instructa/agent-skills --all -g -y

预览 repo 内 skill

npx skills add instructa/agent-skills --list

SKILL.md

Frontmatter
{
    "name": "unity-docs",
    "description": "Resolve Unity signatures, deprecations, package APIs and behavior using local evidence and official docs."
}

Unity Docs

Resolve the uncertainty, then stop. Reuse project/version evidence unless the target changes or sources conflict. Choose one sufficient source: metadata/source for signatures, docs for behavior. Existing compiler diagnostics and matching metadata/source outrank prose. Never compile or launch Unity just for docs.

Paths below are relative to this skill's installation. Use Python 3.10+ (python3, typically python or py -3 on Windows); quote paths for the shell. Windows/macOS/Linux detection is automatic.

  • Engine: run scripts/inspect_unity_api.py QUERY directly; don't reread its code. Use a fully qualified type/member, e.g. UnityEngine.GameObject.SetActive or UnityEngine.GameObject.activeSelf; add --assembly NAME when known. Inspect overloads only as needed. Type queries don't enumerate members; no --members exists. See --help for options. Project/editor detection is automatic; outside projects add --project-root PATH. If discovery fails, set UNITY_EDITOR_PATH to the local editor executable or installation directory, or UNITY_EDITOR_ROOT to its versioned installations' parent. revisionVerified: false forbids claiming an exact revision match. Exit 3 means unresolved, not absent: check spelling, declaring type and assembly, then relevant package source/versioned docs. Report remaining uncertainty.
  • Packages: scripts/doc_cache.py package NAME --project-root PATH resolves local sources against the lockfile; search with available tools (rg if installed). Missing/ambiguous sources aren't verified. Use vendor sources for vendor APIs.
  • Explanation: scripts/doc_cache.py web URL --find TERM; omit --find for full text. Use explicitly versioned docs.unity3d.com URLs derived from the project or resolved package; confirm the page version. Pages retain URL/fetch date and are reused until --refresh. Browse current release notes/Issue Tracker live.

Persistent XML/metadata cache: .cache/unity-docs under the user's home directory; override with UNITY_DOCS_CACHE. Changed sources invalidate evidence; --refresh rebuilds it. Refresh web pages only when freshness matters.

Broaden only for an unresolved gap; don't repeat equivalent searches. Answer with result and relevant signature/source; version details only when material. Omit the lookup diary.

Version History

  • 992b303 Current 2026-09-23 01:40

Same Skill Collection

skills/delegation/delegate-fable/SKILL.md
skills/delegation/delegate-grok/SKILL.md
skills/delegation/delegate-sol/SKILL.md
skills/design/redesign-my-landingpage/SKILL.md
skills/electron/electron-live-test/SKILL.md
skills/engineering/architecture-ownership/SKILL.md
skills/engineering/clarify/SKILL.md
skills/engineering/consolidate-test-suites/SKILL.md
skills/engineering/find-duplicate-ownership/SKILL.md
skills/engineering/hard-cut/SKILL.md
skills/engineering/root-cause-finder/SKILL.md
skills/engineering/search-context/SKILL.md
skills/git/gitwhat/SKILL.md
skills/go/go-local-health/SKILL.md
skills/release/homebrew-publish/SKILL.md
skills/security/package-security-check/SKILL.md
skills/security/secleak-check/SKILL.md
skills/shell/shellck/SKILL.md
skills/specs/app-spec-packager/SKILL.md

Metadata

Files
0
Version
992b303
Hash
9c993297
Indexed
2026-09-23 01:40

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 15:28
浙ICP备14020137号-1