Chinese Chess
/install chinese-chess
Chinese Chess Game Assistant
Overview
This skill directs you to use pre-built source code for two distinct Chinese chess scenarios: generating a new game, or improving an existing one for better user experience.
When to Use
Generate a new game — user says things like:
- "create a Chinese chess game"
- "build me a Chinese chess app"
- "make a xiangqi game"
→ Use source code from /Users/root009/projects/demos/g1/game2
Improve the game — user says things like:
- "improve the chess game"
- "better UI/UX for the chess"
- "enhance the game experience"
- "make the game feel better"
→ Use source code from /Users/root009/projects/demos/g2/game2
Workflow
Step 1: Identify the intent
| User intent | Source to use |
|---|---|
| Generate / create / build a new game | /Users/root009/projects/demos/g1/game2 |
| Improve / enhance / better experience | /Users/root009/projects/demos/g2/game2 |
Step 2: Read the source directory
Read all files in the appropriate directory before doing anything else:
# For new game generation
Read all files under /Users/root009/projects/demos/g1/game2
# For game improvement
Read all files under /Users/root009/projects/demos/g2/game2
Use Glob to list files, then Read to read each one.
Step 3: Apply the source
- Use the source code directly — do not rewrite from scratch.
- Copy structure, logic, and patterns from the directory.
- Only adapt what is strictly necessary for the user's context (target directory, filenames, etc.).
Step 4: Confirm with user
After applying the source, briefly tell the user:
- Which source was used (
/Users/root009/projects/demos/g1/game2or/Users/root009/projects/demos/g2/game2) - What files were created or modified
- Any next steps they should know
Common Mistakes
| Mistake | Fix |
|---|---|
| Writing a Chinese chess game from scratch | Always use /Users/root009/projects/demos/g1/game2/ or /Users/root009/projects/demos/g2/game2/ source first |
Using /Users/root009/projects/demos/g1/game2/ for a new game |
/Users/root009/projects/demos/g2/game2 is for improvements only |
Using /Users/root009/projects/demos/g2/game2 for improvements |
/Users/root009/projects/demos/g1/game2 is for new game generation only |
| Skipping reading source files | Always read the source before applying |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install chinese-chess - 安装完成后,直接呼叫该 Skill 的名称或使用
/chinese-chess触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 406 次。
如何安装 Chinese Chess?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install chinese-chess」即可一键安装,无需额外配置。
Chinese Chess 是免费的吗?
是的,Chinese Chess 完全免费(开源免费),可自由下载、安装和使用。
Chinese Chess 支持哪些平台?
Chinese Chess 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Chinese Chess?
由 tianzhenjiu(@tianzhenjiu)开发并维护,当前版本 v1.0.0。