best-practices
Improve Web Security and Code Quality
Web applications can accumulate insecure settings, deprecated APIs, and browser compatibility problems. This skill guides evidence-based reviews and targeted fixes using Lighthouse, source inspection, and security checks.
التثبيت باستخدام Agent لدي
انسخ هذا الطلب إلى Agent لديك. يتضمن صفحة Skill المعتمدة وملف manifest.
Review the Skillstore skill "best-practices" from https://skillstore.io/skills/addyosmani-best-practices.md and its manifest at https://skillstore.io/api/skills/addyosmani-best-practices/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.يجب أن يواصل Agent عرض خطته وطلب أي تأكيد تفرضه سياسة الأمان.
موارد مهيّأة لـ Agents
استخدم هذه الروابط عندما يحتاج AI Agent أو crawler أو script إلى سياق نظيف بدلًا من قراءة الصفحة كاملة.
اختبرها
جارٍ استخدام "best-practices". Review a page with synchronous requests and event listeners that remain active after navigation.
النتيجة المتوقعة:
- Finding: Synchronous requests block the main thread. Replace them with asynchronous requests and explicit failure handling.
- Finding: Listeners remain active after navigation. Remove them during cleanup or attach an AbortController.
- Verification: Repeat navigation and confirm listener cleanup and responsive interactions.
جارٍ استخدام "best-practices". Review a deployment that publishes source maps and lacks security response headers.
النتيجة المتوقعة:
- Finding: Public source maps may expose original source. Restrict access and remove embedded source content from uploaded maps.
- Recommendation: Configure appropriate security response headers and test CSP in report-only mode before enforcement.
- Verification: Inspect deployed responses and repeat the same audit. Do not treat a high Lighthouse score as security assurance.
التدقيق الأمني
مخاطر متوسطةAll 95 static findings are false positives involving documentation examples, explicitly discouraged patterns, or legitimate audit references. No evidence found of prompt injection, credential theft, or malicious execution. Two semantic findings identify security guidance errors concerning Permissions-Policy delivery and structuredClone behavior.
مخاوف أمنية مؤكدة (2)
عوامل الخطر
⚡ يحتوي على سكربتات (7)
⚙️ الأوامر الخارجية (50)
🌐 الوصول إلى الشبكة (18)
📁 الوصول إلى نظام الملفات (1)
🔑 متغيرات البيئة (2)
شارك واستشهد بهذا التقرير
شارك تقرير التقييم المرتبط بالإصدار والشارة المحايدة وبطاقة التضمين والاستشهادات. تعرض Skillstore الأدلة من دون أن تقرر ما إذا كانت هذه المهارة آمنة.
نسخ رابط التقرير
https://skillstore.io/skills/addyosmani-best-practices/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportشارة Markdown
[](https://skillstore.io/skills/addyosmani-best-practices?utm_source=security_passport_badge)شارة HTML
<a href="https://skillstore.io/skills/addyosmani-best-practices?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/addyosmani-best-practices/security.svg" alt="Skillstore security assessment" loading="lazy"></a>بطاقة قابلة للتضمين
<iframe src="https://skillstore.io/embed/skills/addyosmani-best-practices.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>الاستشهادات الأكاديمية (APA · BibTeX · CFF)
اقتباس APA
addyosmani. (2026). best-practices security audit report (audit version 1) [Author version 2.0]. Skillstore. https://skillstore.io/skills/addyosmani-best-practices/audits/1اقتباس BibTeX
@techreport{addyosmani-addyosmani-best-practices-2026,
author = {addyosmani},
title = {best-practices security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/addyosmani-best-practices/audits/1},
note = {Author version 2.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "best-practices security audit report (audit version 1)"
version: "2.0"
type: report
authors:
- name: "addyosmani"
date-released: "2026-10-22"
url: "https://skillstore.io/skills/addyosmani-best-practices/audits/1"
identifiers:
- type: other
value: "skillstore:addyosmani-best-practices:audit:1"
description: "Skillstore immutable audit report identifier"
تقييم Skillstore
سبب هذا التقييم موثوقية الأدلة: متوسطما الذي يمكنك بناؤه
Modernize a Frontend Application
Review deprecated APIs, feature detection, resource loading, and listener cleanup before updating an existing interface.
Review Deployment Security
Compare deployed headers, third-party script integrity, dependency findings, and source-map access against the security checklist.
Verify Release Quality
Collect Lighthouse evidence, investigate console failures, check HTML validity, and compare results after fixes.
جرّب هذه الموجّهات
Review [page or file] for web development best practices. Identify the three most important issues and explain each proposed correction.
Review [component] for deprecated APIs, browser detection, blocking requests, and listener leaks. Propose focused changes for [supported browsers] and relevant tests.
Audit [authorized application URL] for HTTPS, response headers, CSP, third-party integrity, and source-map exposure. Cite runtime evidence and separate verified issues from assumptions.
Audit [authorized application] using available Lighthouse tools and focused source checks. Prioritize evidenced findings, apply scoped fixes, and rerun checks to verify changes.
أفضل الممارسات
- Combine runtime evidence with source, dependency, and deployment configuration checks before reporting a finding.
- Apply focused fixes, test behavior, and repeat the same audit to verify improvements.
- Verify browser security mechanisms and sanitization behavior before copying examples into production.
تجنب
- Treating a high Lighthouse score as proof that an application is secure.
- Copying placeholder security policies or illustrative snippets into production without validating their behavior.
- Running external scans or submitting private application data without authorization.
الأسئلة المتكررة
Which AI tools can use this skill?
Does the skill include Lighthouse?
Can it review code without a running page?
Does a passing audit guarantee security?
Are all examples ready for production?
What areas does the skill cover?
تفاصيل المطور
المؤلف
addyosmaniالترخيص
MIT
إصدار المؤلف
v2.0
مراجعة Skillstore
r1
تنبيه الإصدار
الإصدار الذي أعلنه المؤلف ليس SemVer صالحًا.
مرجع
2c20aec173a476ed542ec9421d809772b5e733a7
حداثة الصيانة
٢٢/١٠/٢٠٢٦
الاستخدام
0 تنزيلات · 0 مشاهدات
بنية الملفات