rules

Enforce 31 Playwright testing rules across 8 categories for writing, reviewing, and debugging tests.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Montinou/triqual --skill rules-montinou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rules
Source: https://github.com/Montinou/triqual/tree/main/triqual-plugin/skills/rules
Command: npx skills add https://github.com/Montinou/triqual --skill rules-montinou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive rules to reduce flaky Playwright tests by enforcing best practices and preventing anti-patterns across test code.

Core Features & Use Cases

  • 31 rules across 8 categories.
  • Guidance for locating elements, waits, assertions, page objects, test organization, network, debugging, and parallelization.
  • Use cases for writing new tests, code reviews, debugging flaky tests, learning best practices, and reference during reviews.
  • Examples and templates to implement rules in code and reviews.
  • Integration guidance for aligning production tests with the ruleset.

Quick Start

Review your Playwright tests against the full ruleset to improve reliability and maintainability.

Frequently Asked Questions about rules

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

FAQPage Schema
How do I fix flaky Playwright tests?

Reduce flaky Playwright tests by enforcing a comprehensive ruleset across locators, waits, assertions, and parallelization to prevent anti-patterns and stabilize test execution.

What are the best practices for Playwright waits and assertions?

Playwright best practices for waits and assertions involve using a structured ruleset that provides explicit guidance on timing mechanisms and validation rules to prevent unreliable test outcomes.

How do I review Playwright test code for anti-patterns?

Review Playwright test code for anti-patterns by checking the implementation against a comprehensive ruleset with examples, using practical guidance to validate locators, network handling, and test organization.

Does this Playwright ruleset cover page objects and test organization?

Yes, this Playwright ruleset covers page objects and test organization, providing specific rules and templates across 8 categories to structure and maintain test code effectively.

Can I use these Playwright rules for debugging network and parallelization issues?

Yes, you can use these Playwright rules for debugging network and parallelization issues, as the ruleset provides specific guidance and templates for these categories to ensure stable production workflows.