Agent skill

API Test Pytest

by naodeng in naodeng/awesome-qa-skills

A skill your agent uses when you need to parse multi-format API definitions and generate Pytest API automation; triggers include Pytest API tests and API automation with Pytest.

Custom licenceAuto-check passedTesting & QA

Install API Test Pytest

skills CLI
$ npx skills add naodeng/awesome-qa-skills --skill api-test-pytest -a claude-code

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

GitHub CLI
$ gh skill install naodeng/awesome-qa-skills api-test-pytest --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/naodeng/awesome-qa-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/en/testing-types/api-test-pytest .claude/skills/api-test-pytest && 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
api-test-pytest
GitHub stars
243
Token cost
~655 tokens
SKILL.md length
311 words
Files
38 (incl. scripts, references)
Skills in repo
61
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when you need to parse multi-format API definitions and generate Pytest API automation; triggers include Pytest API tests and API automation with Pytest.

  • Works in 4 steps: Read and follow the main prompt listed… → Add only project context that changes… → If input is incomplete, return a usable… → …
  • You need to parse multi-format API definitions and generate Pytest API automation
  • SKILL.md covers When to Use, Workflow, Core Constraints and Progressive Disclosure, plus 2 more sections
  • Runs Shell scripts from its folder

What it does

API Test Pytest is an agent skill from naodeng/awesome-qa-skills. Use this skill when you need to parse multi-format API definitions and generate Pytest API automation; triggers include Pytest API tests and API automation with Pytest.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 44 other files, including scripts and reference files (for example `README.md`, `agents/openai.yaml` and `evals/cases/basic-success.yaml`).

It sits in Testing & QA, covering Unit testing and API testing. It works with pytest. The repository describes itself as: Awesome QA Skills is an open-source AI-native Quality Engineering skill system that helps engineering teams reason about, design, execute, evaluate, and continuously improve…

When your agent uses it

  • You need to parse multi-format API definitions and generate Pytest API automation
  • Triggers include Pytest API tests and API automation with Pytest

Example prompts

  • “/api-test-pytest”

Requirements

  • A Bash shell

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read and follow the main prompt listed under Progressive disclosure (coverage, structure, quality bar).
  2. Add only project context that changes the result: scope, environment, constraints, risks, dependencies, expected deliverable.
  3. If input is incomplete, return a usable first draft and explicitly mark assumptions and gaps.
  4. Default to Markdown; switch formats only when the user asks.

What it can do on your machine

Read from SKILL.md and the folder at commit 52c4eaf. 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/ (Shell, from the files we listed), which the agent can run.

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

  • Network

    No URLs in SKILL.md.

    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

API Test Pytest loads about 655 tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 46 tokens; SKILL.md has 311 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 311 words (~655 tokens).

“Chinese version: See the corresponding Chinese skill.”

— opening of SKILL.md by naodeng, Custom licence
name
api-test-pytest

Read the full SKILL.md on GitHub

Files

SKILL.md and 37 other files (scripts, references) in skills/en/testing-types/api-test-pytest of naodeng/awesome-qa-skills.

  • SKILL.md
  • README.md
  • agents/openai.yaml
  • evals/cases/basic-success.yaml
  • evals/cases/edge-bad-or-neighbor.yaml
  • evals/cases/edge-incomplete-input.yaml
  • evals/eval.yaml
  • evals/fixtures/openapi-orders.yaml
  • evals/fixtures/sample-curls.sh
  • examples/bruno/sample.bru
  • examples/ci/Jenkinsfile.pytest
  • examples/ci/github-actions-pytest.yml
  • examples/sample.curl
  • examples/sample.insomnia.json
  • … and 24 more

Open the folder on GitHubat commit 52c4eaf

Compare with similar skills

API Test Pytest 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.

API Test Pytest compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Test Pytest this skillnaodeng/awesome-qa-skills243—~655Automated safety check: PassCustom licence
Slow TestsUKGovernmentBEIS/inspect_ai2.9k—~1.4kAutomated safety check: PassMIT
Adk Verify Snippetsgoogle/adk-python22k—~1.4kAutomated safety check: PassApache-2.0
Hermetic Python Unit TestsdimensionalOS/dimos4.6k—~1.4kAutomated safety check: PassCustom licence
Test GuardamElnagdy/guard-skills1.3k2 repos~2.1kAutomated safety check: PassMIT
Fla Optimization Loopfla-org/flash-linear-attention5.8k—~2.6kAutomated safety check: PassMIT

Similar skills

  • Slow Tests

    UKGovernmentBEIS/inspect_ai

    Run the gated test classes that plain pytest skips (slow Docker/sandbox tests, live model-provider API tests, flaky tests, trio variants).

    2.9k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Adk Verify Snippets

    google/adk-python

    Official

    Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail…

    22k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Hermetic Python Unit Tests

    dimensionalOS/dimos

    Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run.

    4.6k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Test Guard

    amElnagdy/guard-skills

    Reviews newly written or edited tests against nine rules that cut test bloat, such as mock-heavy checks and near-duplicate cases, before they are committed.

    1.3k GitHub starsUsed in 2 repos~2.1k tokens
    Testing & QAAuto-check passed
  • Fla Optimization Loop

    fla-org/flash-linear-attention

    Disciplined, reproducible loop for making an FLA kernel faster (Triton, Gluon, TileLang, CuTe) without ever breaking or gaming correctness.

    5.8k GitHub stars~2.6k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Pytest Runner

    saleor/saleor

    Run pytest tests with automatic virtual environment activation. Use this skill whenever running tests, executing pytest, or when asked to "run tests", "test…

    23k GitHub stars~251 tokensUpdated yesterday
    Testing & QAAuto-check passed

More from naodeng/awesome-qa-skills

All 61 skills in this repo
  • Accessibility Testing

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to design accessibility testing against WCAG, keyboard navigation, and assistive technology scenarios; triggers include accessibility testing and a11y testing.

    243 GitHub stars~665 tokensUpdated 11 days ago
    Auto-check passed
  • API Test Bruno

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to parse multi-format API definitions and generate Bruno collections for executable regression; triggers include Bruno collections and Bruno API testing.

    243 GitHub stars~663 tokensUpdated 11 days ago
    Auto-check passed
  • API Test Restassure

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to parse multi-format API definitions and generate Rest Assured Java test classes; triggers include Rest Assured, RestAssured, and Java API automation.

    243 GitHub stars~658 tokensUpdated 11 days ago
    Auto-check passed
  • API Test Supertest

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to parse multi-format API definitions and generate executable Supertest scripts; triggers include Supertest, Node.js API testing, and Supertest automation.

    243 GitHub stars~659 tokensUpdated 11 days ago
    Auto-check passed
  • API Testing

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to design API test plans or cases for REST, GraphQL, or gRPC interfaces; triggers include API testing and API test cases.

    243 GitHub stars~636 tokensUpdated 11 days ago
    Auto-check passed
  • Automation Testing

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to design automation testing approaches using patterns like POM, data-driven testing, or BDD; triggers include automation testing and test automation strategy.

    243 GitHub stars~647 tokensUpdated 11 days ago
    Auto-check passed

Works with

Categories

Questions about API Test Pytest

What does API Test Pytest do?

A skill your agent uses when you need to parse multi-format API definitions and generate Pytest API automation; triggers include Pytest API tests and API automation with Pytest. API Test Pytest is an agent skill from naodeng/awesome-qa-skills. Use this skill when you need to parse multi-format API definitions and generate Pytest API automation; triggers include Pytest API tests and API automation with Pytest.

When should I use API Test Pytest?

API Test Pytest fits situations like: you need to parse multi-format API definitions and generate Pytest API automation; triggers include Pytest API tests and API automation with Pytest.

How do I install API Test Pytest in Claude Code?

Run `npx skills add naodeng/awesome-qa-skills --skill api-test-pytest -a claude-code`. Or copy the skill folder (skills/en/testing-types/api-test-pytest in naodeng/awesome-qa-skills) into .claude/skills/api-test-pytest in your project. Claude Code loads it when a task matches its description.

How do I install API Test Pytest in Codex?

Run `npx skills add naodeng/awesome-qa-skills --skill api-test-pytest -a codex`. Or copy the skill folder (skills/en/testing-types/api-test-pytest in naodeng/awesome-qa-skills) into .agents/skills/api-test-pytest in your project. Codex loads it when a task matches its description.

Can I use API Test Pytest 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 naodeng/awesome-qa-skills --skill api-test-pytest -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-test-pytest, .gemini/skills/api-test-pytest, .github/skills/api-test-pytest and .opencode/skills/api-test-pytest in your project.

What does API Test Pytest need to run?

Going by SKILL.md and its folder, API Test Pytest needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does API Test Pytest access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is API Test Pytest 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 API Test Pytest use?

API Test Pytest has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does API Test Pytest use?

About 655 tokens (SKILL.md is roughly 2.6k 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 813 tokens, read only when the agent opens those files.

What are the alternatives to API Test Pytest?

Skills that share tags, products or a category with API Test Pytest: Slow Tests (UKGovernmentBEIS/inspect_ai, 2.9k stars), Adk Verify Snippets (google/adk-python, 22k stars), Hermetic Python Unit Tests (dimensionalOS/dimos, 4.6k stars) and Test Guard (amElnagdy/guard-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Test Pytest?

naodeng (a GitHub user) maintains it in naodeng/awesome-qa-skills, which has 243 GitHub stars. The repository holds 61 skills in this directory. The repository was last updated on September 26, 2026.

Source: naodeng/awesome-qa-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.