best-practices

Applies modern web development best practices for security, compatibility, and code quality.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/barateza/mcp-plesk-unified --skill best-practices-barateza
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/barateza/mcp-plesk-unified/tree/main/.github/skills/best-practices
Command: npx skills add https://github.com/barateza/mcp-plesk-unified --skill best-practices-barateza

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers ensure their web applications adhere to modern standards for security, compatibility, and code quality, preventing vulnerabilities and improving user experience.

Core Features & Use Cases

  • Security Audits: Identifies and suggests fixes for common security flaws like mixed content, weak CSP, and vulnerable dependencies.
  • Compatibility Checks: Ensures proper HTML structure, character encoding, and viewport settings for broad browser support.
  • Code Quality: Promotes best practices for error handling, performance, and semantic HTML.
  • Use Case: A developer can use this Skill to review a new feature's code before deployment, ensuring it meets security and performance benchmarks.

Quick Start

Apply modern web development best practices for security, compatibility, and code quality to the provided code snippet.

Frequently Asked Questions about best-practices

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

FAQPage Schema
How do I check my web application code for security vulnerabilities and compatibility issues?

To check web application code for security vulnerabilities and compatibility issues, apply modern web development best practices. This process identifies flaws like weak Content Security Policy, mixed content, and missing viewport meta tags, then suggests fixes to improve overall code quality.

What are modern web development best practices for configuring Content Security Policy and secure cookies?

Modern web development best practices for Content Security Policy and secure cookies involve enforcing HTTPS, configuring strict CSP headers, and setting secure cookie attributes. These standards prevent cross-site scripting and data interception, ensuring robust web application security.

How do I audit web project dependencies for security vulnerabilities before deployment?

To audit web project dependencies for security vulnerabilities, run a dependency audit against known vulnerability databases. This pre-deployment review identifies outdated or compromised packages, ensuring your application meets modern security benchmarks.

Does this code quality audit support semantic HTML usage and feature detection checks?

Yes, this code quality audit supports semantic HTML usage and feature detection checks. It analyzes your codebase to ensure proper HTML structure, character encoding, and browser feature detection, promoting broad compatibility and accessibility.

What is the best way to ensure browser compatibility when using deprecated APIs and polyfills?

The best way to ensure browser compatibility with deprecated APIs and polyfills is to perform compatibility checks. This involves avoiding deprecated APIs, implementing necessary polyfills, and verifying viewport settings for broad browser support.

How do I fix mixed content and weak Content Security Policy issues in my web code?

To fix mixed content and weak Content Security Policy issues in your web code, apply security audits that enforce HTTPS and configure strict CSP. This identifies insecure resource loads and hardens your application against injection attacks.