agentleFS
Besty0728Besty0728/Unity-Skills/.claude/skills/metacheck/SKILL.md

metacheck

Skill2k starsChanged 13 days agoMITView on GitHub

Meta Check — .meta GUID 健康度审计(伪随机 GUID + 第三方黑名单)

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about Besty0728/Unity-Skills

The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 8

Talked about on GitHub (8 times).

On GitHub · 8

3 more on GitHub

The file

Files
SKILL.md

Meta Check

伪随机 GUID(a1b2c3d4…、0123…)或与第三方包逐字节相同的 GUID,会在用户项目里与其他包争夺资源 ownership,表现为 missing script、CS0103。机械检查全部在脚本里,本命令只负责解释结果与修复。

步骤 1:运行脚本

python3 .github/scripts/check_meta_files.py . --strict

脚本覆盖:.meta 配对、GUID 重复、第三方黑名单(KNOWN_CONFLICT_GUIDS,命中即失败)、伪 GUID 启发式(sequential / interleave / repeat / abcdef / length)。不带 --strict 时启发式只告警,CI 即如此运行。

步骤 2:解释结果

  • 逐条列出 GUID、触发模式、文件;黑名单命中说明来源。
  • 启发式对真随机 GUID 有小概率误中(如 sequential 约 0.6%/个);仍一律视为待修复,换一个 uuid4 的代价近乎为零。
  • 无发现则报告「全部合格」并结束。

步骤 3:修复(仅带 --fix)

不带 --fix 永不修改文件,只给出建议。带 --fix 时对每个被标记的 GUID:

  1. git grep -n <guid> 查引用(排除其自身 .meta)。有外部引用则不替换,高亮并询问用户。
  2. 无引用则生成 python3 -c "import uuid; print(uuid.uuid4().hex)",只改该 .meta 的 guid: 行,其余字段不动。新值需过脚本,命中启发式则重新生成。
  3. 输出 old → new 映射表与一条 CHANGELOG 候选条目。
  4. 重跑步骤 1 确认全部通过。

维护黑名单

fork 上游或引入可能同装的第三方 UPM 包时,把其 .meta GUID 补进脚本的 KNOWN_CONFLICT_GUIDS(附来源与原因)。收集方式:在任意临时目录浅克隆上游,然后 grep -rh "^guid:" <克隆目录> --include="*.meta" | sort -u。黑名单只防确定性冲突,启发式查不出。

注意

  • 路径统一用正斜杠。
  • 本仓库 Skills 靠反射发现,不依赖 GUID 引用,通常可直接替换。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.