Skip to content
Skills Library
Programming · Testing

python-tests

/python-tests

Run focused Python tests with a helper script. Use this when 用户说“运行测试”“单元测试”“run python tests”。

Licence
MIT
Last repository change
03.11.2026

Assessment and security

86/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content21 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/run_tests.py

What it does and when to use it

Run focused Python tests with a helper script. Use this when 用户说“运行测试”“单元测试”“run python tests”。

Triggers from the description

运行测试单元测试run python tests
Original author description

Run focused Python tests with a helper script. Use this when 用户说“运行测试”“单元测试”“run python tests”。

How it works

SKILL.md has no level-two headings · 13 lines, 365 words

SKILL.md preview
---
name: python-tests
description: Run focused Python tests with a helper script. Use this when 用户说“运行测试”“单元测试”“run python tests”。
---
# Focused Python testing workflow

Read the implementation and related tests before selecting a command. The task is to verify behavior, not to produce a green indicator at any cost. Preserve all existing expectations unless the user explicitly changes the contract. A test runner failure and an assertion failure require different diagnoses.

1. Locate a related test file, usually test_<module>.py beside the module or under tests/. Prefer this scope before running an unrelated full suite. If the project documents a different runner in AGENTS.md or its package configuration, follow that documented command.
2. Use the existing read tool to open skill://python-tests/scripts/run_tests.py when the helper is useful. The returned package_file is the actual local application script path. In Agent or Debug mode it can be executed with the bundled Python and a --workspace and --pattern argument; this adds no new model tool. Do not copy a helper into user files unless requested.
3. Reproduce the original failure and capture the real exit code, stdout and stderr. Python unittest normally writes progress to stderr. On Windows avoid combining 2>&1 with an ErrorActionPreference that converts normal stderr into a terminating PowerShell error. Preserve the native process exit code.
4. For a code fix, make the smallest unique edit and rerun the same focused cases. Include ordinary, empty and invalid inputs when these are part of the actual contract. The post-edit hook may also run related tests; use its returned result rather than guessing whether it passed.
5. An absent dependency, missing interpreter or test discovery error is an incomplete verification. Do not silently skip it. Install project dependencies only within the project-specific dependency location and within the user's task scope.
6. Summarize the exact cases executed, their result and any remaining limitation. Never turn a failing assertion into a passing one by weakening the expected value. Do not claim a complete regression suite was run when only one file was selected.

Ask and Plan modes may explain a test or produce a plan but cannot execute this script. Safety hooks still gate shell commands. The helper accepts a bounded test pattern and does not itself change application code; project test code still executes with the current user's permissions.
Files in this package (2)
  • SKILL.md 2 KB
  • scripts/run_tests.py 1 KB

Versions

RepositoryScoreLicence
This page · yangzaipucci/codedesk-desktop-agent86MIT
nvidia/nemo-fabric96Apache-2.0
tosun-si/bigtesty95MIT

Database snapshot: 13.11.2026 · package version 86b209041e0f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100python-package-runtime
    Use when a task needs to install a new Python package, run a Python helper script, or a Python package CLI.
  • 90testing-python
    Stratégie de Tests Python 3.14+. Use when writing tests, reviewing test coverage, or setting up testing.
  • 100run-python-tests
    Run end-to-end Python tests after making changes to verify correctness. Use this when you want to verify your changes from an end-to-end perspective, after ensuring the build and Rust tests pass.
  • 100python-testing
    Guidelines for writing and running tests in the Agent Framework Python codebase. Use this when creating, modifying, or running tests.
  • 86run-app
    Use when the user wants this project's app running locally to test.
  • 100uv-python-execution
    How to run Python scripts, tests, evaluations, and tools using uv run and uvx in this repository. Use whenever executing Python code or test suites during repository and extension development.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.