Gstack Game 标志

Gstack Game

社区
fagemx
gstack-game

适用于 Claude Code 的游戏开发工作流技能。包含 29 个交互式游戏开发技能,尤其擅长设计审查和规划,也支持开发阶段。当您发现用户处于以下阶段时,建议使用相应技能:- 用户有一段脆弱的情绪、画面或机制构想,希望获得创意灵感而非批评 → 建议 /spark-lens - 用户有 PDF、文档或笔记,想将其整理成 GDD → 建议 /game-import - 正在构思游戏创意 → 建议 /game-ideation - 正在审查游戏计划(策略/方向)→ 建议 /game-direction - 正在审查游戏设计文档 → 建议 /game-review - 正在审查游戏技术架构 → 建议 /game-eng-review - 正在审查游戏经济或平衡性 → 建议 /balance-review - 正在模拟玩家体验 → 建议 /player-experience - 正在审查游戏 UI/UX → 建议 /game-ux-review - 正在评估游戏提案或方案 → 建议 /pitch-review - 正在审查游戏项目代码 → 建议 /gameplay-implementation-review - 正在对游戏进行 QA 测试 → 建议 /game-qa - 准备发布游戏/创建 PR → 建议 /game-ship - 正在调试游戏故障 → 建议 /game-debug - 正在进行冲刺/里程碑回顾 → 建议 /game-retro - 想要获得对抗性视角的第二意见 → 建议 /game-codex - 正在更新发布后的文档 → 建议 /game-docs - 正在进行视觉质量审查 → 建议 /game-visual-qa - 正在审查游戏资源(美术/音频流程)→ 建议 /asset-review - 正在设计试玩测试方案 → 建议 /playtest - 正在处理制作流程或线上系统 → 建议 /careful - 想将编辑范围限定在一个目录 → 建议 /guard - 想要移除编辑限制 → 建议 /unfreeze 如果用户反对技能建议(“别再建议了”“太激进了”):1. 在本次会话剩余时间内停止建议 2. 运行:gstack-config set proactive false 3. 说:“明白了——我会停止建议技能。您可以说‘保持主动’来重新开启。”如果用户说“再主动一点”或“开启建议”:1. 运行:gstack-config set proactive true 2. 说:“主动建议已重新开启。”

Add to TypingMind

概览

发布者fagemx
代码仓库gstack-game
技能名称gstack-game
星标数
81
复刻数
10
附带文件
123
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 123 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 fagemx 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Gstack Game AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/fagemx/gstack-game/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fagemx/gstack-game.git \
  .claude/skills/gstack-game
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Gstack Game,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Gstack Game。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Gstack Game 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Preamble (run first)

bash
_GD_VERSION="0.5.0"
_GG_BIN=""
for _p in "bin" ".claude/skills/gstack-game/bin" "$(dirname "$(readlink -f .claude/skills/game-review/SKILL.md 2>/dev/null)" 2>/dev/null)/../../bin"; do
  [ -f "$_p/gstack-config" ] && _GG_BIN="$_p" && break
done
[ -z "$_GG_BIN" ] && [ -f ".claude/skills/gstack-game/bin/gstack-config" ] && _GG_BIN=".claude/skills/gstack-game/bin"
[ -z "$_GG_BIN" ] && echo "WARN: gstack-game bin/ not found, some features disabled"
mkdir -p ~/.gstack/sessions
touch ~/.gstack/sessions/"$PPID"
_SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | tr -d ' ')
find ~/.gstack/sessions -mmin +120 -type f -delete 2>/dev/null || true
_PROACTIVE=$([ -n "$_GG_BIN" ] && "$_GG_BIN/gstack-config" get proactive 2>/dev/null || echo "true")
_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
_TEL_START=$(date +%s)
_SESSION_ID="$$-$(date +%s)"
_LAKE_SEEN=$([ -f ~/.gstack/.completeness-intro-seen ] && echo "yes" || echo "no")
_TEL_PROMPTED=$([ -f ~/.gstack/.telemetry-prompted ] && echo "yes" || echo "no")
mkdir -p ~/.gstack/analytics
echo '{"skill":"gstack-game","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}'  >> ~/.gstack/analytics/skill-usage.jsonl 2>/dev/null || true
echo "BRANCH: $_BRANCH"
echo "PROACTIVE: $_PROACTIVE"
echo "GD_VERSION: $_GD_VERSION"
echo "SESSIONS: $_SESSIONS"
echo "LAKE_INTRO: $_LAKE_SEEN"
echo "TEL_PROMPTED: $_TEL_PROMPTED"

If PROACTIVE is "false", do NOT proactively suggest gstack-game skills — only invoke them when the user explicitly asks. The user opted out of proactive suggestions.

If LAKE_INTRO is no: Before continuing, introduce the Completeness Principle. Tell the user: "gstack-game follows the Boil the Lake principle — always do the complete thing when AI makes the marginal cost near-zero. In game dev: don't skip balance data ('we'll tune later'), don't skip FTUE design ('tutorial can wait'), don't skip controller support ('polish later'). These are lakes, not oceans." Then:

bash
touch ~/.gstack/.completeness-intro-seen

This only happens once.

If TEL_PROMPTED is no AND LAKE_INTRO is yes: Ask the user about telemetry. Use AskUserQuestion:

Help gstack-game improve! Anonymous mode tracks which skills you use and how long they take — no code, file paths, or repo names are ever recorded. Change anytime with gstack-config set telemetry off.

Options:

  • A) Sure, anonymous is fine (recommended)
  • B) No thanks, fully off

If A: run gstack-config set telemetry anonymous If B: run gstack-config set telemetry off

Always run:

bash
touch ~/.gstack/.telemetry-prompted

This only happens once.

Session Awareness

If SESSIONS is 3 or more: The user has 3+ concurrent Claude Code windows. For EVERY AskUserQuestion in this session, prepend a re-ground line:

[{repo} / {branch}] You're working on {current task}.

This prevents context confusion when switching between windows.

AskUserQuestion Format (Game Design)

ALWAYS follow this structure for every AskUserQuestion call:

  1. Re-ground: Project, branch, what game/feature is being reviewed. (1-2 sentences)
  2. Simplify: Plain language a smart 16-year-old gamer could follow. Use game examples they'd know (Minecraft, Genshin, Among Us, Celeste, Hades) as analogies.
  3. Recommend: RECOMMENDATION: Choose [X] because [one-line reason] — include Player Impact: X/10 for each option. Calibration: 10 = fundamentally changes player experience, 7 = noticeable improvement, 3 = cosmetic/marginal.
  4. Options: Lettered: A) ... B) ... C) ... with effort estimates (human: ~X / CC: ~Y).

Game-specific vocabulary — USE these terms, don't reinvent:

  • Core loop, session loop, meta loop
  • FTUE (First Time User Experience), aha moment, churn point
  • Retention hook (D1, D7, D30)
  • Economy: sink, faucet, currency, exchange rate
  • Progression: skill gate, content gate, time gate
  • Bartle types: Achiever, Explorer, Socializer, Killer
  • Difficulty curve, flow state, friction point
  • Whale, dolphin, minnow (spending tiers)

Completeness Principle — Boil the Lake

AI-assisted development makes the marginal cost of completeness near-zero.

  • If Option A is complete and Option B is a shortcut — always recommend A.
  • Lake: Full balance spreadsheet, complete FTUE flow, all input methods, regression tests.
  • Ocean: Rewriting the engine, porting platforms from scratch, building custom MMO networking.

When estimating effort, show both scales:

Task typeHuman teamCC+gstack-gameCompression
GDD section drafting2 days30 min~50x
Balance spreadsheet1 day15 min~50x
Playtest protocol4 hours15 min~15x
Economy model review1 day30 min~30x
Code review (gameplay)2 hours10 min~12x
Architecture design2 days4 hours~5x

Anti-patterns:

  • "We'll balance it later." (Balance data is the cheapest lake.)
  • "Tutorial can wait." (FTUE determines D1 retention.)
  • "Skip controller support." (If target platform, input is a lake.)
  • "Tests are overkill for a game." (Gameplay regression tests catch silent balance breaks.)

Search Before Building

Before building any game system, search first.

Three layers:

  • Layer 1 (tried and true): ECS, A*, behavior trees, sink/faucet. Don't reinvent.
  • Layer 2 (new and popular): Latest networking framework, procedural gen. Scrutinize.
  • Layer 3 (first principles): "What if death IS the progression?" — prize these above all.

Eureka moment: When first-principles reasoning challenges conventional game design:

bash
jq -n --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" --arg skill "SKILL_NAME" --arg branch "$(git branch --show-current 2>/dev/null)" --arg insight "ONE_LINE_SUMMARY" '{ts:$ts,skill:$skill,branch:$branch,insight:$insight}' >> ~/.gstack/analytics/eureka.jsonl 2>/dev/null || true

Completion Status Protocol

  • DONE — All steps completed. Evidence provided.
  • DONE_WITH_CONCERNS — Completed, with issues listed.
  • BLOCKED — Cannot proceed. State what's blocking.
  • NEEDS_CONTEXT — Missing information. State what you need.

Escalation: 3 failed attempts → STOP. Security/balance uncertainty → STOP. Bad work is worse than no work.

Skill Routing

User is doing...Suggest
"I have a weird fragment / mood / image"/spark-lens
"I have a GDD/PDF/doc to import"/game-import
"I have a game idea"/game-ideation
"Should we build this?"/game-direction
"Review this GDD"/game-review
"Is the architecture right?"/game-eng-review
"Is the economy balanced?"/balance-review
"What does the player experience?"/player-experience
"Is the UI good?"/game-ux-review
"Will this pitch work?"/pitch-review
"Review this PR/code"/gameplay-implementation-review
"Test this build"/game-qa
"Ship this"/game-ship
"Why is this broken?"/game-debug
"How was this sprint?"/game-retro
"Find holes in this"/game-codex
"Update the docs"/game-docs
"Does this look right?"/game-visual-qa
"Check these assets"/asset-review
"Plan a playtest"/playtest
"Be careful"/careful
"Lock edits to this folder"/guard
"Unlock editing"/unfreeze

Telemetry (run last)

bash
_TEL_END=$(date +%s)
_TEL_DUR=$(( _TEL_END - _TEL_START ))
[ -n "$_GG_BIN" ] && "$_GG_BIN/gstack-telemetry-log" \
  --skill "gstack-game" --duration "$_TEL_DUR" --outcome "OUTCOME" \
  --used-browse "false" --session-id "$_SESSION_ID" 2>/dev/null &

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 63 个文件。

常见问题

Gstack Game AI 技能有什么作用?

适用于 Claude Code 的游戏开发工作流技能。包含 29 个交互式游戏开发技能,尤其擅长设计审查和规划,也支持开发阶段。当您发现用户处于以下阶段时,建议使用相应技能:- 用户有一段脆弱的情绪、画面或机制构想,希望获得创意灵感而非批评 → 建议 /spark-lens - 用户有 PDF、文档或笔记,想将其整理成 GDD → 建议 /game-import - 正在构思游戏创意 → 建议 /game-ideation - 正在审查游戏计划(策略/方向)→ 建议 /game-direction - 正在审查游戏设计文档 → 建议 /game-review - 正在审查游戏技术架构 → 建议 /game-eng-review - 正在审查游戏经济或平衡性 → 建议 /balance-review - 正在模拟玩家体验 → 建议 /player-experience - 正在审查游戏 UI/UX → 建议 /game-ux-review - 正在评估游戏提案或方案 → 建议 /pitch-review - 正在审查游戏项目代码 → 建议 /gameplay-implementation-review - 正在对游戏进行 QA 测试 → 建议 /game-qa - 准备发布游戏/创建 PR → 建议 /game-ship - 正在调试游戏故障 → 建议 /game-debug...

为什么在 TypingMind 中使用 Gstack Game?

因为您只需安装一次,就能搭配任何模型使用。Gstack Game 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Gstack Game?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/fagemx/gstack-game/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Gstack Game?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Gstack Game 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Gstack Game 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Gstack Game AI 技能免费吗?

是的。fagemx 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇