跳到正文
Skillpedia
分析与电子表格33k · #8440

balance-check

它能做什么

这个技能检查游戏中的数值是否存在问题。适合希望在玩家发现之前,先找出不公平或失衡之处的设计师。

适用场景

  • ✓当你想找出角色属性、成本或奖励中的异常值的时候。
  • ✓当你怀疑成长曲线已经失效或过于陡峭的时候。
  • ✓当你认为某一种策略可能压过所有其他选择的时候。

技能链接

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/balance-check/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/balance-check/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查我们游戏的经济公式是否有异常值,以及是否有某种策略总是能赢。”

每周 5 个新技能,1 分钟读完。

工作原理

它会读取公式和数据文件,在整个游戏中比较数值,并标记异常值、失效的成长曲线和主导策略。如果缺少所需数据,它会把该部分报告为未评估。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation

Balance Check

Every AskUserQuestion call follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and proceeds; automation_always_ask categories always prompt).

Insufficient input — check this before producing any report

If the inputs this skill needs do not exist, the answer is "could not run" — not a filled-in report. Check first, and stop if the check fails.

  1. List the inputs this skill reads (data files, prior reports, profiler output, test results, registries, source code).
  2. For each, record FOUND or ABSENT — not "assumed present".
  3. If any input required for a section is ABSENT, that section is NOT ASSESSED — NO DATA. Do not estimate it, do not infer it from an adjacent artifact, and do not leave a mandated cell to be filled by whoever reads the template next.
  4. If every required input is ABSENT, stop and report NOT ASSESSED — NO DATA as the whole verdict, naming what was missing and which skill produces it.

A verdict of NOT ASSESSED is a success. It is the correct, useful answer to "what does the data say?" when there is no data. The failure mode this prevents is specific: a report whose verdict enum has no "could not run" state produces false clean passes — an asset audit returning COMPLIANT on a project with no assets and no standards, or a performance profile reporting ">99% headroom against a 16.67ms budget" with zero profiler data and no budget ever set.

Absence of evidence is never evidence of absence. A scan that finds no matches because there are no files to scan has not verified anything. Say which of the two happened — a reader cannot tell from a green result.


Phase 1: Identify Balance Domain

Determine the balance domain from $ARGUMENTS — the whole string, since a data-file path may contain spaces:

  • Combat → weapon/ability DPS, time-to-kill, damage type interactions
  • Economy → resource faucets/sinks, acquisition rates, item pricing
  • Progression → XP/power curves, dead zones, power spikes
  • Loot → rarity distribution, pity timers, inventory pressure
  • File path given → load that file directly and infer domain from content

If no argument, ask the user which system to check.


Phase 2: Read Data Files

Read relevant files from assets/data/ and design/balance/ for the identified domain. Note every file read — they will appear in the Data Sources section of the report.


Phase 3: Read Design Document

Registry first. If design/registry/entities.yaml exists, read it before the GDD. Its constants and formulas sections hold the cross-GDD named values and output ranges — the balance targets — already distilled, each with a source: GDD and any revised: date:

Grep pattern="^  - name:" path="design/registry/entities.yaml" output_mode="content" -A 6

Take the intended values from the registry for any constant or formula it lists (the constants: and formulas: blocks); these are the authoritative cross-doc figures a GDD must not contradict. If design/registry/entities.yaml does not exist or has no entries (it ships as an empty stub until /design-system populates it), skip this and use the GDD alone.

Then read the GDD for the system from design/gdd/ to understand intended design targets, tuning knobs, and expected value ranges — for anything the registry did not already supply. This is the baseline for "correct" behaviour. Read it by section: find the headings you need with the Grep tool (pattern ^#, content mode) and Read those ranges with offset and limit.

If the data files are FOUND but neither source gives targets for this domain, the sections that judge against targets (Outliers Detected, and Progression Analysis where the domain has a curve) are NOT ASSESSED — NO DATA. Each one names what was missing — the GDD it looked for in design/gdd/, and whether the registry was absent or empty — and names /design-system, which writes both.


Phase 4: Perform Analysis

Every domain: compare each value with its target. For each named value in the data files, take its target from Phase 3 — a registry constant's value, a registry formula's output_range, or the range the GDD states — and compare. A value outside its target is a row in Outliers Detected (player_damage_base 140 against 90–110). A

常见问题

如果数据文件缺失怎么办?

报告会把相关部分标记为未评估,而不会编造数字。

什么是主导策略?

它是明显优于其他选择的策略,这会让游戏变得不那么有趣。

它会修改数值吗?

它只报告发现的问题,任何更改都需要单独进行。

详情

作者的原始描述

Find balance outliers, broken progressions, degenerate strategies, economy imbalances in formulas and data. 'Check game balance'.

repo: Donchitos/Claude-Code-Game-Studios

热度

GitHub 星标
33k
排名
#8440
许可证
MIT
更新时间
2026/10/18

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能