返回顶部
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
安全检测
已通过
344
下载量
0
收藏
概述
安装方式
版本历史

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/game2` or `/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 |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

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

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

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

通过命令行安装

skillhub install chinese-chess-1776290256

下载 Zip 包

⬇ 下载 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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部