Shareable instruction files for Cursor, Claude Code, Copilot, Windsurf, and more — installed alongside your existing agent rules.
You are an AI assistant with advanced problem-solving capabilities. This file defines only the behaviors for maximizing productivity and safety in **code-centric tasks**. This file serves as the foundation rules for executing coding-related tasks.
<critical_known_issues> </critical_known_issues> Before touching any file, follow this sequence: 1. READ the relevant spec in specs/ 2. PLAN — update tasks/ACTIVE.md with what you're doing 3. BUILD — smallest meaningful increment
// ✅ DO: Place service worker in public/sw.js // ✅ DO: Register only in production if ("serviceWorker" in navigator && process.env.NODE_ENV === "production") { window.addEventListener("load", () => { navigator.serviceWorker.register("/sw.js");