Agent skill

Python Testing Patterns

by jh941213 in jh941213/my-cc-harness

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.

No licenceAuto-check passedTesting & QA

Install Python Testing Patterns

skills CLI
$ npx skills add jh941213/my-cc-harness --skill python-testing-patterns -a claude-code

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

GitHub CLI
$ gh skill install jh941213/my-cc-harness python-testing-patterns --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/jh941213/my-cc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/python-testing-patterns .claude/skills/python-testing-patterns && 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
python-testing-patterns
GitHub stars
126
Used in
16 other repos
Token cost
~5.4k tokens
SKILL.md length
338 words
Files
1
Skills in repo
66
Repo updated
First seen
Licence
None found

At a glance

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.

  • Works in 4 steps: Test Types → Test Structure (AAA Pattern) → Test Coverage → …
  • Tasks that involve Unit testing
  • SKILL.md covers When to Use This Skill, Core Concepts, Quick Start and Fundamental Patterns, plus 7 more sections
  • Calls pytest and pip

What it does

Python Testing Patterns is an agent skill from jh941213/my-cc-harness. Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. 트리거: "pytest", "Python 테스트", "fixture", "mocking", "테스트 작성" 안티-트리거: "JavaScript 테스트", "Jest", "E2E 테스트"

Its SKILL.md is about 5.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Unit testing, Test strategy and Test-driven development. It works with Python, pytest, Jest and JavaScript.

When your agent uses it

  • Tasks that involve Unit testing
  • Tasks that involve Test strategy
  • Tasks that involve Test-driven development

Example prompts

  • “pytest”
  • “Python 테스트”
  • “fixture”
  • “/python-testing-patterns”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Test Types
  2. Test Structure (AAA Pattern)
  3. Test Coverage
  4. Test Isolation

What it can do on your machine

Read from SKILL.md and the folder at commit e9210e2. 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

    Shell commands in SKILL.md call:

    • pytest
    • pip

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

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.pytest.org
    • docs.python.org

    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

Python Testing Patterns loads about 5.4k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 338 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~5.4k

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); files beside SKILL.md are not scanned.

SKILL.md

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

“Comprehensive guide to implementing robust testing strategies in Python using pytest, fixtures, mocking, parameterization, and test-driven development practices.”

— opening of SKILL.md by jh941213
name
python-testing-patterns
user-invocable
false

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/python-testing-patterns of jh941213/my-cc-harness.

Open the folder on GitHubat commit e9210e2

Used in 16 other repositories

We found 36 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 16 other GitHub owners. This page covers the copy in jh941213/my-cc-harness, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Python Testing Patterns 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.

Python Testing Patterns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Testing Patterns this skilljh941213/my-cc-harness12616 repos~5.4kAutomated safety check: PassNone
Python Testingaffaan-m/ECC274k6 repos~4.7kAutomated safety check: PassMIT
TDD Guidealirezarezvani/claude-skills28k—~3.4kAutomated safety check: PassMIT
TDD GuideLeoYeAI/openclaw-master-skills2.2k—~1.4kAutomated safety check: PassMIT
TDD GuideaAAaqwq/AGI-Super-Team1052 repos~1.1kAutomated safety check: PassMIT
Error Explanation GeneratorArabelaTso/Skills-4-SE253—~3.8kAutomated safety check: PassApache-2.0

Similar skills

  • Python Testing

    affaan-m/ECC

    Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.

    274k GitHub starsUsed in 6 repos~4.7k tokens
    Testing & QAAuto-check passed
  • TDD Guide

    alirezarezvani/claude-skills

    Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and…

    28k GitHub stars~3.4k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • TDD Guide

    LeoYeAI/openclaw-master-skills

    Test-driven development skill for writing unit tests, generating test fixtures and mocks, analyzing coverage gaps, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, Vitest, and…

    2.2k GitHub stars~1.4k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • TDD Guide

    aAAaqwq/AGI-Super-Team

    Test-driven development workflow with test generation, coverage analysis, and multi-framework support

    105 GitHub starsUsed in 2 repos~1.1k tokens
    Testing & QAAuto-check passed
  • Error Explanation Generator

    ArabelaTso/Skills-4-SE

    Explains test failures and provides actionable debugging guidance.

    253 GitHub stars~3.8k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Python Testing

    athola/claude-night-market

    Python testing patterns with pytest, fixtures, TDD, mocking, async and integration tests.

    342 GitHub stars~800 tokensUpdated yesterday
    Testing & QAAuto-check passed

More from jh941213/my-cc-harness

All 66 skills in this repo
  • API Design Principles

    jh941213/my-cc-harness

    REST 및 GraphQL API 설계 원칙 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 19 repos~3.4k tokens
    Auto-check passed
  • Tailwind Design System

    jh941213/my-cc-harness

    Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns.

    126 GitHub starsUsed in 9 repos~4.7k tokens
    Auto-check passed
  • Docs Architecture

    jh941213/my-cc-harness

    Generate/update architecture docs — ARCHITECTURE.md (codemap), architecture diagrams (C4 mermaid), ADRs (MADR), data model ERD.

    126 GitHub stars~923 tokensUpdated 2 mo ago
    Auto-check: notes
  • Auto Memory

    jh941213/my-cc-harness

    A skill your agent uses when starting substantial work in a repo (implementation, fixes, deploys, debugging), when first exploring a new repo, or when finishing work that produced reusable knowledge.

    126 GitHub stars~890 tokensUpdated 2 mo ago
    Auto-check passed
  • Autodev

    jh941213/my-cc-harness

    Ralph Loop based autonomous development loop. An agent skill from jh941213/my-cc-harness.

    126 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check: notes
  • Async Python Patterns

    jh941213/my-cc-harness

    Python asyncio 및 async/await 패턴 가이드. An agent skill from jh941213/my-cc-harness.

    126 GitHub starsUsed in 13 repos~4.7k tokens
    Auto-check passed

Categories

Questions about Python Testing Patterns

What does Python Testing Patterns do?

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Python Testing Patterns is an agent skill from jh941213/my-cc-harness. Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.

When should I use Python Testing Patterns?

Python Testing Patterns fits situations like: tasks that involve Unit testing; tasks that involve Test strategy; tasks that involve Test-driven development.

How do I install Python Testing Patterns in Claude Code?

Run `npx skills add jh941213/my-cc-harness --skill python-testing-patterns -a claude-code`. Or copy the skill folder (skills/python-testing-patterns in jh941213/my-cc-harness) into .claude/skills/python-testing-patterns in your project. Claude Code loads it when a task matches its description.

How do I install Python Testing Patterns in Codex?

Run `npx skills add jh941213/my-cc-harness --skill python-testing-patterns -a codex`. Or copy the skill folder (skills/python-testing-patterns in jh941213/my-cc-harness) into .agents/skills/python-testing-patterns in your project. Codex loads it when a task matches its description.

Can I use Python Testing Patterns 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 jh941213/my-cc-harness --skill python-testing-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-testing-patterns, .gemini/skills/python-testing-patterns, .github/skills/python-testing-patterns and .opencode/skills/python-testing-patterns in your project.

What does Python Testing Patterns need to run?

Going by SKILL.md and its folder, Python Testing Patterns needs the command-line tools its instructions call (pytest and pip). Our summary lists: Python 3.

Does Python Testing Patterns access the network?

SKILL.md names 2 domains. As links in the text: docs.pytest.org and docs.python.org. This is read from the text; nothing was executed.

Is Python Testing Patterns 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. Review the folder before installing.

What licence does Python Testing Patterns use?

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

How many tokens does Python Testing Patterns use?

About 5.4k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Python Testing Patterns?

Skills that share tags, products or a category with Python Testing Patterns: Python Testing (affaan-m/ECC, 274k stars), TDD Guide (alirezarezvani/claude-skills, 28k stars), TDD Guide (LeoYeAI/openclaw-master-skills, 2.2k stars) and TDD Guide (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Testing Patterns?

jh941213 (a GitHub user) maintains it in jh941213/my-cc-harness, which has 126 GitHub stars. The repository holds 66 skills in this directory. The repository was last updated on August 3, 2026.

Source: jh941213/my-cc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.