ワンクリックで
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