cross-origin-isolation
यह क्या करती है
यह स्किल समझाती है कि COOP, COEP और CORP हेडर कब और कैसे चालू करें, जो साइट को दूसरे origins से अलग रखते हैं। यह SharedArrayBuffer जैसी सुविधाओं वाले ऐप, जैसे एडिटर या भारी workers, बनाने वाले डेवलपर के लिए है।
कब इस्तेमाल करें
- ✓जब कोई ऐप SharedArrayBuffer या दूसरी सिर्फ़-अलग (isolated) ब्राउज़र सुविधाएँ चाहता है।
- ✓जब आप साइट में COOP या COEP हेडर जोड़ने की योजना बना रहे हैं।
- ✓जब isolation हेडर चालू होने के बाद एम्बेड किया गया तीसरे पक्ष का कंटेंट टूटता है।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/cross-origin-isolation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे वीडियो एडिटर को SharedArrayBuffer चाहिए। जाँचें कि क्या मैं एम्बेड तोड़े बिना cross-origin isolation चालू कर सकता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट बाहरी स्क्रिप्ट, frames, इमेज और फ़ॉन्ट की अनुकूलता जाँचता है, योजनाबद्ध रोलआउट में हेडर सेट करता है, और पुष्टि करता है कि ब्राउज़र में पेज cross-origin isolated दिखाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Use COOP, COEP, and CORP for cross-origin isolation when needed
Cross-origin isolation reduces opener-based attacks and XS-Leak risk, and it is required for powerful browser features such as SharedArrayBuffer in modern browsers. It also breaks integrations if deployed carelessly, so it needs a deliberate rollout rather than a copy-pasted header block.
Quick Reference
- Use
Cross-Origin-Opener-PolicyandCross-Origin-Embedder-Policytogether when you need cross-origin isolation - Audit every cross-origin script, iframe, image, worker, and font before enforcing COEP
- Serve embeddable resources with CORS or
Cross-Origin-Resource-Policyas appropriate - Verify
self.crossOriginIsolated === truebefore depending on isolated-only features
Check
Review security headers and embedded resources for cross-origin isolation. Check whether the app needs COOP/COEP, whether resources are compatible with COEP, and whether the runtime actually becomes crossOriginIsolated.
Fix
Add COOP and COEP only after auditing dependencies, ensure subresources use CORP or CORS as required, and verify the final document becomes crossOriginIsolated in the browser.
Explain
Explain how COOP, COEP, and CORP work together, what they protect against, and why third-party embeds often block a successful rollout.
Code Review
Review server headers, third-party integrations, popups, workers, and asset responses related to Use COOP, COEP, and CORP for cross-origin isolation when needed. Flag exact responses or integrations that would block isolation or break once isolation is enforced.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/security/cross-origin-isolation
अक्सर पूछे जाने वाले सवाल
मुझे ये हेडर क्यों चाहिए?
स्किल कहती है कि cross-origin isolation कुछ हमलों का जोखिम घटाता है और SharedArrayBuffer जैसी कुछ सुविधाओं के लिए ज़रूरी है।
रोलआउट में आम रुकावट क्या होती है?
ऐसे तीसरे पक्ष के एम्बेड जो सही हेडर या CORS सेटिंग नहीं भेजते।
मैं कैसे पक्का करूँ कि यह काम कर रहा है?
जाँचें कि ब्राउज़र पेज को cross-origin isolated बताता है।
जानकारी
लेखक का मूल विवरण
Use when reviewing security-sensitive web apps, SharedArrayBuffer usage, worker-heavy apps, editors, or measurement features that require cross-origin isolation. Check both headers and real browser behavior.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2792
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।