Agent skill

Pytest Mastery

by aiskillstore in aiskillstore/marketplace

Python testing with pytest using uv package manager. An agent skill from aiskillstore/marketplace.

No licenceAuto-check passedTesting & QA

Install Pytest Mastery

skills CLI
$ npx skills add aiskillstore/marketplace --skill pytest-mastery -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace pytest-mastery --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/abdullahmalik17/pytest-mastery .claude/skills/pytest-mastery && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pytest-mastery
GitHub stars
430
Token cost
~1.2k tokens
SKILL.md length
153 words
Files
4 (incl. scripts, references)
Skills in repo
1,044
Repo updated
First seen
Licence
None found

At a glance

Python testing with pytest using uv package manager. An agent skill from aiskillstore/marketplace.

  • Running Python tests
  • SKILL.md covers Quick Reference, Installation, Test Discovery and Fixtures, plus 7 more sections
  • Runs Python scripts from its folder; calls uv
  • Writing test files

What it does

Pytest Mastery is an agent skill from aiskillstore/marketplace. Python testing with pytest using uv package manager. Use when: (1) Running Python tests, (2) Writing test files or test functions, (3) Setting up fixtures, (4) Parametrizing tests, (5) Generating coverage reports, (6) Testing FastAPI applications, (7) Debugging test failures, (8) Configuring pytest options. Triggers: "run tests", "write tests", "test coverage", "pytest", "unit test", "integration test", "test FastAPI".

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/fastapi-testing.md`, `scripts/run_tests.py` and `skill-report.json`).

It sits in Testing & QA, covering Unit testing, Test coverage and Backend development. It works with pytest, FastAPI and Python. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Running Python tests
  • Writing test files
  • Setting up fixtures
  • Parametrizing tests

Example prompts

  • “run tests”
  • “write tests”
  • “test coverage”
  • “/pytest-mastery”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 755bc35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pytest Mastery loads about 1.2k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 109 tokens; SKILL.md has 153 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~109
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 153 words (~1,232 tokens).

“pytest automatically discovers tests following these conventions:”

— opening of SKILL.md by aiskillstore
name
pytest-mastery

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (scripts, references) in skills/abdullahmalik17/pytest-mastery of aiskillstore/marketplace.

  • SKILL.md
  • references/fastapi-testing.md
  • scripts/run_tests.py
  • skill-report.json

Open the folder on GitHubat commit 755bc35

Compare with similar skills

Pytest Mastery next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pytest Mastery compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pytest Mastery this skillaiskillstore/marketplace430—~1.2kAutomated safety check: PassNone
Python Testing Strategiesc0x12c/ai-toolkit106—~747Automated safety check: PassNone
Specx Testsmaksimzayats/specx202—~1.9kAutomated safety check: PassMIT
Flowfile Debugging PlaybookEdwardvaneechoud/Flowfile375—~6.3kAutomated safety check: PassMIT
Python Devdoccker/cc-use-exp1.1k—~790Automated safety check: PassCustom licence
Pythonericrisco/rsc-harness174—~3.8kAutomated safety check: PassMIT

Similar skills

  • Python Testing Strategies

    c0x12c/ai-toolkit

    Testing patterns for FastAPI with pytest-asyncio, httpx AsyncClient, fixtures, and test data factories.

    106 GitHub stars~747 tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Specx Tests

    maksimzayats/specx

    Add or refine tests for specx Python services. An agent skill from maksimzayats/specx.

    202 GitHub stars~1.9k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Flowfile Debugging Playbook

    Edwardvaneechoud/Flowfile

    Symptom-to-cause triage playbook for Flowfile (core/worker/kernel/frontend/AI) — covers "no such table" DB cascades (two distinct causes), import-time Alembic migration corruption, silent…

    375 GitHub stars~6.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Python Dev

    doccker/cc-use-exp

    Python 开发规范。当用户操作 .py、pyproject.toml、requirements.txt、setup.py 文件, 或涉及 FastAPI、Django、Flask、pytest、asyncio 开发时触发。

    1.1k GitHub stars~790 tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Python

    ericrisco/rsc-harness

    A skill your agent uses when the task is Python itself, in any framework or none: PEP 695 generics, mypy --strict typing, dataclass/Protocol/TypedDict/Enum choices, asyncio.TaskGroup, stdlib idioms…

    174 GitHub stars~3.8k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Python

    MadAppGang/claude-code

    A skill your agent uses when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.

    285 GitHub stars~2.8k tokensUpdated 6 mo ago
    Backend & APIsAuto-check: notes

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Categories

Questions about Pytest Mastery

What does Pytest Mastery do?

Python testing with pytest using uv package manager. An agent skill from aiskillstore/marketplace. Pytest Mastery is an agent skill from aiskillstore/marketplace. Python testing with pytest using uv package manager.

When should I use Pytest Mastery?

Pytest Mastery fits situations like: running Python tests; writing test files; setting up fixtures; parametrizing tests.

How do I install Pytest Mastery in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill pytest-mastery -a claude-code`. Or copy the skill folder (skills/abdullahmalik17/pytest-mastery in aiskillstore/marketplace) into .claude/skills/pytest-mastery in your project. Claude Code loads it when a task matches its description.

How do I install Pytest Mastery in Codex?

Run `npx skills add aiskillstore/marketplace --skill pytest-mastery -a codex`. Or copy the skill folder (skills/abdullahmalik17/pytest-mastery in aiskillstore/marketplace) into .agents/skills/pytest-mastery in your project. Codex loads it when a task matches its description.

Can I use Pytest Mastery in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill pytest-mastery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pytest-mastery, .gemini/skills/pytest-mastery, .github/skills/pytest-mastery and .opencode/skills/pytest-mastery in your project.

What does Pytest Mastery need to run?

Going by SKILL.md and its folder, Pytest Mastery needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Pytest Mastery access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Pytest Mastery safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Pytest Mastery use?

No licence was found for Pytest Mastery or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Pytest Mastery use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Pytest Mastery?

Skills that share tags, products or a category with Pytest Mastery: Python Testing Strategies (c0x12c/ai-toolkit, 106 stars), Specx Tests (maksimzayats/specx, 202 stars), Flowfile Debugging Playbook (Edwardvaneechoud/Flowfile, 375 stars) and Python Dev (doccker/cc-use-exp, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pytest Mastery?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 9, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.