Chuyển đến nội dung
Skillpedia
Lập trình chung33k · #8857

gmod-addon-maker

Skill này làm gì

Skill này giúp agent của bạn viết và tổ chức addon cho Garry's Mod, một trò chơi sandbox. Skill dành cho người chơi và lập trình viên nghiệp dư tạo nội dung và script tùy chỉnh cho trò chơi.

Khi nào nên dùng

  • ✓Khi bạn muốn bắt đầu một addon Garry's Mod mới từ một ý tưởng.
  • ✓Khi bạn cần các script Lua được viết cho máy chủ hoặc máy khách Garry's Mod.
  • ✓Khi bạn muốn tổ chức hoặc đóng gói các file addon để chia sẻ.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/gmod-addon-maker/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/gmod-addon-maker/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi làm một addon Garry's Mod thêm một menu spawn đơn giản cho máy chủ của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent lên kế hoạch các tính năng của addon, theo một cấu trúc file chuẩn, rồi viết mã Lua cho phần máy chủ, máy khách và phần dùng chung. Agent tra cứu wiki chính thức để biết chi tiết API thay vì đoán.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

  1. Conceptualization
    • Define the addon’s purpose and features.
    • Identify target audience and use cases.
  2. 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:
        1. Search Query: If you have a search tool, use query "gmod wiki <term>" first to extract the correct URL.
        2. Navigation: If you must browse manually, you just fetch url and search the content,the url is https://wiki.facepunch.com/gmod and the search term is the API or concept you want to find. Do NOT guess URLs.
        3. Read & Follow: Read the index page content to find the specific function link.
  3. 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.
  4. 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.
Câu hỏi thường gặp

Skill có biết API của Garry's Mod không?

Skill được hướng dẫn tra cứu các hàm trong wiki Garry's Mod chính thức thay vì đoán tên hoặc liên kết.

Tách máy chủ và máy khách là gì?

Mã Garry's Mod chạy trong các môi trường riêng biệt, nên skill giúp bạn đặt từng phần vào đúng chỗ.

Nó có giúp tôi đóng gói addon không?

Có. Skill bao gồm việc tổ chức và đóng gói addon để phân phối.

Chi tiết

Mô tả gốc của tác giả

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.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8857
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự