# Godot Gdscript Grammar

> Godot GDScript语法详解。当用户需要GDScript语法相关信息时使用。

- **Type:** Skill
- **Install:** `agentstack add skill-fenixnix-godot-skills-godot-gdscript-grammar`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [fenixnix](https://agentstack.voostack.com/s/fenixnix)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [fenixnix](https://github.com/fenixnix)
- **Source:** https://github.com/fenixnix/Godot-Skills/tree/master/skills/godot-gdscript-grammar

## Install

```sh
agentstack add skill-fenixnix-godot-skills-godot-gdscript-grammar
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# godot-gdscript-grammar

## 何时使用
当用户需要GDScript语法详解和示例代码时使用此技能。

## 执行指示
1. 提供GDScript语法的详细说明
2. 回答用户关于GDScript语法规则、数据类型、控制流等问题
3. 提供GDScript示例代码和最佳实践

## 输出格式
返回GDScript语法详解内容，包括代码示例和使用说明。

## 示例

**用户请求：**
我需要了解GDScript的函数定义语法。

**执行过程：**
1. 查找GDScript函数定义相关内容
2. 提供详细说明和示例代码

**输出：**
GDScript函数定义语法：

```gdscript
# 基本函数定义
func my_function():
    print("Hello from function")

# 带参数的函数
func add(a, b):
    return a + b

# 带类型注解的函数
func multiply(a: int, b: int) -> int:
    return a * b

# 带默认参数的函数
func greet(name: String = "World"):
    print("Hello, %s!" % name)

# 可变参数函数
func sum_all(args...):
    var total = 0
    for arg in args:
        total += arg
    return total
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [fenixnix](https://github.com/fenixnix)
- **Source:** [fenixnix/Godot-Skills](https://github.com/fenixnix/Godot-Skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-fenixnix-godot-skills-godot-gdscript-grammar
- Seller: https://agentstack.voostack.com/s/fenixnix
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
