원클릭으로
explain-op
Explain what an Arizona op code does on both server and client. Use when understanding patch operations.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Explain what an Arizona op code does on both server and client. Use when understanding patch operations.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Add a new route to the Arizona router configuration. Use when creating new pages or endpoints.
Scaffold a new Arizona handler module. Ask whether it's a route-level view or an embeddable stateful component.
Trace an event through the full Arizona stack from client click to DOM patch. Use when debugging event handling.
Profile Arizona hot paths with eprof/fprof. Use when investigating performance or picking the next optimization.
Add tests for an Arizona module. Use when creating CT suites, inline EUnit tests, or E2E tests.
Format, check, test, and commit changes. Use before committing any code changes.
SOC 직업 분류 기준
| name | explain-op |
| description | Explain what an Arizona op code does on both server and client. Use when understanding patch operations. |
| argument-hint | ["op_name_or_number"] |
| allowed-tools | Read, Grep, Glob |
Explain the $ARGUMENTS op code.
| Code | Name | Args |
|---|---|---|
| 0 | OP_TEXT | [target, value] |
| 1 | OP_SET_ATTR | [target, attr, value] |
| 2 | OP_REM_ATTR | [target, attr] |
| 3 | OP_UPDATE | [target, html] |
| 4 | OP_REMOVE_NODE | [target] |
| 5 | OP_INSERT | [target, key, pos, html] |
| 6 | OP_REMOVE | [target, key] |
| 7 | OP_ITEM_PATCH | [target, key, innerOps] |
| 8 | OP_REPLACE | [target, html] |
| 9 | OP_MOVE | [target, key, afterKey] |
For the requested op, explain:
Find where this op is produced in src/arizona_diff.erl:
make_op or make_child_op clause generates itFind how assets/js/arizona.js handles this op in applyOps:
resolveElWhich hook callbacks fire:
mounted() -- for newly added elementsupdated() -- for modified elementsdestroyed() -- for removed elementsdestroyHooks or destroyChildHooks is usedShow a concrete scenario where this op is produced and applied.