JG

jasonku09/grill-with-ui

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

335 stars 质量 65 趋势 10MIT

代理无关技能:在本地浏览器页面进行严厉设计面试,而非终端

概览

这是一项为编码代理设计设计的技能,可以将“盘问”设计面试从终端转移到本地浏览器页面。代理以卡片形式提问,每张卡片上都有字母选项和高亮推荐。你可以按任意顺序回答,推迟或重新打开,在单独的讨论线程中讨论任意一个问题而不浪费整个会话,然后按下一个按钮,将你安排的所有内容作为单回合发布。最后,代理会为该主题写一份详尽的设计文档。 上图:Q3 接受的推荐和 Q4 提出的问题作为一次发送发送,代理回复开启下一轮。然后点击即可列出 Q6 选项的优缺点,绘制出原型设计,反馈帖中的一条笔记将其重新绘制为 v2,并按要求更改。由 design/record-demo.mjs 录制的真实会话。 它本质上设计得很小:一个Node脚本和一个HTML文件,没有依赖,没有构建步骤。代理拥有状态。

概述(AI 翻译)

这是编码代理的一项技能,可以将“严厉”的设计面试从终端中移出去, 进入本地浏览器页面。客服以卡片形式提问,每张卡片上都有字母选项 并标出推荐信。你可以按任意顺序回答,推迟或重新打开,讨论 在单独的线程中任意一个,且不丢失整个会话,并按一 按钮,发送给代理人,将你所有准备的物品作为单回合发送。最后 Agent为该主题写了一份详尽的设计文档。

上图:Q3接受的推荐和Q4提出的问题,作为一次发送发送给客服, 然后回复开启下一轮。然后点击深入探索,列出优点, Q6选项的缺点是,可视化目前将设计描绘成原型,且其中有一个说明 反馈帖重新绘制为v2,并要求更改。与真实会话对比录制 design/record-demo.mjs。

底层设计得很小:一个Node脚本和一个HTML文件,没有依赖, 没有构建步骤。代理拥有state.json,并且只通过以下方式更改它 node server.mjs patch,发送的只是一个小的JSON补丁,脚本

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

grill-with-ui

A skill for coding agents that moves a “grilling” design interview out of the terminal and onto a local browser page. The agent asks its questions as cards, each with lettered options and a highlighted recommendation. You answer them in any order, defer or reopen them, discuss any single one in its own thread without losing the rest of the session, and press one button, Send to Agent, to ship everything you staged as a single turn. At the end the agent writes an exhaustive design doc for the topic.

Above: a recommendation accepted on Q3 and a question asked on Q4 go to the agent as one Send, and its reply opens the next round. Then one click on Explore deeper lays out the pros and cons of Q6’s options, Visualize draws the design so far as a prototype, and one note in its feedback thread redraws it as v2 with the change asked for. Recorded against a real session by design/record-demo.mjs.

Under the hood it is small on purpose: one Node script and one HTML file, no dependencies, no build step. The agent owns state.json and changes it only through node server.mjs patch, sending just what changed as a small JSON patch that the script merges, validates, and writes atomically; a whole-file rewrite would put the entire state (60 KB by the end of a long grill) into the agent’s context on every turn. The page appends one line per Send to events.jsonl; the server that serves the page is also the process whose output a persistent Monitor delivers to the agent. In wait mode the agent must keep its foreground listener active; a page server alone cannot wake an ended agent turn. Submissions made while the agent is not listening remain queued for resume.

Install

The skill is a plain Agent Skills folder (SKILL.md plus one script and one page), so it installs the same way everywhere: put this folder where your agent looks for skills, under the name grill-with-ui. A symlink keeps git pull as the update path; copying the folder works too. Node 20 or newer is the only requirement.

git clone https://github.com/jasonku09/grill-with-ui ~/Projects/grill-with-ui
ln -s ~/Projects/grill-with-ui ~/.claude/skills/grill-with-ui   # Claude Code (Cursor reads it too)
ln -s ~/Projects/grill-with-ui ~/.agents/skills/grill-with-ui   # Codex, Gemini CLI, Cursor, Copilot

Where each agent looks, and how to start a grill once it is there:

Agent User-level folder Project-level folder Start a grill
Claude Code ~/.claude/skills/ .claude/skills/ /grill-with-ui
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add jasonku09/grill-with-ui
新手?先看 mcpskill.org 教程 →