Client-side initialization and bootstrapping code for Notion's web application that handles theme management, skeleton loading states, locale setup, error monitoring, and resource loading failure detection. The implementation includes dark/light theme persistence through localStorage, conditional UI skeleton display based on user authentication and device type, resource sentinel monitoring that reports failed script and stylesheet loads to Splunk for production debugging, and asynchronous module loading coordination through a global registry system. Designed to provide a smooth initial page load experience while capturing critical frontend errors and maintaining user preferences across sessions.
Cognium trust score
50%
Tier
Unverified
Composite of vulnerability cleanliness, spec conformance, provenance, stability, and usage signals — scanned and weighted by Cognium. Human and agent signals are tracked separately.
Returns 7 tools: search_skills, get_skill, list_leaderboard, get_trust_breakdown, resolve_composition, plus the ChatGPT-connector search and fetch. Every tool is annotated read-only.
Resolve this skill directly via MCP tools/call get_skill.