[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQ2A0H3QWKDWA25CFVXGED":3,"skill-same:01M6HQ2A0H3QWKDWA25CFVXGED":94},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":74,"commitSha":75,"skillDirectory":76,"forksCount":77,"repositoryHtmlUrl":78,"repositoryHomepageUrl":6,"ownerHtmlUrl":79,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":80,"install":81,"resources":93},"01M6HQ2A0H3QWKDWA25CFVXGED","godot-modernize-input",null,"在 Godot 4.x 项目中处理输入并需要现代化模式时使用。 从硬编码的按键检测生成 Input Map 配置，设置手柄震动（Godot 4.x 功能）， 实现移动端陀螺仪\u002F加速度计输入，创建不同游戏状态的上下文敏感输入处理， 并添加输入缓冲以提升游戏响应性。将旧的 InputEvent 模式转换为 现代 Godot 4.x 最佳实践。","welflau\u002Fai-dev-system","welflau","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7010385?v=4","01M6HPTDGF18RFY07M229P8CTM","01M6HPTDMRMZCJPYBFEA9XVVYT",3,"MIT","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fconfig_packs\u002Fgodot-dev\u002Fclaude\u002Fskills\u002Fgodot-modernize-input\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"godot modernize input","godot","input","modernize","input-map","gamepad","input-buffering","mobile-input","accelerometer","gyroscope","haptic","rumble","joypad","linux","input-handling","project","README","tool","development","windows","2026-11-10 10:12:30",false,"---\nname: godot-modernize-input\nversion: 2.0.0\ndisplayName: 现代化输入处理\ndescription: >\n  在 Godot 4.x 项目中处理输入并需要现代化模式时使用。\n  从硬编码的按键检测生成 Input Map 配置，设置手柄震动（Godot 4.x 功能），\n  实现移动端陀螺仪\u002F加速度计输入，创建不同游戏状态的上下文敏感输入处理，\n  并添加输入缓冲以提升游戏响应性。将旧的 InputEvent 模式转换为\n  现代 Godot 4.x 最佳实践。\nauthor: Asreonn\nlicense: MIT\ncategory: game-development\ntype: tool\ndifficulty: intermediate\naudience: [developers]\nkeywords:\n  - godot\n  - input-handling\n  - input-map\n  - joypad\n  - rumble\n  - haptic\n  - gyroscope\n  - accelerometer\n  - mobile-input\n  - input-buffering\n  - gdscript\n  - gamepad\n  - controller\nplatforms: [macos, linux, windows, android, ios]\nrepository: https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers\nhomepage: https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers#readme\n\npermissions:\n  filesystem:\n    read: [\".gd\", \".tscn\", \".tres\", \"project.godot\"]\n    write: [\".gd\", \".tscn\", \"project.godot\"]\n  git: true\n\nbehavior:\n  auto_rollback: true\n  validation: true\n  git_commits: true\n\noutputs: \"现代化的输入脚本、Input Map 配置、设备支持脚本、输入缓冲系统\"\nrequirements: \"Git 仓库，Godot 4.x，需要现代化的输入处理代码\"\nexecution: \"半自动执行，带检测提示和 git 提交\"\nintegration: \"与 godot-modernize-gdscript 配合使用以完成完整的代码库更新\"\n---\n\n# 现代化输入处理\n\n## 核心原则\n\n**输入处理应该是设备无关的、响应迅速的和上下文感知的。** 硬编码的按键检测、缺失的设备支持和无缓冲的输入会在跨平台时造成糟糕的玩家体验。\n\n## 此技能的功能\n\n### 1. 从代码生成 Input Map\n\n将硬编码的按键检测转换为 Input Map 动作：\n\n**转换前：**\n```gdscript\n# Hardcoded key checks - NOT recommended\nfunc _input(event):\n    if event is InputEventKey:\n        if event.keycode == KEY_SPACE:\n            jump()\n        if event.keycode == KEY_ESCAPE:\n            pause_game()\n    if event is InputEventMouseButton:\n        if event.button_index == MOUSE_BUTTON_LEFT:\n            shoot()\n```\n\n**转换后：**\n```gdscript\n# Modern Input Map usage\nfunc _input(event: InputEvent) -> void:\n    if event.is_action_pressed(\"jump\"):\n        jump()\n    if event.is_action_pressed(\"pause\"):\n        pause_game()\n    if event.is_action_pressed(\"shoot\"):\n        shoot()\n```\n\n**生成的 Input Map（project.godot）：**\n```ini\n[input]\n\njump={\n\"deadzone\": 0.5,\n\"events\": [Object(InputEventKey,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"window_id\":0,\"alt_pressed\":false,\"shift_pressed\":false,\"ctrl_pressed\":false,\"meta_pressed\":false,\"pressed\":false,\"keycode\":0,\"physical_keycode\":32,\"key_label\":0,\"unicode\":32,\"echo\":false,\"script\":null)\n, Object(InputEventJoypadButton,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"button_index\":0,\"pressure\":0.0,\"pressed\":false,\"script\":null)\n]\n}\n\nshoot={\n\"deadzone\": 0.5,\n\"events\": [Object(InputEventMouseButton,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"window_id\":0,\"alt_pressed\":false,\"shift_pressed\":false,\"ctrl_pressed\":false,\"meta_pressed\":false,\"button_mask\":0,\"position\":Vector2(0, 0),\"global_position\":Vector2(0, 0),\"factor\":1.0,\"button_index\":1,\"canceled\":false,\"pressed\":false,\"double_click\":false,\"script\":null)\n, Object(InputEventJoypadMotion,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"axis\":5,\"axis_value\":1.0,\"script\":null)\n]\n}\n```\n\n### 2. 手柄震动设置（Godot 4.x）\n\n为控制器实现触觉反馈：\n\n```gdscript\n# InputRumbler.gd - Autoload singleton\nextends Node\n\nconst WEAK_RUMBLE: float = 0.3\nconst MEDIUM_RUMBLE: float = 0.6\nconst STRONG_RUMBLE: float = 1.0\nconst SHORT_DURATION: float = 0.1\nconst MEDIUM_DURATION: float = 0.3\nconst LONG_DURATION: float = 0.8\n\nvar current_device: int = 0\n\nfunc _ready() -> void:\n    Input.joy_connection_changed.connect(_on_joy_connection_changed)\n\nfunc _on_joy_connection_changed(device: int, connected: bool) -> void:\n    if connected:\n        current_device = device\n        print(\"Controller connected: \", Input.get_joy_name(device))\n\nfunc rumble(weak_magnitude: float, strong_magnitude: float, duration: float) -> void:\n    if Input.get_joy_name(current_device).is_empty():\n        return\n\n    Input.start_joy_vibration(current_device, weak_magnitude, strong_magnitude, duration)\n\nfunc rumble_impact() -> void:\n    rumble(WEAK_RUMBLE, STRONG_RUMBLE, SHORT_DURATION)\n\nfunc rumble_damage() -> void:\n    rumble(MEDIUM_RUMBLE, MEDIUM_RUMBLE, MEDIUM_DURATION)\n\nfunc rumble_explosion() -> void:\n    rumble(STRONG_RUMBLE, STRONG_RUMBLE, LONG_DURATION)\n\nfunc rumble_heartbeat() -> void:\n    rumble(WEAK_RUMBLE, 0.0, 0.5)\n    await get_tree().create_timer(0.6).timeout\n    rumble(WEAK_RUMBLE, 0.0, 0.5)\n```\n\n### 3. 陀螺仪\u002F加速度计输入（移动端）\n\n为移动设备实现运动控制：\n\n```gdscript\n# MotionController.gd\nextends Node\n\n@export var tilt_sensitivity: float = 2.0\n@export var shake_threshold: float = 15.0\n\nsignal tilt_detected(direction: Vector2)\nsignal shake_detected\n\nvar accelerometer_enabled: bool = false\nvar gyroscope_enabled: bool = false\n\nfunc _ready() -> void:\n    # Check if running on mobile\n    if OS.has_feature(\"mobile\") or OS.has_feature(\"android\") or OS.has_feature(\"ios\"):\n        enable_motion_sensors()\n\nfunc enable_motion_sensors() -> void:\n    if DisplayServer.has_feature(DisplayServer.FEATURE_TOUCHSCREEN):\n        # Enable accelerometer (gravity + user acceleration)\n        if DisplayServer.has_feature(DisplayServer.FEATURE_SENSOR_ACCELEROMETER):\n            DisplayServer.accelerometer_set_mode(DisplayServer.ACCELEROMETER_MODE_COMBINED)\n            accelerometer_enabled = true\n\n        # Enable gyroscope for rotation rate\n        if DisplayServer.has_feature(DisplayServer.FEATURE_SENSOR_GYROSCOPE):\n            gyroscope_enabled = true\n\nfunc _process(delta: float) -> void:\n    if not (accelerometer_enabled or gyroscope_enabled):\n        return\n\n    # Handle tilt-based movement\n    if accelerometer_enabled:\n        var accel: Vector3 = Input.get_accelerometer()\n        var tilt: Vector2 = Vector2(accel.x, -accel.y) * tilt_sensitivity\n\n        if tilt.length() > 0.1:\n            tilt_detected.emit(tilt)\n\n    # Handle shake detection\n    if gyroscope_enabled:\n        var gyro: Vector3 = Input.get_gyroscope()\n        if gyro.length() > shake_threshold:\n            shake_detected.emit()\n\nfunc get_tilt_direction() -> Vector2:\n    if not accelerometer_enabled:\n        return Vector2.ZERO\n\n    var accel: Vector3 = Input.get_accelerometer()\n    # Normalize for device orientation\n    return Vector2(accel.x, -accel.y).normalized()\n\nfunc calibrate_center() -> void:\n    # Store current orientation as neutral position\n    var current_accel: Vector3 = Input.get_accelerometer()\n    # Implementation: Store offset and apply to future readings\n```\n\n### 4. 上下文敏感输入处理\n\n管理不同输入上下文（游戏、菜单、对话等）：\n\n```gdscript\n# InputContextManager.gd - Autoload singleton\nextends Node\n\nenum Context {\n    GAMEPLAY,\n    MENU,\n    DIALOGUE,\n    PAUSED,\n    INVENTORY\n}\n\nvar current_context: Context = Context.GAMEPLAY\nvar context_stack: Array[Context] = []\n\n# Context-specific action mappings\nvar context_actions: Dictionary = {\n    Context.GAMEPLAY: [\"move_left\", \"move_right\", \"jump\", \"shoot\", \"interact\"],\n    Context.MENU: [\"ui_up\", \"ui_down\", \"ui_accept\", \"ui_cancel\", \"ui_left\", \"ui_right\"],\n    Context.DIALOGUE: [\"ui_accept\", \"ui_cancel\", \"skip_dialogue\"],\n    Context.PAUSED: [\"ui_accept\", \"ui_cancel\", \"resume\"],\n    Context.INVENTORY: [\"inventory_navigate\", \"inventory_use\", \"inventory_close\"]\n}\n\nfunc set_context(new_context: Context) -> void:\n    context_stack.push_back(current_context)\n    current_context = new_context\n    _update_input_processing()\n    print(\"Input context changed to: \", Context.keys()[new_context])\n\nfunc restore_previous_context() -> void:\n    if context_stack.size() > 0:\n        current_context = context_stack.pop_back()\n        _update_input_processing()\n\nfunc reset_to_gameplay() -> void:\n    context_stack.clear()\n    current_context = Context.GAMEPLAY\n    _update_input_processing()\n\nfunc _update_input_processing() -> void:\n    # Enable\u002Fdisable action processing based on context\n    var enabled_actions: Array = context_actions.get(current_context, [])\n\n    # This works with built-in UI actions too\n    match current_context:\n        Context.GAMEPLAY:\n            get_tree().paused = false\n        Context.PAUSED:\n            get_tree().paused = true\n        Context.MENU, Context.INVENTORY:\n            get_viewport().set_input_as_handled()\n\nfunc is_action_allowed(action: StringName) -> bool:\n    var enabled_actions: Array = context_actions.get(current_context, [])\n    return action in enabled_actions or action.begins_with(\"ui_\")\n\n# Example usage in player controller\nfunc _input(event: InputEvent) -> void:\n    if not InputContextManager.is_action_allowed(\"jump\"):\n        return\n\n    if event.is_action_pressed(\"jump\"):\n        jump()\n```\n\n### 5. 输入缓冲\n\n为响应灵敏的游戏体验添加输入缓冲：\n\n```gdscript\n# InputBuffer.gd - Component for responsive input\nextends Node\n\n@export var buffer_duration: float = 0.15  # 150ms buffer window\n\nvar buffered_actions: Dictionary = {}\n\nfunc _ready() -> void:\n    # Initialize buffer for common actions\n    buffered_actions = {\n        \"jump\": 0.0,\n        \"shoot\": 0.0,\n        \"dash\": 0.0,\n        \"interact\": 0.0\n    }\n\nfunc _process(delta: float) -> void:\n    # Decay buffer timers\n    for action in buffered_actions.keys():\n        if buffered_actions[action] > 0:\n            buffered_actions[action] -= delta\n\nfunc _input(event: InputEvent) -> void:\n    for action in buffered_actions.keys():\n        if event.is_action_pressed(action):\n            buffer_action(action)\n\nfunc buffer_action(action: StringName) -> void:\n    if action in buffered_actions:\n        buffered_actions[action] = buffer_duration\n\nfunc is_buffered(action: StringName) -> bool:\n    return action in buffered_actions and buffered_actions[action] > 0\n\nfunc consume_buffer(action: StringName) -> bool:\n    if is_buffered(action):\n        buffered_actions[action] = 0.0\n        return true\n    return false\n\n# Example usage in player controller\nfunc _physics_process(delta: float) -> void:\n    # Check buffered jump (allows jump before hitting ground)\n    if input_buffer.is_buffered(\"jump\") and is_on_floor():\n        input_buffer.consume_buffer(\"jump\")\n        velocity.y = jump_velocity\n```\n\n## 检测模式\n\n### 硬编码输入检测\n\n扫描以下模式：\n- 带有特定 `keycode` 值的 `InputEventKey`\n- 带有特定 `button_index` 值的 `InputEventMouseButton`\n- `Input.is_key_pressed()` 调用\n- 不使用动作映射的直接手柄按钮检测\n\n### 需要现代化的旧模式\n\n**旧版 Godot 3.x 模式：**\n```gdscript\nif event is InputEventKey and event.scancode == KEY_SPACE:\n    jump()\n```\n\n**现代 Godot 4.x：**\n```gdscript\nif event.is_action_pressed(\"jump\"):\n    jump()\n```\n\n## 设备支持矩阵\n\n| 输入类型 | 桌面端 | 移动端 | 主机 | 实现方式 |\n|------------|---------|--------|---------|----------------|\n| 键盘 | 支持 | 不支持 | 不支持 | Input Map |\n| 鼠标 | 支持 | 触摸模拟 | 不支持 | Input Map + 触摸模拟 |\n| 触摸 | 不支持 | 支持 | 不支持 | 触摸事件 + 虚拟摇杆 |\n| 手柄 | 支持 | 支持（MFi） | 支持 | Input Map 带死区 |\n| 陀螺仪 | 不支持 | 支持 | 不支持（仅 PS） | MotionController 单例 |\n| 震动 | 支持 | 不支持 | 支持 | InputRumbler 单例 |\n\n## 使用时机\n\n### 你正在添加控制器支持\n你的游戏只支持键鼠，需要添加手柄兼容性。\n\n### 你正在移植到移动端\n需要添加触摸控制、运动传感器，并为移动设备适配输入。\n\n### 输入感觉不灵敏\n玩家抱怨输入丢失；需要缓冲来实现精确的时机。\n\n### 存在上下文冲突\n菜单导航干扰了游戏操作；需要上下文敏感的处理。\n\n## 现代输入最佳实践\n\n### 1. 始终使用 Input Map 动作\n永远不要在游戏代码中硬编码按键检测。使用动作可以实现：\n- 按键重映射支持\n- 本地化（不同键盘布局）\n- 无障碍功能（自适应控制器）\n- 多设备类型支持\n\n### 2. 实现死区\n```gdscript\n# In Input Map configuration (project.godot)\nmove_left={\n\"deadzone\": 0.2,\n\"events\": [Object(InputEventJoypadMotion,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"axis\":0,\"axis_value\":-1.0,\"script\":null)\n]\n}\n```\n\n### 3. 同时支持多种输入类型\n```gdscript\nfunc _input(event: InputEvent) -> void:\n    # Handle keyboard\u002Fcontroller\n    if event.is_action_pressed(\"jump\"):\n        jump()\n\n    # Handle touch (mobile)\n    if event is InputEventScreenTouch and event.pressed:\n        if _is_touch_in_jump_zone(event.position):\n            jump()\n```\n\n### 4. 一次性操作使用 InputEvent，持续操作使用 _process\n```gdscript\n# One-shot actions (button presses)\nfunc _input(event: InputEvent) -> void:\n    if event.is_action_pressed(\"shoot\"):\n        shoot()\n\n# Continuous actions (held buttons)\nfunc _process(delta: float) -> void:\n    var move_direction := Input.get_vector(\"move_left\", \"move_right\", \"move_up\", \"move_down\")\n    velocity.x = move_direction.x * speed\n```\n\n## 集成\n\n可与以下技能配合使用：\n- **godot-modernize-gdscript** - 转换旧版 GDScript 模式\n- **godot-setup-multiplayer** - 跨网络同步输入\n- **godot-extract-to-scenes** - 将输入组件提取为可复用场景\n\n## 安全性\n\n- 每个输入现代化步骤一次 git 提交\n- 应用变更前进行检测审查\n- 每次转换都有回滚能力\n- 保留手动 Input Map 条目\n\n## 不应使用的情况\n\n以下情况不要现代化：\n- 输入处理已经正确使用 Input Map 动作\n- 你正在实现平台特定的输入（需要原始访问）\n- 旧版输入是为了兼容性而有意保留的\n\n## 示例\n\n### 完整的移动端设置\n```gdscript\n# MobileInputHandler.gd\nextends Node\n\n@onready var virtual_joystick: VirtualJoystick = $VirtualJoystick\n@onready var touch_buttons: Control = $TouchButtons\n\nfunc _ready() -> void:\n    # Only show touch UI on mobile\n    var is_mobile: bool = OS.has_feature(\"mobile\") or OS.has_feature(\"android\") or OS.has_feature(\"ios\")\n    virtual_joystick.visible = is_mobile\n    touch_buttons.visible = is_mobile\n\nfunc get_movement_input() -> Vector2:\n    # Combine gamepad and touch input\n    var input := Input.get_vector(\"move_left\", \"move_right\", \"move_up\", \"move_down\")\n\n    if virtual_joystick.visible:\n        input += virtual_joystick.output\n\n    return input.normalized()\n```\n\n### 输入重映射 UI\n```gdscript\n# RemapButton.gd\nextends Button\n\n@export var action: StringName\n\nfunc _ready() -> void:\n    pressed.connect(_on_pressed)\n    update_display()\n\nfunc _on_pressed() -> void:\n    text = \"Press any key...\"\n    set_process_input(true)\n\nfunc _input(event: InputEvent) -> void:\n    if event.is_pressed() and not event.is_echo():\n        # Clear existing events for this action\n        InputMap.action_erase_events(action)\n        InputMap.action_add_event(action, event)\n        set_process_input(false)\n        update_display()\n\nfunc update_display() -> void:\n    var events: Array[InputEvent] = InputMap.action_get_events(action)\n    if events.size() > 0:\n        text = events[0].as_text()\n    else:\n        text = \"Not assigned\"\n```\n","# 现代化输入处理\n\n## 核心原则\n\n**输入处理应该是设备无关的、响应迅速的和上下文感知的。** 硬编码的按键检测、缺失的设备支持和无缓冲的输入会在跨平台时造成糟糕的玩家体验。\n\n## 此技能的功能\n\n### 1. 从代码生成 Input Map\n\n将硬编码的按键检测转换为 Input Map 动作：\n\n**转换前：**\n```gdscript\n# Hardcoded key checks - NOT recommended\nfunc _input(event):\n    if event is InputEventKey:\n        if event.keycode == KEY_SPACE:\n            jump()\n        if event.keycode == KEY_ESCAPE:\n            pause_game()\n    if event is InputEventMouseButton:\n        if event.button_index == MOUSE_BUTTON_LEFT:\n            shoot()\n```\n\n**转换后：**\n```gdscript\n# Modern Input Map usage\nfunc _input(event: InputEvent) -> void:\n    if event.is_action_pressed(\"jump\"):\n        jump()\n    if event.is_action_pressed(\"pause\"):\n        pause_game()\n    if event.is_action_pressed(\"shoot\"):\n        shoot()\n```\n\n**生成的 Input Map（project.godot）：**\n```ini\n[input]\n\njump={\n\"deadzone\": 0.5,\n\"events\": [Object(InputEventKey,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"window_id\":0,\"alt_pressed\":false,\"shift_pressed\":false,\"ctrl_pressed\":false,\"meta_pressed\":false,\"pressed\":false,\"keycode\":0,\"physical_keycode\":32,\"key_label\":0,\"unicode\":32,\"echo\":false,\"script\":null)\n, Object(InputEventJoypadButton,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"button_index\":0,\"pressure\":0.0,\"pressed\":false,\"script\":null)\n]\n}\n\nshoot={\n\"deadzone\": 0.5,\n\"events\": [Object(InputEventMouseButton,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"window_id\":0,\"alt_pressed\":false,\"shift_pressed\":false,\"ctrl_pressed\":false,\"meta_pressed\":false,\"button_mask\":0,\"position\":Vector2(0, 0),\"global_position\":Vector2(0, 0),\"factor\":1.0,\"button_index\":1,\"canceled\":false,\"pressed\":false,\"double_click\":false,\"script\":null)\n, Object(InputEventJoypadMotion,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"axis\":5,\"axis_value\":1.0,\"script\":null)\n]\n}\n```\n\n### 2. 手柄震动设置（Godot 4.x）\n\n为控制器实现触觉反馈：\n\n```gdscript\n# InputRumbler.gd - Autoload singleton\nextends Node\n\nconst WEAK_RUMBLE: float = 0.3\nconst MEDIUM_RUMBLE: float = 0.6\nconst STRONG_RUMBLE: float = 1.0\nconst SHORT_DURATION: float = 0.1\nconst MEDIUM_DURATION: float = 0.3\nconst LONG_DURATION: float = 0.8\n\nvar current_device: int = 0\n\nfunc _ready() -> void:\n    Input.joy_connection_changed.connect(_on_joy_connection_changed)\n\nfunc _on_joy_connection_changed(device: int, connected: bool) -> void:\n    if connected:\n        current_device = device\n        print(\"Controller connected: \", Input.get_joy_name(device))\n\nfunc rumble(weak_magnitude: float, strong_magnitude: float, duration: float) -> void:\n    if Input.get_joy_name(current_device).is_empty():\n        return\n\n    Input.start_joy_vibration(current_device, weak_magnitude, strong_magnitude, duration)\n\nfunc rumble_impact() -> void:\n    rumble(WEAK_RUMBLE, STRONG_RUMBLE, SHORT_DURATION)\n\nfunc rumble_damage() -> void:\n    rumble(MEDIUM_RUMBLE, MEDIUM_RUMBLE, MEDIUM_DURATION)\n\nfunc rumble_explosion() -> void:\n    rumble(STRONG_RUMBLE, STRONG_RUMBLE, LONG_DURATION)\n\nfunc rumble_heartbeat() -> void:\n    rumble(WEAK_RUMBLE, 0.0, 0.5)\n    await get_tree().create_timer(0.6).timeout\n    rumble(WEAK_RUMBLE, 0.0, 0.5)\n```\n\n### 3. 陀螺仪\u002F加速度计输入（移动端）\n\n为移动设备实现运动控制：\n\n```gdscript\n# MotionController.gd\nextends Node\n\n@export var tilt_sensitivity: float = 2.0\n@export var shake_threshold: float = 15.0\n\nsignal tilt_detected(direction: Vector2)\nsignal shake_detected\n\nvar accelerometer_enabled: bool = false\nvar gyroscope_enabled: bool = false\n\nfunc _ready() -> void:\n    # Check if running on mobile\n    if OS.has_feature(\"mobile\") or OS.has_feature(\"android\") or OS.has_feature(\"ios\"):\n        enable_motion_sensors()\n\nfunc enable_motion_sensors() -> void:\n    if DisplayServer.has_feature(DisplayServer.FEATURE_TOUCHSCREEN):\n        # Enable accelerometer (gravity + user acceleration)\n        if DisplayServer.has_feature(DisplayServer.FEATURE_SENSOR_ACCELEROMETER):\n            DisplayServer.accelerometer_set_mode(DisplayServer.ACCELEROMETER_MODE_COMBINED)\n            accelerometer_enabled = true\n\n        # Enable gyroscope for rotation rate\n        if DisplayServer.has_feature(DisplayServer.FEATURE_SENSOR_GYROSCOPE):\n            gyroscope_enabled = true\n\nfunc _process(delta: float) -> void:\n    if not (accelerometer_enabled or gyroscope_enabled):\n        return\n\n    # Handle tilt-based movement\n    if accelerometer_enabled:\n        var accel: Vector3 = Input.get_accelerometer()\n        var tilt: Vector2 = Vector2(accel.x, -accel.y) * tilt_sensitivity\n\n        if tilt.length() > 0.1:\n            tilt_detected.emit(tilt)\n\n    # Handle shake detection\n    if gyroscope_enabled:\n        var gyro: Vector3 = Input.get_gyroscope()\n        if gyro.length() > shake_threshold:\n            shake_detected.emit()\n\nfunc get_tilt_direction() -> Vector2:\n    if not accelerometer_enabled:\n        return Vector2.ZERO\n\n    var accel: Vector3 = Input.get_accelerometer()\n    # Normalize for device orientation\n    return Vector2(accel.x, -accel.y).normalized()\n\nfunc calibrate_center() -> void:\n    # Store current orientation as neutral position\n    var current_accel: Vector3 = Input.get_accelerometer()\n    # Implementation: Store offset and apply to future readings\n```\n\n### 4. 上下文敏感输入处理\n\n管理不同输入上下文（游戏、菜单、对话等）：\n\n```gdscript\n# InputContextManager.gd - Autoload singleton\nextends Node\n\nenum Context {\n    GAMEPLAY,\n    MENU,\n    DIALOGUE,\n    PAUSED,\n    INVENTORY\n}\n\nvar current_context: Context = Context.GAMEPLAY\nvar context_stack: Array[Context] = []\n\n# Context-specific action mappings\nvar context_actions: Dictionary = {\n    Context.GAMEPLAY: [\"move_left\", \"move_right\", \"jump\", \"shoot\", \"interact\"],\n    Context.MENU: [\"ui_up\", \"ui_down\", \"ui_accept\", \"ui_cancel\", \"ui_left\", \"ui_right\"],\n    Context.DIALOGUE: [\"ui_accept\", \"ui_cancel\", \"skip_dialogue\"],\n    Context.PAUSED: [\"ui_accept\", \"ui_cancel\", \"resume\"],\n    Context.INVENTORY: [\"inventory_navigate\", \"inventory_use\", \"inventory_close\"]\n}\n\nfunc set_context(new_context: Context) -> void:\n    context_stack.push_back(current_context)\n    current_context = new_context\n    _update_input_processing()\n    print(\"Input context changed to: \", Context.keys()[new_context])\n\nfunc restore_previous_context() -> void:\n    if context_stack.size() > 0:\n        current_context = context_stack.pop_back()\n        _update_input_processing()\n\nfunc reset_to_gameplay() -> void:\n    context_stack.clear()\n    current_context = Context.GAMEPLAY\n    _update_input_processing()\n\nfunc _update_input_processing() -> void:\n    # Enable\u002Fdisable action processing based on context\n    var enabled_actions: Array = context_actions.get(current_context, [])\n\n    # This works with built-in UI actions too\n    match current_context:\n        Context.GAMEPLAY:\n            get_tree().paused = false\n        Context.PAUSED:\n            get_tree().paused = true\n        Context.MENU, Context.INVENTORY:\n            get_viewport().set_input_as_handled()\n\nfunc is_action_allowed(action: StringName) -> bool:\n    var enabled_actions: Array = context_actions.get(current_context, [])\n    return action in enabled_actions or action.begins_with(\"ui_\")\n\n# Example usage in player controller\nfunc _input(event: InputEvent) -> void:\n    if not InputContextManager.is_action_allowed(\"jump\"):\n        return\n\n    if event.is_action_pressed(\"jump\"):\n        jump()\n```\n\n### 5. 输入缓冲\n\n为响应灵敏的游戏体验添加输入缓冲：\n\n```gdscript\n# InputBuffer.gd - Component for responsive input\nextends Node\n\n@export var buffer_duration: float = 0.15  # 150ms buffer window\n\nvar buffered_actions: Dictionary = {}\n\nfunc _ready() -> void:\n    # Initialize buffer for common actions\n    buffered_actions = {\n        \"jump\": 0.0,\n        \"shoot\": 0.0,\n        \"dash\": 0.0,\n        \"interact\": 0.0\n    }\n\nfunc _process(delta: float) -> void:\n    # Decay buffer timers\n    for action in buffered_actions.keys():\n        if buffered_actions[action] > 0:\n            buffered_actions[action] -= delta\n\nfunc _input(event: InputEvent) -> void:\n    for action in buffered_actions.keys():\n        if event.is_action_pressed(action):\n            buffer_action(action)\n\nfunc buffer_action(action: StringName) -> void:\n    if action in buffered_actions:\n        buffered_actions[action] = buffer_duration\n\nfunc is_buffered(action: StringName) -> bool:\n    return action in buffered_actions and buffered_actions[action] > 0\n\nfunc consume_buffer(action: StringName) -> bool:\n    if is_buffered(action):\n        buffered_actions[action] = 0.0\n        return true\n    return false\n\n# Example usage in player controller\nfunc _physics_process(delta: float) -> void:\n    # Check buffered jump (allows jump before hitting ground)\n    if input_buffer.is_buffered(\"jump\") and is_on_floor():\n        input_buffer.consume_buffer(\"jump\")\n        velocity.y = jump_velocity\n```\n\n## 检测模式\n\n### 硬编码输入检测\n\n扫描以下模式：\n- 带有特定 `keycode` 值的 `InputEventKey`\n- 带有特定 `button_index` 值的 `InputEventMouseButton`\n- `Input.is_key_pressed()` 调用\n- 不使用动作映射的直接手柄按钮检测\n\n### 需要现代化的旧模式\n\n**旧版 Godot 3.x 模式：**\n```gdscript\nif event is InputEventKey and event.scancode == KEY_SPACE:\n    jump()\n```\n\n**现代 Godot 4.x：**\n```gdscript\nif event.is_action_pressed(\"jump\"):\n    jump()\n```\n\n## 设备支持矩阵\n\n| 输入类型 | 桌面端 | 移动端 | 主机 | 实现方式 |\n|------------|---------|--------|---------|----------------|\n| 键盘 | 支持 | 不支持 | 不支持 | Input Map |\n| 鼠标 | 支持 | 触摸模拟 | 不支持 | Input Map + 触摸模拟 |\n| 触摸 | 不支持 | 支持 | 不支持 | 触摸事件 + 虚拟摇杆 |\n| 手柄 | 支持 | 支持（MFi） | 支持 | Input Map 带死区 |\n| 陀螺仪 | 不支持 | 支持 | 不支持（仅 PS） | MotionController 单例 |\n| 震动 | 支持 | 不支持 | 支持 | InputRumbler 单例 |\n\n## 使用时机\n\n### 你正在添加控制器支持\n你的游戏只支持键鼠，需要添加手柄兼容性。\n\n### 你正在移植到移动端\n需要添加触摸控制、运动传感器，并为移动设备适配输入。\n\n### 输入感觉不灵敏\n玩家抱怨输入丢失；需要缓冲来实现精确的时机。\n\n### 存在上下文冲突\n菜单导航干扰了游戏操作；需要上下文敏感的处理。\n\n## 现代输入最佳实践\n\n### 1. 始终使用 Input Map 动作\n永远不要在游戏代码中硬编码按键检测。使用动作可以实现：\n- 按键重映射支持\n- 本地化（不同键盘布局）\n- 无障碍功能（自适应控制器）\n- 多设备类型支持\n\n### 2. 实现死区\n```gdscript\n# In Input Map configuration (project.godot)\nmove_left={\n\"deadzone\": 0.2,\n\"events\": [Object(InputEventJoypadMotion,\"resource_local_to_scene\":false,\"resource_name\":\"\",\"device\":-1,\"axis\":0,\"axis_value\":-1.0,\"script\":null)\n]\n}\n```\n\n### 3. 同时支持多种输入类型\n```gdscript\nfunc _input(event: InputEvent) -> void:\n    # Handle keyboard\u002Fcontroller\n    if event.is_action_pressed(\"jump\"):\n        jump()\n\n    # Handle touch (mobile)\n    if event is InputEventScreenTouch and event.pressed:\n        if _is_touch_in_jump_zone(event.position):\n            jump()\n```\n\n### 4. 一次性操作使用 InputEvent，持续操作使用 _process\n```gdscript\n# One-shot actions (button presses)\nfunc _input(event: InputEvent) -> void:\n    if event.is_action_pressed(\"shoot\"):\n        shoot()\n\n# Continuous actions (held buttons)\nfunc _process(delta: float) -> void:\n    var move_direction := Input.get_vector(\"move_left\", \"move_right\", \"move_up\", \"move_down\")\n    velocity.x = move_direction.x * speed\n```\n\n## 集成\n\n可与以下技能配合使用：\n- **godot-modernize-gdscript** - 转换旧版 GDScript 模式\n- **godot-setup-multiplayer** - 跨网络同步输入\n- **godot-extract-to-scenes** - 将输入组件提取为可复用场景\n\n## 安全性\n\n- 每个输入现代化步骤一次 git 提交\n- 应用变更前进行检测审查\n- 每次转换都有回滚能力\n- 保留手动 Input Map 条目\n\n## 不应使用的情况\n\n以下情况不要现代化：\n- 输入处理已经正确使用 Input Map 动作\n- 你正在实现平台特定的输入（需要原始访问）\n- 旧版输入是为了兼容性而有意保留的\n\n## 示例\n\n### 完整的移动端设置\n```gdscript\n# MobileInputHandler.gd\nextends Node\n\n@onready var virtual_joystick: VirtualJoystick = $VirtualJoystick\n@onready var touch_buttons: Control = $TouchButtons\n\nfunc _ready() -> void:\n    # Only show touch UI on mobile\n    var is_mobile: bool = OS.has_feature(\"mobile\") or OS.has_feature(\"android\") or OS.has_feature(\"ios\")\n    virtual_joystick.visible = is_mobile\n    touch_buttons.visible = is_mobile\n\nfunc get_movement_input() -> Vector2:\n    # Combine gamepad and touch input\n    var input := Input.get_vector(\"move_left\", \"move_right\", \"move_up\", \"move_down\")\n\n    if virtual_joystick.visible:\n        input += virtual_joystick.output\n\n    return input.normalized()\n```\n\n### 输入重映射 UI\n```gdscript\n# RemapButton.gd\nextends Button\n\n@export var action: StringName\n\nfunc _ready() -> void:\n    pressed.connect(_on_pressed)\n    update_display()\n\nfunc _on_pressed() -> void:\n    text = \"Press any key...\"\n    set_process_input(true)\n\nfunc _input(event: InputEvent) -> void:\n    if event.is_pressed() and not event.is_echo():\n        # Clear existing events for this action\n        InputMap.action_erase_events(action)\n        InputMap.action_add_event(action, event)\n        set_process_input(false)\n        update_display()\n\nfunc update_display() -> void:\n    var events: Array[InputEvent] = InputMap.action_get_events(action)\n    if events.size() > 0:\n        text = events[0].as_text()\n    else:\n        text = \"Not assigned\"\n```\n",{"name":5,"type":35,"author":43,"license":14,"outputs":44,"version":45,"audience":46,"behavior":48,"category":50,"homepage":51,"keywords":52,"execution":55,"platforms":56,"difficulty":60,"repository":61,"description":62,"displayName":63,"integration":64,"permissions":65,"requirements":73},"Asreonn","现代化的输入脚本、Input Map 配置、设备支持脚本、输入缓冲系统","2.0.0",[47],"developers",{"validation":49,"git_commits":49,"auto_rollback":49},true,"game-development","https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers#readme",[19,32,22,30,29,28,27,26,25,24,53,23,54],"gdscript","controller","半自动执行，带检测提示和 git 提交",[57,31,37,58,59],"macos","android","ios","intermediate","https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers","在 Godot 4.x 项目中处理输入并需要现代化模式时使用。 从硬编码的按键检测生成 Input Map 配置，设置手柄震动（Godot 4.x 功能）， 实现移动端陀螺仪\u002F加速度计输入，创建不同游戏状态的上下文敏感输入处理， 并添加输入缓冲以提升游戏响应性。将旧的 InputEvent 模式转换为 现代 Godot 4.x 最佳实践。\n","现代化输入处理","与 godot-modernize-gdscript 配合使用以完成完整的代码库更新",{"git":49,"filesystem":66},{"read":67,"write":72},[68,69,70,71],".gd",".tscn",".tres","project.godot",[68,69,71],"Git 仓库，Godot 4.x，需要现代化的输入处理代码","main","18d0e63d1313ca87098f614aa7c1e2dcf6de79c7","backend\u002Fconfig_packs\u002Fgodot-dev\u002Fclaude\u002Fskills\u002Fgodot-modernize-input",1,"https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system","https:\u002F\u002Fgithub.com\u002Fwelflau","2026-11-12 14:55:20",{"source":8,"skillName":5,"commands":82,"prompt":92,"zipAvailable":49},[83,86,89],{"tool":84,"command":85},"npx","npx skills add welflau\u002Fai-dev-system --skill godot-modernize-input",{"tool":87,"command":88},"bunx","bunx skills add welflau\u002Fai-dev-system --skill godot-modernize-input",{"tool":90,"command":91},"pnpm","pnpm dlx skills add welflau\u002Fai-dev-system --skill godot-modernize-input","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fconfig_packs\u002Fgodot-dev\u002Fclaude\u002Fskills\u002Fgodot-modernize-input\u002FSKILL.md",[],[95,130,159,185,215,240],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":99,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":111,"publishedAt":129},"01M6HS9Z4B0YA8CJCS2Y2F04Y3","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FSKILL.md",[103,108],{"categoryNo":104,"categoryName":105,"taxonomyType":106,"taxonomyTypeDesc":107},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":109,"categoryName":110,"taxonomyType":106,"taxonomyTypeDesc":107},"01JBSEEDCAT000000000000009","前端开发",[112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"testing","webapp testing","webapp","frontend","screenshots","playwright","web","debugging","toolkit","browser","ui","logs","applications","behavior","local","with","for","2026-11-11 15:11:14",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":99,"licenseFileUrl":134,"sourceHtmlUrl":135,"categories":136,"keywords":140,"publishedAt":129},"01M6HRAGMG7JF0HXYHMA5QHS8A","internal-comms","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FSKILL.md",[137],{"categoryNo":138,"categoryName":139,"taxonomyType":106,"taxonomyTypeDesc":107},"01JBSEEDCAT000000000000005","邮件与沟通",[141,142,143,144,145,146,147,148,149,150,151,33,152,153,154,155,156,157,158],"internal comms","comms","status","help","SET","write","use","reports","me","incident","leadership","resources","communications","internal communications","formats","sort","my","updates",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":99,"licenseFileUrl":163,"sourceHtmlUrl":164,"categories":165,"keywords":167,"publishedAt":38},"01M6HSTDP4M3JFXEBK91VFB4PA","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FSKILL.md",[166],{"categoryNo":109,"categoryName":110,"taxonomyType":106,"taxonomyTypeDesc":107},[168,118,169,170,171,115,172,173,174,175,176,177,178,179,147,180,181,182,183,128,184],"web artifacts builder","artifacts","artifacts builder","builder","css","components","react","routing","state management","state","file","Tailwind","single-file","simple","ui components","multi","single",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":99,"licenseFileUrl":189,"sourceHtmlUrl":190,"categories":191,"keywords":201,"publishedAt":38},"01M6HSDXH0JSP8R3QTNY9XZ8HN","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FSKILL.md",[192,193,196],{"categoryNo":109,"categoryName":110,"taxonomyType":106,"taxonomyTypeDesc":107},{"categoryNo":194,"categoryName":195,"taxonomyType":106,"taxonomyTypeDesc":107},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":197,"categoryName":198,"taxonomyType":199,"taxonomyTypeDesc":200},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[115,202,203,172,118,173,174,204,205,206,169,207,124,208,147,209,210,211,212,127,213,214],"design","frontend design","react components","create","code","examples","landing","ui design","pages","aesthetics","web ui","generic","when",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":99,"licenseFileUrl":219,"sourceHtmlUrl":220,"categories":221,"keywords":223,"publishedAt":38},"01M6HSA77QYVP7A72HREGTDN2C","algorithmic-art","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FSKILL.md",[222],{"categoryNo":194,"categoryName":195,"taxonomyType":106,"taxonomyTypeDesc":107},[224,225,226,205,206,227,228,229,230,147,231,232,233,234,127,235,236,237,238,239,214],"algorithmic art","Art","algorithmic","flow","js","work","interactive","generative art","exploration","systems","users","Existing","request","generative","copyright","fields",{"skillNo":241,"name":242,"nameZh":6,"description":243,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":99,"licenseFileUrl":244,"sourceHtmlUrl":245,"categories":246,"keywords":248,"publishedAt":38},"01M6HS9HE0X390Y6RQKTY1YNGJ","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FSKILL.md",[247],{"categoryNo":194,"categoryName":195,"taxonomyType":106,"taxonomyTypeDesc":107},[249,250,251,252,120,253,169,145,254,255,208,256,257,210,258,127,259,260,261,128,262,263],"theme factory","factory","theme","docs","generate","fly","slides","styling","artifact","themes","you","fonts","can","apply","new"]