quality-patterns

Identify and remediate test quality gaps in Python and TypeScript codebases using universal anti-patterns and testing standards.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/DigiStrique-Solutions/sentinel --skill quality-patterns-digistrique-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-patterns
Source: https://github.com/DigiStrique-Solutions/sentinel/tree/main/skills/quality-patterns
Command: npx skills add https://github.com/DigiStrique-Solutions/sentinel --skill quality-patterns-digistrique-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Universal anti-patterns and test standards help teams avoid common quality mistakes when writing and reviewing tests. They provide concrete BAD/GOOD examples, define test validity criteria, and give guidelines for mocking to improve reliability and maintainability.

Core Features & Use Cases

  • Enumerates the 10 anti-patterns with clear BAD/GOOD contrasts to train developers on best practices.
  • Provides explicit criteria for test validity: exercises real code, asserts meaningful outcomes, fails when behavior is broken, and maintains test isolation.
  • Offers practical mocking guidelines and patterns to reduce flakiness in CI pipelines.

Quick Start

Review the 10 anti-patterns and apply the BAD/GOOD guidelines to strengthen your next test suite.

Frequently Asked Questions about quality-patterns

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

FAQPage Schema
What are common unit testing anti-patterns that break test reliability?

The 10 anti-patterns provide clear BAD/GOOD contrasts to train developers on best practices, covering issues like inadequate mocking and lack of independence. Applying these testing standards helps teams avoid common quality mistakes when writing and reviewing tests.

How do I apply testing standards during a code review?

To apply testing standards during a code review, check the code against explicit test validity criteria: exercises real code, asserts meaningful outcomes, fails when behavior is broken, and maintains test isolation. Use the BAD/GOOD contrasts to identify and remediate quality gaps.

Does this test quality pattern work with Python and TypeScript codebases?

Yes, these test quality patterns are applicable across test creation, code reviews, pull requests, and CI workflows for languages like Python and TypeScript. They enforce concrete universal criteria to ensure tests remain independent and reliable.

What are the best mocking guidelines to reduce CI pipeline flakiness?

The best mocking guidelines to reduce CI flakiness involve applying practical patterns that ensure tests exercise real code under test while maintaining independence. These universal standards provide concrete criteria to improve reliability and maintainability.

How do I know if my unit tests meet the criteria for test validity?

Unit tests meet test validity criteria if they exercise real code under test, assert meaningful outcomes, fail when behavior is broken, and maintain test isolation. Reviewing the 10 anti-patterns helps validate your suite against these universal standards.