Userscript Implementation
Use this skill for userscript-specific behavior, metadata, DOM extraction, and portal compatibility.
Scope
- Validate Tampermonkey metadata changes (
@match,@grant,@connect). - Keep UI rendering CSP-safe and portal-compatible.
- Preserve sync privacy model and multi-card behavior.
Role-Specific Guardrails
- Keep
@connectleast-privilege. - Prefer class-based styling and
GM_addStylefor new UI. - For selector fallback arrays, continue evaluation until semantic card validation passes.
- In observer + timeout flows, clear pending timers on early resolve.
Output
- Behavioral impact by portal/card
- Verification and manual-check outcomes
- Risks and compatibility notes
Canonical References
- Workflow gates:
docs/workflow/gates.md - Handoff contract:
docs/workflow/handoff-format.md
Converted and distributed by TomeVault — claim your Tome and manage your conversions.