925236118/alphaagent/godot-save-system
Claude Code and agent skill by 925236118/alphaagent
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Godot 4 存档系统设计,包含资源序列化、加密存储、存档管理和数据回滚。
Install
npx vskill@latest install 925236118/alphaagent/godot-save-systemSKILL.md
Godot 存档系统设计
概述
存档系统是游戏的核心功能之一,负责保存和加载玩家数据。Godot 提供了 FileAccess、ResourceSaver 等工具,结合 JSON 或二进制格式实现存档功能。
1. 存档管理器
1.1 核心实现
2. 可存档对象
2.1 Saveable 基类
2.2 使用示例
3. 存档数据结构
3.1 完整存档格式
4. 场景状态管理
5. 自动保存机制
6. 设计模式总结
| 模式 | 应用场景 | |
|---|---|---|
| 备忘录模式 | 保存/恢复对象状态 | |
| 观察者模式 | 信号通知存档状态变化 | |
| 外观模式 | SaveManager 提供统一存档接口 | |
| 策略模式 | 支持多种存档格式(JSON、二进制) |
7. 注意事项
| 注意事项 | 说明 | |
|---|---|---|
| 数据验证 | 加载前验证存档版本和完整性 | |
| 向后兼容 | 处理旧版本存档的字段缺失 | |
| 加密存储 | 敏感数据使用加密 | |
| 异步操作 | 大型存档使用异步读写 |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaddons/agent/skills/default_skills/godot-save-system/SKILL.md
Popularity
- Repository stars
- 103
- Repository forks
- 14
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/925236118/alphaagent/godot-save-system)