best-practices

Audit web projects for security vulnerabilities and code quality issues.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/felipebrgs1/skills --skill best-practices-felipebrgs1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/felipebrgs1/skills/tree/main/other/best-practices
Command: npx skills add https://github.com/felipebrgs1/skills --skill best-practices-felipebrgs1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses common security vulnerabilities, browser compatibility issues, and code quality pitfalls in modern web development, ensuring applications are robust, secure, and performant.

Core Features & Use Cases

  • Security Audits: Identifies and provides solutions for common web security risks like XSS, insecure headers, and vulnerable dependencies.
  • Compatibility Checks: Ensures websites function correctly across different browsers by adhering to standards like proper doctype declarations and viewport configurations.
  • Code Quality: Promotes best practices for semantic HTML, efficient event handling, and proper error management.
  • Use Case: Before deploying a new web feature, run this Skill to perform a comprehensive check for security flaws and ensure it meets modern web standards.

Quick Start

Use the best-practices skill to audit the current project for security vulnerabilities and code quality issues.

Frequently Asked Questions about best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit my web application for common security vulnerabilities like XSS and insecure headers?

Web security audits identify and provide solutions for common risks like XSS, insecure headers, and vulnerable dependencies. This process checks for HTTPS enforcement, Content Security Policy, and secure cookie handling to ensure applications remain robust and protected.

What is the best way to ensure browser compatibility and avoid deprecated APIs in web development?

Browser compatibility checks ensure websites function correctly across different browsers by adhering to standards like proper doctype declarations and viewport configurations. This process also involves avoiding deprecated APIs to maintain reliable and consistent web application behavior.

How do I perform a comprehensive code quality and performance check before deploying a new web feature?

Code quality and performance checks promote best practices for semantic HTML, efficient event handling, and proper error management. Running a comprehensive check before deploying a new web feature ensures it meets modern web standards and performs optimally.

Can I use this approach to enforce Content Security Policy and secure cookie handling in my project?

Yes, you can enforce Content Security Policy and secure cookie handling in your project. This approach applies modern web development best practices to address security issues directly, ensuring your application is secure, reliable, and maintainable.

What are the limitations of relying on automated best practices for web security?

Automated best practices for web security address common vulnerabilities and code quality pitfalls but require integration into your workflow. While they ensure applications are robust and performant, they should be used before deploying new features to complement, not replace, manual security reviews.