Run a generator/evaluator design loop for frontend or visual work with bounded iterations and scoring.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-ecc-74b81d1082f5 ,按照其中的说明把「gan-design」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Parse the following from $ARGUMENTS:
brief — the user's description of the design to create--max-iterations N — (optional, default 10) maximum design-evaluate cycles--pass-threshold N — (optional, default 7.5) weighted score to pass (higher default for design)A two-agent loop (Generator + Evaluator) focused on frontend design quality. No planner — the brief IS the spec.
This is the same mode Anthropic used for their frontend design experiments, where they saw creative breakthroughs like the 3D Dutch art museum with CSS perspective and doorway navigation.
gan-harness/ directorygan-harness/spec.mdgan-harness/eval-rubric.md with extra weight on Design Quality and Originality### Design Quality (weight: 0.35)
### Originality (weight: 0.30)
### Craft (weight: 0.25)
### Functionality (weight: 0.10)
Note: Originality weight is higher (0.30 vs 0.20) to push for creative breakthroughs. Functionality weight is lower since design mode focuses on visual quality.
Same as /project:gan-build Phase 2, but:
The Generator is told: "Your PRIMARY goal is visual excellence. A stunning half-finished app beats a functional ugly one. Push for creative leaps — unusual layouts, custom animations, distinctive color work."