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.
Instalar com meu Agente
Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.
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.Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.
Recursos legíveis por agentes
Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.
Testar
Usando "best-practices". Review a page with synchronous requests and event listeners that remain active after navigation.
Resultado esperado:
- 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.
Usando "best-practices". Review a deployment that publishes source maps and lacks security response headers.
Resultado esperado:
- 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.
Auditoria de segurança
Risco MédioAll 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.
Preocupações de segurança confirmadas (2)
Fatores de risco
⚡ Contém scripts (7)
⚙️ Comandos externos (50)
🌐 Acesso à rede (18)
📁 Acesso ao sistema de arquivos (1)
🔑 Variáveis de ambiente (2)
Compartilhar e citar este relatório
Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.
Copiar link do relatório
https://skillstore.io/skills/addyosmani-best-practices/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/addyosmani-best-practices?utm_source=security_passport_badge)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>Cartão incorporável
<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>Citações acadêmicas (APA · BibTeX · CFF)
Citação APA
addyosmani. (2026). best-practices security audit report (audit version 1) [Author version 2.0]. Skillstore. https://skillstore.io/skills/addyosmani-best-practices/audits/1Citação 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"
Pontuação do Skillstore
Por que esta pontuação Confiança das evidências: MédioO que você pode criar
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.
Teste estes prompts
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.
Boas práticas
- 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.
Evitar
- 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.
Perguntas frequentes
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?
Detalhes do desenvolvedor
Autor
addyosmaniLicença
MIT
Versão do autor
v2.0
Revisão da Skillstore
r1
Aviso de versão
A versão declarada pelo autor não é um SemVer válido.
Referência
2c20aec173a476ed542ec9421d809772b5e733a7
Atualidade da manutenção
22/10/2026
Uso
0 downloads · 0 visualizações
Estrutura de arquivos