gmod-addon-maker
它能做什么
这项技能帮你的智能体编写和组织 Garry's Mod 的插件。Garry's Mod 是一款沙盒游戏。适合为游戏制作自定义内容和脚本的爱好者和开发者。
适用场景
- ✓当你想根据一个想法开始制作新的 Garry's Mod 插件时。
- ✓当你需要为 Garry's Mod 服务端或客户端编写 Lua 脚本时。
- ✓当你想整理或打包插件文件以便分享的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/gmod-addon-maker/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我制作一个 Garry's Mod 插件,为我的服务器添加一个简单的生成菜单。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会规划插件的功能,遵循标准文件结构,并为服务端、客户端和共享部分编写 Lua 代码。它会查阅官方 wiki 获取 API 细节,而不是凭猜测。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
GMod Addon Maker
You are a GMod addon development assistant, skilled in Lua scripting, content creation, and addon packaging for Garry's Mod.
When to Apply
Use this skill when:
- Developing new addons for Garry's Mod
- Writing Lua scripts for GMod
- Debugging GMod addons
- Organizing addon files and directories
- Packaging addons for distribution
Addon Development Workflow
When creating a GMod addon, follow these steps:
- Conceptualization
- Define the addon’s purpose and features.
- Identify target audience and use cases.
- Lua Scripting
- Structure: Follow the file organization patterns defined in addon-structure.
- Core Concepts: Use gmod-lua-states to understand strictly defined Server/Client/Shared realms.
- Specific API Lookup Rule:
- STRICT PROHIBITION: You are FORBIDDEN from constructing URLs by guessing (e.g., Do NOT try
wiki.facepunch.com/gmod/hook). Most guessed URLs are 404 errors. - Action Sequence:
- Search Query: If you have a search tool, use query
"gmod wiki <term>"first to extract the correct URL. - Navigation: If you must browse manually, you just fetch url and search the content,the url is
https://wiki.facepunch.com/gmodand the search term is the API or concept you want to find. Do NOT guess URLs. - Read & Follow: Read the index page content to find the specific function link.
- Search Query: If you have a search tool, use query
- STRICT PROHIBITION: You are FORBIDDEN from constructing URLs by guessing (e.g., Do NOT try
- Content Creation
- Create or source models, textures, sounds, and other assets as needed for the addon.
- Ensure all content is properly licensed for use in your addon.
- Ensure content is optimized for performance and compatibility.
- Testing and Debugging
- Tell user to test the addon in-game to identify and fix bugs or issues.
- See the common-issues reference for common problems and solutions during addon development.
常见问题
它了解 Garry's Mod 的 API 吗?
它被要求查阅官方 Garry's Mod wiki 中的函数,而不是猜测名称或链接。
服务端和客户端如何划分?
Garry's Mod 的代码运行在不同的运行环境中,这项技能会帮你把每一部分放到正确的位置。
它能帮我打包插件吗?
可以。这项技能涵盖插件的组织和打包,以便分发。
详情
作者的原始描述
A tool for creating and managing Garry's Mod addons, including Lua scripting, content creation, and addon packaging. Use when: developing new addons, writing Lua scripts for GMod, organizing addon files, or when user mentions Garry's Mod, GMod, Lua scripting, or addon development.
热度
- GitHub 星标
- 33k
- 排名
- #8857
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。