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.
Установить с помощью моего Агента
Скопируйте этот запрос в своего Агента. Он содержит каноническую страницу Skill и манифест.
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.Ваш Агент по-прежнему должен показать план и запросить все подтверждения, требуемые политикой безопасности.
Ресурсы для AI-агентов
Используйте эти ссылки, когда AI-агенту, 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 публикует доказательства, не решая, безопасен ли этот Skill.
Копировать ссылку на отчёт
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
Актуальность поддержки
22.10.2026
Использование
0 загрузок · 0 просмотров
Структура файлов