RU

run-coverage

Runs pytest and displays coverage reports for Budget Buddy.

Install

mkdir -p .claude/skills/run-coverage && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17880" && unzip -o skill.zip -d .claude/skills/run-coverage && rm skill.zip

Installs to .claude/skills/run-coverage

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.

Run the Budget Buddy test suite with a coverage report. Use when asked to run tests, check coverage, see the coverage report, or verify the coverage gate before or after making changes.
185 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Run the Budget Buddy pytest suite
  • Print a coverage report
  • Identify lines with no test coverage
  • Verify if total coverage meets the gate

How it works

The skill executes a platform-specific script that runs pytest with coverage reporting options, either using a project virtual environment or the system python.

Inputs & outputs

You give it
A request to run tests or check coverage for Budget Buddy
You get back
A coverage report showing tested and missing lines

When to use run-coverage

  • Check test coverage for new code
  • Verify coverage gate status
  • Identify missing test cases

About this skill

Skill: Run Test Coverage

This skill runs the Budget Buddy pytest suite and prints a coverage report so you can see which lines are not yet tested.

How to run it

Run the script for the current platform from this skill's directory:

  • On Linux or macOS (including the GitHub Copilot cloud agent), run run-coverage.sh.
  • On Windows (local VS Code agent mode), run run-coverage.ps1.

Each script:

  1. Selects the project virtual environment (.venv) if present, otherwise falls back to the system python.
  2. Runs pytest with --cov=. --cov-report=term-missing.

Note: this skill does not pre-approve the shell tool, so Copilot will ask for confirmation before running the script. To skip that prompt in a trusted demo, add allowed-tools: shell to the frontmatter above. Only do this if you trust the skill and its scripts.

Interpreting the result

  • The Missing column lists line numbers with no test coverage. These are good candidates for new tests.
  • The run fails if total coverage is below the gate in pytest.ini. During the demo this gate is raised from 30 to 90.

After running

Summarize the current coverage percentage and call out the modules with the most uncovered lines.

When not to use it

  • When not working with the Budget Buddy project
  • When not needing a test coverage report
  • When not using pytest for testing

Limitations

  • This skill is specific to the Budget Buddy pytest suite
  • It requires `pytest` to be available
  • It requires `pytest.ini` for coverage gate configuration

How it compares

This skill automates the execution of pytest with specific coverage flags and report generation, unlike manually running pytest or other test runners.

Compared to similar skills

run-coverage side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
run-coverage (this skill)01moReviewBeginner
webapp-testing02moReviewIntermediate
ov-update-pytorch-version027dReviewAdvanced
transmit-test01moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

webapp-testing

HaoNgo232

Web application testing principles. E2E, Playwright, deep audit strategies.

00

ov-update-pytorch-version

openvinotoolkit

Upgrade the PyTorch version used by OpenVINO tests (torch / torchvision / torchaudio) and resolve fallout — missing operator translators, new functionalized `*_copy` aten ops, decomposition changes, FX-only tests failing in TorchScript mode, and accuracy regressions caused by stricter typing. Use wh

00

transmit-test

KI3P

Run the PTT signal integrity test on the radio transmitter hardware. Use when the user asks to test the transmitter, run a PTT test, check I/Q outputs, or verify transmit signal quality. Requires an Analog Discovery 2 connected to the radio.

00

python-code-implementation-workflow

NatLabRockies

Implement and refactor Python code with TDD, API signature discipline, and maintainable design. Use for feature development, bug fixes, test-first workflows, and quality-focused refactoring.

00

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

python-testing-patterns

wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

77204

Search skills

Search the agent skills registry