best-practices

Audit code quality and generate unit/integration tests for Jest, Vitest, Cypress, and Playwright.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/JFrangel/AI-Agents-Skills --skill best-practices-jfrangel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: best-practices
Source: https://github.com/JFrangel/AI-Agents-Skills/tree/main/public/skills/testing/best-practices
Command: npx skills add https://github.com/JFrangel/AI-Agents-Skills --skill best-practices-jfrangel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining high code quality, ensuring adherence to best practices, and generating comprehensive tests, thereby reducing bugs and technical debt.

Core Features & Use Cases

  • Code Quality Auditing: Analyzes code for adherence to established standards and design patterns.
  • Test Generation: Suggests or writes unit and integration tests for critical functions.
  • Architecture Validation: Checks if the project structure complies with best practices (e.g., separation of concerns).
  • Use Case: A developer can ask this Skill to review a new component to ensure it follows TDD principles and has adequate test coverage before merging.

Quick Start

Ask the best-practices skill to review the current code for quality and testing standards.

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 code for clean architecture and SOLID principles?

To audit code for clean architecture, this Skill analyzes your project structure to validate separation of concerns and ensure compliance with SOLID principles. It identifies architectural vulnerabilities and suggests targeted improvements to reduce technical debt.

Can I generate unit and integration tests using Jest or Vitest?

Yes, you can generate unit and integration tests using Jest or Vitest. This Skill writes comprehensive tests for critical functions and supports Cypress and Playwright to validate behavior and ensure adequate test coverage.

What is the best way to review a component for TDD and BDD compliance?

The best way to review a component for TDD and BDD compliance is to audit its test coverage and design patterns. This Skill evaluates your code against Test-Driven and Behavior-Driven Development standards before merging.

Does this code quality validation tool work with Playwright and Cypress?

Yes, this code quality validation tool works with Playwright and Cypress. It integrates these frameworks to perform comprehensive testing and validation, ensuring your critical functions meet established quality-assurance standards.

Why should I validate separation of concerns before merging new code?

You should validate separation of concerns before merging to prevent architectural drift and reduce bugs. This Skill checks if your project structure complies with best practices, ensuring new components maintain high code quality and architectural integrity.