android-webview-debug
Installation
SKILL.md
Android WebView Debug Toggle
Triggers
- 「开启 WebView 调试」 / android-webview-debug-enable: Change all
setWebContentsDebuggingEnabledcalls in the project totrue, and record modified locations with their original content for later revert. - 「恢复 WebView 调试」 / android-webview-debug-revert: Restore previously modified locations from the record; entries that don't match the record are not auto-reverted — they are listed at the end for user confirmation.
State File Convention
- Path:
.android-webview-debug-state.jsonin the project/workspace root directory. - Creation timing: Only created or overwritten when android-webview-debug-enable runs; revert only reads (can be deleted or archived after restore is complete).
- Format: