huashu-design
alchaincyf
Huashu Design 3.0 · 在 agent 里打一句话,拿回能交付的设计:网页 / App 原型 / 可编辑 PPTX / 动画 / 信息图 · 六个候选挑三个方向 · 84 种带样张的风格库 · 越用越懂你的外观账本与设计体检 · HTML-native design skill for Claude Code, Codex, Cursor & any agent
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Xingkong42/dsh-inputbox-game
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
任务代码可以让 AI 完成,那游戏也可以让 AI 来玩,人类只管看就行。 该插件把任务执行期间的输入框变成小游戏娱乐场——看 AI 全自动玩游戏,人类无需操作。
If code can be written by AI, a game can be played by it too — you just watch. This plugin turns the chat composer into a mini-game arcade while a task is running: eight games play themselves, and you never touch the keyboard.

dsh plugin --profile <profile> add dsh-inputbox-game
桌面端也可以直接走应用内的 设置 → 插件 搜索 dsh-inputbox-game 安装,
无需命令行。
从源码装(免 npm):
dsh plugin --profile <profile> add github:Xingkong42/dsh-inputbox-game
dsh web用的 profile 名请换成宿主实际使用的那个;桌面端请用应用内的插件管理器, 命令行装到的是另一个 profile。
赛马 · 跳跃跑酷 · 生态箱 · 小鸟 · 乒乓 · 贪吃蛇
| 游戏 | 玩法 | 失败点 |
|---|---|---|
| 贪吃蛇 | 贪心追食物,越吃越长 | 把自己围死 |
| 乒乓 | 两侧 AI 挡板预测落点对打 | 一方先到 5 分 |
| 小鸟 | 小鸟自动拍翅穿越管道缺口 | 撞管道 |
| 生态箱 | 群体吃资源、繁殖,躲陨石与寒潮干旱 | 群体灭绝 |
| 赛马 | 五匹马自动比赛,你押一注 | 本金破产 |
| 跳跃跑酷 | 小人自动起跳越过障碍与深坑 | 掉进坑里 |
| 数值跑酷 | 三条道自动选路,吃数值牌涨攻击力,撞怪掉攻击力,逐关打首领 | 攻击力被磨光 |
每局结束后随机换一个游戏继续(失败重开也可能是同一个); 也可以在设置里关掉轮换,或者只留下其中一两款。
设置 → 插件 → 输入框小游戏(桌面端在插件页的同名页签):

也可以在 profile 的补丁层里给这台机器定一份默认值(设置页的选择会覆盖它):
- insert:
- id: dsh-inputbox-game
name: 'dsh-inputbox-game'
config:
thresholdMs: 180000 # 任务连续运行多久后接管输入框,0 = 立即
rotationMs: 180000 # 多久轮换一次游戏,0 = 不轮换
games: [snake, pong, flappy, life, horse, runner]
conversation.input.overlay 槽位接管输入框卡片;覆盖层 pointer-events:none,
点击会穿透到编辑器,于是「聚焦输入框即恢复」不需要任何额外交互。create / step / draw / hud),因此可以逐个做单元测试。--dsw-alias-*,跟随宿主的明暗主题。npm run build # 由 src/games/*.mjs 重建 client.js(零依赖构建脚本)
npm test # 41 项 Node 单元测试
游戏引擎在 src/games/,浏览器半面的模板在 client.template.js。
设计与实现记录见 DESIGN.md。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: game。