Compares test documentation with codebase knowledge to find missing scenarios and improve coverage.

Install

mkdir -p .claude/skills/tc-review && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13168" && unzip -o skill.zip -d .claude/skills/tc-review && rm skill.zip

Installs to .claude/skills/tc-review

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Review QA test case documents (Markdown) against source code to find coverage gaps. Use when reviewing test cases, analyzing test coverage, suggesting missing scenarios, or learning codebase to extract testable scenarios. Supports project-based learning from multiple GitHub repos with dual memory (local + Dify RAG).
317 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Review QA test case documents against source code
  • Identify test coverage gaps
  • Suggest missing test scenarios
  • Learn codebase from GitHub repositories
  • Search project knowledge base
  • Batch review multiple test case files

How it works

The skill reviews Markdown test case documents by comparing them against knowledge learned from GitHub source code, identifying coverage gaps and suggesting new test cases.

Inputs & outputs

You give it
Markdown test case document and a GitHub repository URL
You get back
A score indicating test coverage, a list of covered scenarios, missing scenarios, and suggested new test cases

When to use tc-review

  • Identify test coverage gaps
  • Validate test case documentation
  • Learn codebase for testing
  • Generate new test scenarios

About this skill

Test Case Review

Review test case documents against source code knowledge. Learn codebases, identify coverage gaps, suggest missing test cases.

Quick Start

# 1. Create project and add repos
python scripts/setup_project.py myproject https://github.com/org/repo.git

# 2. Review test cases
python scripts/review.py tests/checkout.md --project myproject

Decision Tree

User task → What do they need?
    │
    ├─ Review test cases → Is project set up?
    │   ├─ No → Run: python scripts/setup_project.py <name> <repo-url>
    │   └─ Yes → Run: python scripts/review.py <testcase.md> --project <name>
    │
    ├─ Learn new codebase → Run: python scripts/learn.py <project>
    │
    ├─ Get suggestions → Run: python scripts/suggest.py <project>
    │
    └─ Search knowledge → Run: python scripts/search.py <project> "<query>"

Available Scripts

Always run with --help first to see usage. Scripts handle complex workflows reliably.

ScriptPurpose
scripts/setup_project.pyCreate project + add repo + learn (all-in-one)
scripts/review.pyReview test case file against knowledge
scripts/learn.pyLearn/re-learn source code from repos
scripts/suggest.pyGenerate test case suggestions
scripts/search.pySearch project knowledge
scripts/batch_review.pyReview multiple files at once

Test Case Format

Test cases must be Markdown. See references/testcase-format.md for complete guide.

# Test Suite: Payment Flow

## TC-001: Successful Payment
**Preconditions:**
- User logged in
- Cart has items

**Steps:**
1. Navigate to checkout
2. Enter valid card
3. Click Pay

**Expected Result:**
Payment success, order created

Example Workflows

Review Single File

python scripts/review.py tests/login.md --project auth-service

Output:

📊 Score: 65/100  Coverage: 65%

✅ Covered: Successful login, Invalid password
⚠️ Missing: Account locked, Rate limiting, Session timeout
💡 Suggested: TC-005 Account Lockout, TC-006 Rate Limit

Batch Review

python scripts/batch_review.py "tests/**/*.md" --project myapp --min-score 70

Quick Review (No Project Setup)

python scripts/setup_project.py temp-project https://github.com/org/repo.git
python scripts/review.py tests/feature.md --project temp-project

Environment Variables

VariableRequiredDescription
ANTHROPIC_API_KEYYes*For Claude LLM
OPENAI_API_KEYYes*For OpenAI/Codex
LLM_PROVIDERNoanthropic or openai (default: anthropic)
LLM_MODELNoModel name
DIFY_API_KEYNoEnable Dify RAG
DIFY_DATASET_IDNoDify dataset ID

*One of ANTHROPIC_API_KEY or OPENAI_API_KEY required.

Reference Files

When not to use it

  • When test cases are not in Markdown format
  • When the codebase is not available in a GitHub repository
  • When a quick review without project setup is not desired

Prerequisites

ANTHROPIC_API_KEY or OPENAI_API_KEY

Limitations

  • Test cases must be in Markdown format
  • Requires GitHub repositories for codebase learning
  • Requires an LLM API key (Anthropic or OpenAI)

How it compares

This skill automates the process of cross-referencing test case documentation with actual source code, providing a quantitative score and specific suggestions for improvement, which is more efficient than manual review.

Compared to similar skills

tc-review side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
tc-review (this skill)05moReviewIntermediate
python-testing-patterns772moReviewIntermediate
pr-review62moReviewIntermediate
pytest87moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by diegosouzapw

View all by diegosouzapw

helm-chart-scaffolding-v2

diegosouzapw

Helm Chart Scaffolding workflow skill. Use this skill when the user needs Comprehensive guidance for creating, organizing, and managing Helm charts for packaging and deploying Kubernetes applications and the operator should preserve the upstream workflow, copied support files, and provenance before

00

cc-skill-coding-standards-v2

diegosouzapw

Coding Standards & Best Practices workflow skill. Use this skill when the user needs Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development and the operator should preserve the upstream workflow, copied support files, and provenance before

00

worktree-setup

diegosouzapw

Automatically invoked after `git worktree add` to create data/shared symlink and data/local directory. Required before starting work in any new worktree.

00

parsehub-automation

diegosouzapw

Automate Parsehub tasks via Rube MCP (Composio). Always search tools first for current schemas.

00

signalwire-agents-sdk

diegosouzapw

Expert assistance for building SignalWire AI Agents in Python. Automatically activates when working with AgentBase, SWAIG functions, skills, SWML, voice configuration, DataMap, or any signalwire_agents code. Provides patterns, best practices, and complete working examples.

00

agent-sales-engineer

diegosouzapw

Expert sales engineer specializing in technical pre-sales, solution architecture, and proof of concepts. Masters technical demonstrations, competitive positioning, and translating complex technology into business value for prospects and customers.

00

Search skills

Search the agent skills registry