test-tagging

Analyzes test suites and applies standardized trait tags across multiple languages and frameworks.

1|Updated Jul 27, 2026
One-click install
npx skills add https://github.com/FittyAr/Cardscape --skill test-tagging-fittyar
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-tagging
Source: https://github.com/FittyAr/Cardscape/tree/main/.agents/skills/test-tagging
Command: npx skills add https://github.com/FittyAr/Cardscape --skill test-tagging-fittyar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Test suites often lack consistent metadata, making it impossible to know the balance of positive versus negative tests, whether critical paths are covered, or which tests are slow, flaky, or integration-heavy. This Skill audits an existing test suite and applies a standardized trait taxonomy so teams gain visibility into test distribution and coverage gaps. ## Core Features & Use Cases - Cross-language trait tagging: Classifies tests with 15 standardized traits (positive, negative, boundary, critical-path, smoke, regression, integration, performance, security, concurrency, and more) across .NET, Python, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, JS/TS, and C++ frameworks. - Capability-aware editing: Auto-edits source when the framework has canonical tag syntax (MSTest, xUnit, NUnit, pytest, JUnit 5, RSpec, Pester, Catch2), and falls back to report-only mode for frameworks without one (Go testing, plain Jest/Vitest, GoogleTest). - Trait distribution reporting: Produces a summary table showing trait counts and percentages, plus observations on positive-to-negative ratios and critical-path coverage. - Use Case: Point the Skill at a pytest project to tag every test with markers like @pytest.mark.negative and receive a distribution report revealing that only 5% of tests cover error paths. ## Quick Start Analyze the test suite in my project and tag each test with the appropriate trait categories, then show me the trait distribution summary.

Frequently Asked Questions about test-tagging

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

FAQPage Schema
How do I tag tests with categories in pytest or xUnit?▼

In pytest, add markers like @pytest.mark.negative above each test function. In xUnit, use [Trait("Category", "negative")] attributes. This Skill detects the framework automatically and applies the correct canonical tag syntax for each test.

How to audit test suite coverage for negative and boundary tests?▼

Run a trait-tagging analysis that classifies each test by its assertions, inputs, and setup, then generates a distribution table. The report shows counts and percentages per trait, revealing gaps in negative, boundary, or critical-path coverage.

Does test tagging work with Go or Jest test files?▼

Go standard testing, plain Jest/Vitest, plain Rust, XCTest, and GoogleTest have no canonical tag syntax, so they are handled as report-only: a Markdown table maps each test to suggested tags without modifying source. Edits occur only if a project convention is confirmed.

Can I use trait tagging to find flaky or slow tests?▼

Yes. Tests with skip or ignore annotations mentioning instability are tagged flaky, and tests asserting on timing or using benchmark harnesses like BenchmarkDotNet or pytest-benchmark are tagged performance, making them easy to filter or quarantine.

When should I not use automated test trait tagging?▼

Do not use it for writing new tests, running or filtering tests, or migrating between test frameworks. It only classifies and labels existing tests; dedicated test-writing or test-running tools handle those other tasks.