# CLAUDE.md — Claude Code Instructions for HOR EYE US Extensions You are operating inside the **HOR EYE US Extension & Theme Scaffold** (`by roman a. s. arco`). ## Read Order 1. Read `AGENTS.md` (strict `.pext` / `.ptheme` spec, runtime APIs, security rules). 2. Check if the user edited `CUSTOMIZE.md` or named a file in `presets/`: - `presets/UI_WIDGET_CUSTOMIZATION.md` - `presets/PRIVACY_READER_CUSTOMIZATION.md` - `presets/SITE_ENHANCER_CUSTOMIZATION.md` - `presets/PRODUCTIVITY_TOOL_CUSTOMIZATION.md` - `presets/SECURITY_VAULT_CUSTOMIZATION.md` - `presets/THEME_PACK_CUSTOMIZATION.md` 3. Reference working examples in `examples/` (`horeyeus-zen-reader.pext`, `prowseir-vaultguard-passwords.pext`, `prowseir-all-seeing-eye.pext`). ## Execution Rules - Write extensions to `dist/.pext` and themes to `dist/.ptheme` (zero npm dependencies). - Always include an idempotent IIFE, Shadow DOM for injected HUD widgets, and full teardown in `prowseirExt.onCleanup(...)`. - Validate & test every deliverable before finishing: ```bash node build_pext.js validate dist/.pext node build_pext.js test dist/.pext ``` - Report the file path, `.pext` install steps (`prowseir://extensions/` or `/extensions`), and share instructions cleanly.