Godot Genre Survival 标志

Godot Genre Survival

社区
thedivergentai
godot-genre-survival

生存游戏(Minecraft、Don't Starve、The Forest、Rust)的专家级设计蓝图,涵盖需求系统、资源采集、制作配方、基地建设和平衡成长进度。构建开放世界生存、以制作玩法为核心或资源管理类游戏时使用。关键词:生存、需求系统、制作、物品栏、饥饿、资源采集、基地建设。

Add to TypingMind

概览

发布者thedivergentai
代码仓库GD-Agentic-Skills
技能名称godot-genre-survival
星标数
727
复刻数
43
附带文件
17
许可协议LGPL-3.0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 17 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thedivergentai/GD-Agentic-Skills.git /tmp/GD-Agentic-Skills
mkdir -p .claude/skills
cp -r /tmp/GD-Agentic-Skills/skills/godot-genre-survival .claude/skills/godot-genre-survival
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Godot Genre Survival。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

NEVER Do (Expert Anti-Patterns)

Physiology & Needs

  • NEVER use constant "Needs" decay; strictly scale with activity (e.g., Sprinting drains hunger 3x faster than idling).
  • NEVER use Instant Death for starvation/dehydration; strictly trigger gradual HP drain and provide distinct visual/audio warnings.
  • NEVER use float timers for exact life-critical checks; strictly use is_equal_approx() or <= to prevent 0.0 precision misses.
  • NEVER represent world time/day cycles within UI scripts; strictly use an AutoLoad (Singleton) to decouple state from visuals.

Gathering & Inventory

  • NEVER make gathering tedious without progression; strictly implement Tiered Tool Scaling (e.g., Stone Axe = 1 wood/hit, Steel Axe = 5 wood/hit) to reward technical advancement.
  • NEVER allow infinite inventory stacking; strictly use Weight Capacity or strict Stack Limits (e.g., 64 items) to force strategic resource management.
  • NEVER force players to "Guess" crafting recipes; strictly use a Discovery System where recipes unlock upon acquiring materials.
  • NEVER forget to duplicate(true) a shared Resource (like Item Durability); otherwise, all instances will break simultaneously.
  • NEVER store heavy item/crafting definitions in Node properties; strictly use custom Resource containers for lightweight data.

World & Performance

  • NEVER spawn threats at Respawn Points; strictly enforce a Safe Zone radius (Beds/Spawn) where enemy spawning is prohibited.
  • NEVER instance 10,000 individual MeshInstance3D nodes for foliage; strictly use MultiMeshInstance3D for batched draw calls.
  • NEVER load massive world chunks synchronously; strictly use ResourceLoader.load_threaded_request() to prevent hitches.
  • NEVER save complex dictionaries to standard text files; strictly use binary serialization for speed and size efficiency.
  • NEVER run procedural terrain/noise algorithms on the main thread; strictly offload to the WorkerThreadPool.
  • NEVER hardcode massive crafting tables in GDScript; strictly use ConfigFile or JSON for easy balancing and modding.

Expert Components (scripts/)

MANDATORY: Prefer these scripts over inline stubs. Do not paste pass architectures into scenes.

survival_patterns.gd

MANDATORY first read — Activity-scaled vitals, MultiMesh populate, threaded chunk load, WorkerThreadPool noise chunks (generate_noise_chunk_async), GridMap snap/place, Persist collect, deep duplicate(true).

status_depletion_manager.gd

MANDATORY for needs — Activity-scaled hunger/thirst in _physics_process (aligns with NEVER: no constant decay).

inventory_data.gd

Core Resource-based grid inventory: stack limits, metadata, add/remove.

inventory_slot_data.gd

Lightweight UI↔logic slot DTO.

inventory_slot_resource.gd

Serializable slot Resource with durability tracking.

modular_inventory_controller.gd

Controller wiring inventory data to UI signals.

interactable.gd

Universal harvest / pickup / world-trigger interface.

crafting_recipe_processor.gd

Ingredient check → consume → grant result (discovery-friendly).


Decision Tree — Survival Systems

NeedRoute
Item / recipe / durability dataCustom Resource + inventory_slot_resource.gd
Bag / stack / weightinventory_data.gd + modular_inventory_controller.gd — weight caps / drag-drop UI → godot-inventory-system (Do NOT re-teach grid UI here)
Hunger / thirststatus_depletion_manager.gd — set sprinting from movement
Harvest / open / pickupinteractable.gd
Craftcrafting_recipe_processor.gd
Base build snapsurvival_patterns.gd place_if_empty / GridMap
Forest foliageMultiMesh via populate_nature — never 10k MeshInstance3D
Chunk streamload_world_chunk threaded path in survival_patterns
Procedural noise / biomes at scalegenerate_noise_chunk_async in survival_patterns — or MANDATORY godot-procedural-generation when terrain exceeds chunk helpers
PhasePeer skillsPurpose
1. Datagodot-resource-data-patternsItem/recipe Resources
2. UIgodot-ui-containers, godot-inventory-systemGrid + drag/drop
3. Worldgodot-procedural-generation, godot-3d-world-buildingNoise, GridMap
4. Logicgodot-signal-architecture, godot-state-machine-advancedNeeds + interaction
5. Savegodot-save-load-systemsWorld + inventory + recipes

Key Mechanics (pointers, not tutorials)

Needs (activity-scaled)

Wire movement → StatusDepletionManager.sprinting. Empty vitals → gradual HP drain + warnings (never instant death). See script — do not reintroduce constant decay_rate in _process.

Tiered Tool Scaling

Stone Axe 1 yield / Steel Axe 5 yield / proximity Auto-Saw — encode as item Resource metadata, not hardcoded harvest scripts.

Spawn Safe Zones

Re-roll spawn points outside bed/player_beds radius before enabling threat spawners.

Godot-Specific Tips

  • TileMapLayer (Godot 4) for 2D worlds — do not use Godot 3 TileMap APIs.
  • FastNoiseLite for biome/resource density (off main thread via WorkerThreadPool for heavy maps).
  • ResourceSaver / binary serialization for large inventories and chunk dicts.
  • Y-Sort for top-down 2D occlusion with trees/props.

Common Pitfalls

  1. Tedium — Scale gather yield with tool tier.
  2. Inventory clutter — Generous stacks + storage sinks.
  3. No goals — Tech tree / boss pressure beyond pure survive.

Elite Technical Implementations

MANDATORY when starting base-building snap or biome/noise work: read elite-technical-patterns.md. Do NOT Load for first-pass needs/inventory/crafting — use the script catalog above.

Deep recipes (on demand)

TopicReference / script
Needs / crafting / toolskey-mechanics.md + bundled survival scripts
Base build grid snapelite-technical-patterns.md + base_builder.gd
Biome / spawn safetyelite-technical-patterns.md + biome_generator.gd

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

  • Resources — Item definitions, recipe tables, and inventory slots belong as Resources so designers retune weight, stack limits, and durability without code changes.
  • Idle and physics processing — Hunger/thirst decay must multiply by delta in _physics_process (or _process) so vital drain stays frame-rate independent.
  • Singletons (Autoload) — World time, day/night, and global needs state belong in Autoloads so UI scripts never own the clock.
  • Using signals — Inventory and crafting should emit change signals so HUD grids update without polling every frame.
  • Saving games — Persist inventory, unlocked recipes, base GridMap cells, and player vitals across sessions.
  • Binary serialization API — Large world/chunk dictionaries should use binary packs instead of bulky text dumps.
  • Background loading — Stream world chunks with ResourceLoader.load_threaded_request() to avoid hitching while exploring.
  • Using GridMaps — Base-building snaps and octant-batched structure pieces use GridMap.local_to_map / set_cell_item.
  • Using MultiMesh — Forests, rocks, and harvestable foliage must batch via MultiMesh instead of thousands of MeshInstance3D nodes.
  • Using multiple threads — Procedural noise/terrain generation belongs on WorkerThreadPool, never the main thread.
  • FastNoiseLite — Biome and resource density maps sample FastNoiseLite gradients for organic world layout.
  • AStarGrid2D — When players place structures, mark cells solid so AI reroutes around new bases immediately.

Related Skills

Prerequisites
  • godot-gdscript-mastery — is_equal_approx, Resource duplicate(true), and delta-scaled timers are foundational before vital and inventory logic.
  • godot-resource-data-patterns — Items, recipes, and slot payloads must be Resource-first so durability and stack metadata serialize cleanly.
  • godot-signal-architecture — Inventory/crafting buses should signal UI and interaction systems without tight Node coupling.
  • godot-autoload-architecture — Day cycles and global needs managers that survive scene swaps follow Autoload ownership rules.
Complements
  • godot-inventory-system — Grid stacking, weight capacity, and drag/drop UIs deepen the survival bag beyond genre sketches.
  • godot-save-load-systems — Versioned world saves cover inventory Resources, base cells, and unlocked recipe lists.
  • godot-procedural-generation — Noise biomes and resource scatter compose with FastNoiseLite patterns in this skill.
  • godot-3d-world-building — GridMap tooling, collision, and LOD practices support large player-built bases.
  • godot-ai-navigation — Threat AI that respects built walls needs NavigationAgent / AStar updates when structures change.
  • godot-ui-containers — Crafting menus and inventory grids are Control layout problems, not gameplay scripts.
  • godot-game-loop-harvest — Tiered tool yield and gather loops share harvest-loop patterns with survival gathering.
Downstream / consumers
  • godot-monte-carlo-balancer — After recipe costs, tool tiers, and need decay rates are data-driven, Monte Carlo careers prove hours-to-tech and starvation risk bands before shipping balance sheets.
  • godot-genre-open-world — Open-world survival consumes chunk streaming, safe-zone spawn, and scarcity loops defined here.
  • godot-economy-system — Trading posts and crafted-good sinks extend survival crafting into soft-currency economies.
Master
  • godot-master — Library router and mirrored module entry; use when discovering peer skills or syncing shared script mirrors after Domain Skill edits.

附带文件

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

常见问题

Godot Genre Survival AI 技能有什么作用?

生存游戏(Minecraft、Don't Starve、The Forest、Rust)的专家级设计蓝图,涵盖需求系统、资源采集、制作配方、基地建设和平衡成长进度。构建开放世界生存、以制作玩法为核心或资源管理类游戏时使用。关键词:生存、需求系统、制作、物品栏、饥饿、资源采集、基地建设。

为什么在 TypingMind 中使用 Godot Genre Survival?

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

如何在 TypingMind 中安装 Godot Genre Survival?

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

哪些 AI 模型可以使用 Godot Genre Survival?

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

Godot Genre Survival 可以搭配多少个 AI 模型使用?

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

Godot Genre Survival AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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