test:review

Review Python test suites for anti-patterns using grep commands.

292|103|Updated Mar 27, 2025
One-click install
npx skills add https://github.com/kagenti/kagenti --skill test-review-kagenti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test:review
Source: https://github.com/kagenti/kagenti/tree/main/.claude/skills/test%3Areview
Command: npx skills add https://github.com/kagenti/kagenti --skill test-review-kagenti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps ensure that your tests are effective by identifying and rectifying common anti-patterns that can lead to unreliable or non-assertive test suites.

Core Features & Use Cases

  • Anti-Pattern Detection: Identifies weak assertions, silent skips, and untracked expected failures.
  • Quality Assurance: Promotes writing tests that accurately verify behavior and catch regressions.
  • Use Case: Before merging a pull request that includes new test files, use this Skill to perform a quick quality check, ensuring the tests will actually catch bugs if they arise.

Quick Start

Run the test review command to search for anti-patterns in the kagenti tests directory.

Frequently Asked Questions about test:review

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

FAQPage Schema
How do I detect pytest anti-patterns like assert True and silent skips?

You can detect pytest anti-patterns by scanning test files using grep commands to identify weak assertions like `assert True`, silent skips, and untracked expected failures, ensuring your tests are assertive and deterministic.

What are common Python test anti-patterns that reduce test reliability?

Common Python test anti-patterns include weak assertions like `assert True`, silent skips, and untracked expected failures. Identifying these ensures tests are assertive, deterministic, and properly isolated to accurately catch regressions.

Can I automate code quality checks for Python tests before merging a pull request?

Yes, you can automate code quality checks for Python tests by running a review process before merging a pull request. This scans test files to ensure they are robust, reliable, and free of anti-patterns that fail to catch bugs.

Does this test review approach work without external CI dependencies?

Yes, this test review approach works without external dependencies. It utilizes basic grep commands to scan test files directly for specific code constructs, requiring no additional CI integrations or external libraries to function.

Why should I review test quality instead of just checking if tests pass?

Reviewing test quality is necessary because passing tests with anti-patterns like `assert True` or silent skips provide false confidence. Identifying these ensures tests are assertive and accurately verify behavior to catch actual regressions.