best-practices

Enforce OWASP-aligned security, performance, and WCAG 2.1 AA accessibility standards.

381|48|Updated Aug 12, 2025
One-click install
npx skills add https://github.com/rsmdt/the-startup --skill best-practices-rsmdt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/rsmdt/the-startup/tree/main/plugins/team/skills/cross-cutting/best-practices
Command: npx skills add https://github.com/rsmdt/the-startup --skill best-practices-rsmdt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This cross-cutting Skill enforces consistent security, performance, and accessibility standards across all agent recommendations.

Core Features & Use Cases

  • Security checks: OWASP-aligned practices.
  • Performance patterns: Efficient patterns before optimization.
  • Accessibility patterns: WCAG-compliant UI guidance.

Quick Start

Apply a standard security pattern to a new API endpoint and document the rationale.

Frequently Asked Questions about best-practices

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

FAQPage Schema
How do I apply security best practices to API endpoints?

Security best practices enforce OWASP-aligned standards during API design and code review. Apply threat modeling, input validation, authentication checks, and secure error handling to each endpoint before deployment to prevent vulnerabilities.

What accessibility guidelines should I follow for frontend code?

Accessibility best practices implement WCAG 2.1 AA compliance through semantic HTML, keyboard navigation, color contrast, and ARIA labels. Apply these standards during component design and validate with automated checklist tools.

How do I identify performance issues before optimization?

Performance best practices establish efficient patterns during feature design and code review. Measure baseline metrics, profile bottlenecks, and apply optimization patterns—caching, lazy loading, database indexing—documented with rationale.

When should I apply cross-cutting best practices during development?

Cross-cutting best practices apply during code reviews, feature design, validation, and auditing across frontend, backend, and data handling. Enforce them early to prevent rework and ensure security, performance, and accessibility compliance.

Can I automate security, performance, and accessibility checks?

Yes. Best practices include automated checklists linked to references that validate security vulnerabilities, performance characteristics, and accessibility compliance. Integrate these into CI/CD pipelines for consistent enforcement.

What error-handling practices prevent security and reliability issues?

Robust error-handling best practices avoid information leakage, handle edge cases gracefully, and log securely. Apply standardized patterns during feature implementation and code review to prevent both security vulnerabilities and runtime failures.