원클릭으로
debug-template
Debug an Arizona template's compile/eval/diff flow. Use when investigating how a template compiles, evaluates, or diffs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Debug an Arizona template's compile/eval/diff flow. Use when investigating how a template compiles, evaluates, or diffs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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.
| name | debug-template |
| description | Debug an Arizona template's compile/eval/diff flow. Use when investigating how a template compiles, evaluates, or diffs. |
| argument-hint | ["module_or_file"] |
| allowed-tools | Read, Grep, Glob |
Debug the template in $ARGUMENTS. Trace the full lifecycle:
Read the module's render/1 function and analyze the ?html(...) call:
#{s => Statics, d => Dynamics, f => Fingerprint}sd with its Az value, type (text/attr/nested), and source locationdiff => false is present (from az-nodiff)fingerprint-N)Trace what happens when render/1 is called with sample bindings:
arizona_eval function handles each dynamic?getExplain what happens on subsequent renders:
diff/2, diff/3, or diff/4)diff => false short-circuitsShow the op codes that would be sent to the client and how arizona.js applies them.
Reference files:
src/arizona_parse_transform.erlsrc/arizona_eval.erlsrc/arizona_render.erlsrc/arizona_diff.erldocs/architecture.md