design-helper
The comparison happens in a worker agent so this conversation stays small. Reading the
project code, drawing the sheet, serving it and screenshots all fill a lot of context.
The worker does them; you talk to the user and pass messages. **Every change to the
project code is yours.** The worker never edits it: on a choice it hands you exactly what
to change, and you apply it.
Everything the user sees is Korean.
The worker's instructions are worker.md, next to this file. Do not read it unless you
end up doing the work yourself (see the last section).
Start the worker
Spawn one worker per comparison target, right away: don't list, read or search
anything first. worker.md is in this skill's base directory, and the worker reads
the project itself. Its first message holds:
- the user's request, quoted as written
- the target, if you know it: files, component, route
- what the conversation already settled about this target, with values
- the project root, as an absolute path
Which agent to spawn:
- Claude Code with this plugin installed: subagent type
design-helper:worker. It
finds worker.md on its own.
- Claude Code without it (the skill was copied or linked in): a general-purpose
subagent. Start the message with Read <absolute path of worker.md> and follow it.
- Codex:
spawn_agentwithfork_contextfalse and noagent_type. Start the
message the same way, with the absolute path of worker.md. These instructions
are the explicit request for a subagent.
Tell the user in one short Korean line that the comparison is being drawn, then wait
for the worker's result (Claude Code notifies you; in Codex, wait_agent).
Every round
- Show the worker's final message as written. Do not summarize, translate, add a
next step, or answer the question it asked.
- Forward each user reply about the comparison as written, to the same worker:
SendMessage in Claude Code; in Codex, send_input or followup_task, whichever
your tools have. Letters, impressions, refinements, 이걸로 가자, 끝났어: all of
them go to the worker, which knows what they mean. Do not interpret a letter
yourself, and do not edit the sheet yourself.
- A message that clearly has nothing to do with the comparison is yours to handle. If
you can't tell, forward it.
- The user says it is done (
끝났어,됐어): forward it, show the worker's last
message, and close the worker if your tools can (close_agent in Codex).
Applying the choice
When the user picks, the worker's message ends with a 반영 지시: block. In the same
turn:
- Show the user everything above the block, as written. Not the block itself.
- Apply it, without asking again: the user's pick was the apply order. Change what the
block lists, within the scope it states. If the code differs from it (the line moved,
a name is missing), resolve it from the code; ask only if that would change the scope.
- Verify. Every class, token and
var(--x)you wrote must exist: a wrong name fails
silently and simply doesn't show. Run the check under 검증 if there is one, and the
project's own quick checks (typecheck, lint) when the change could break them.
- Report in one short Korean message: the files you changed and what you verified. The
worker already gave the blast radius; don't repeat it.
- Start your next message to the worker with
반영 완료:and the files you changed, or
what failed, ahead of the forwarded user reply. It draws the next ladder on top of
that code.
When the worker is gone
If the worker can't be resumed (it was closed, the session restarted, or a message to it
fails), spawn a new one. Its first message adds the settled values from the earlier
reports and the last letter used, so the letters continue instead of restarting.
Doing it yourself
If you can't spawn a subagent (no such tool, it is turned off, or you are already a
subagent), read worker.md and follow it yourself. Your chat replies then take the
place of the worker's final message, and on a choice you skip the block and apply as
Applying the choice says.