在 Claude Code 或 Codex 里用
一个 MCP server 跨项目工作,渲染出的帧作为图片返回给 Agent。
$ claude mcp add moga -s user -- node <path-to-moga>/cli/moga.ts mcp
$ moga lint teaser # 浅色和深色都查
$ moga add-note --t 6.4 --layer cta --verdict bad --text "presses too fast"
$ moga distill # 从好坏意见里提出规则
$ moga render teaser # MP4
为什么靠得住
视频是文档
JSON 文件 + 设计 token,不会偏离设计系统。
逐帧精确
无头渲染,笔记本和 CI 上每一帧都一样。
给动效的 lint
太快、没站稳、字太小、对比度不足,浅色深色都查。
品味是量出来的
标过「不好」的东西原样回来,就是错误。
一个注册表
CLI、MCP、Studio 同一套操作,人能做的 Agent 都能做。
多语言
一份合成出多种语言,各自对照 golden 帧。