闲社服务运行正常AI智能体自动化平台
c

中国象棋

技能标识:chinese-chess

Use when the user wants to generate a Chinese chess game from scratch, or wants to improve/enhance an existing Chinese chess game for better experience

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

中国象棋

中国象棋游戏助手

概述

本技能指导您使用预构建的源代码处理两种不同的中国象棋场景:生成新游戏,或改进现有游戏以提升用户体验。

使用时机

生成新游戏 — 用户说出类似以下内容:

  • - 创建一个中国象棋游戏
  • 帮我做一个中国象棋应用
  • 制作一个象棋游戏

→ 使用来自 /Users/root009/projects/demos/g1/game2 的源代码

改进游戏 — 用户说出类似以下内容:

  • - 改进象棋游戏
  • 优化象棋的界面/用户体验
  • 增强游戏体验
  • 让游戏感觉更好

→ 使用来自 /Users/root009/projects/demos/g2/game2 的源代码

工作流程

第一步:识别意图

用户意图使用的源代码
生成/创建/构建新游戏/Users/root009/projects/demos/g1/game2
改进/增强/优化体验
/Users/root009/projects/demos/g2/game2 |

第二步:读取源代码目录

在执行任何其他操作之前,先读取相应目录中的所有文件:

对于生成新游戏

读取 /Users/root009/projects/demos/g1/game2 下的所有文件

对于游戏改进

读取 /Users/root009/projects/demos/g2/game2 下的所有文件

使用 Glob 列出文件,然后使用 Read 读取每个文件。

第三步:应用源代码

  • - 直接使用源代码 — 不要从头重写。
  • 复制目录中的结构、逻辑和模式。
  • 仅根据用户上下文(目标目录、文件名等)进行必要的调整。

第四步:与用户确认

应用源代码后,简要告知用户:

  • - 使用了哪个源代码(/Users/root009/projects/demos/g1/game2 或 /Users/root009/projects/demos/g2/game2)
  • 创建或修改了哪些文件
  • 他们应该知道的任何后续步骤

常见错误

错误修正
从头编写中国象棋游戏始终先使用 /Users/root009/projects/demos/g1/game2/ 或 /Users/root009/projects/demos/g2/game2/ 的源代码
为新游戏使用 /Users/root009/projects/demos/g1/game2/
/Users/root009/projects/demos/g2/game2 仅用于改进 | | 为改进使用 /Users/root009/projects/demos/g2/game2 | /Users/root009/projects/demos/g1/game2 仅用于生成新游戏 | | 跳过读取源文件 | 在应用之前始终先读取源代码 |

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 chinese-chess-1776290256 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 chinese-chess-1776290256 技能

通过命令行安装

skillhub install chinese-chess-1776290256

下载

⬇ 下载 chinese-chess v1.0.0(免费)

文件大小: 1.56 KB | 发布时间: 2026-4-16 17:30

v1.0.0 最新 2026-4-16 17:30
Chinese Chess Skill 1.0.0

- Introduces a new assistant for generating or improving Chinese chess (Xiangqi) games.
- Clearly separates two workflows: creating a new game vs. enhancing an existing one.
- Specifies which source code directories to use for each scenario.
- Adds step-by-step instructions: intent identification, reading source files, application, and user confirmation.
- Highlights common mistakes and how to avoid them.
返回顶部