xiaohongshu
xiaohongshu
browser-extension
Master specialized skill for building 2025/2026-grade browser extensions. Deep expertise in Manifest v3, Service Worker persistence (Alarms, Offscreen API), Side Panel API, and Cross-Browser compatibility.
Full skill instructions
<domain_overview>
Philosophy: Extensions are ephemeral, restricted, yet powerful. Persistence is an Art. Security is a Mandate. Design Constraint: For UI/UX, Aesthetics, and Layout, YOU MUST REFER TO THE
frontend-designSKILL. PERSISTENCE PARADOX GUARD (CRITICAL): Never rely on global variables or in-memory state in background scripts. AI-generated code frequently fails by assuming Manifest V3 service workers are persistent. They are NOT; they terminate after 30 seconds of inactivity. You MUST backup every piece of state tochrome.storageorIndexedDBimmediately upon change. This skill aims to eliminate "volatile-state" bugs typical of generic AI implementations. If data is not in durable storage, it does not exist. </domain_overview> <manifest_architecture>
All extensions must be built on Manifest v3. No exceptions.
"background": { "service_worker": "background.js" }.unsafe-eval is forbidden.optional_permissions where possible.action over browser_action or page_action.chrome.sidePanel for persistent, non-intrusive experiences.chrome.sidePanel.setOptions({ path: 'sidepanel.html', enabled: true }).
</manifest_architecture>
<persistence_engine>Service Workers sleep. You must keep the logic alive.
chrome.alarms to wake up the Service Worker every 1-5 minutes for background sync.offscreen API for tasks like DOM parsing, heavy calculations, or keeping the SW alive via periodic messaging.chrome.storage.session for transient session-only secrets.IndexedDB or chrome.storage.local for large datasets and persistent user data.
</persistence_engine>
<security_fortress>chrome.runtime.sendMessage.declarativeNetRequest for blocking/modifying headers. Only use webRequest as a fallback for Firefox if dynamic rules are critical.
</security_fortress>
<design_integration>Direct Instruction: You are an extension developer, not a designer. You must outsource the "Soul" of the UI.
frontend-design.Every extension build MUST pass the high-tier audit suite.
node scripts/js/manifest-auditor.js -> Clean?node scripts/js/persistence-check.js -> Heartbeat detected?node scripts/js/asset-master.js -> Assets optimized?playwright test -> All paths pass?frontend-design?Link: frontend-design </audit_and_reference>
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience