python-runner

Run Python tests, modules, syntax checks, and import validations in a virtual environment.

1|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/TakSung/python-katas --skill python-runner
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: python-runner
Source: https://github.com/TakSung/python-katas/tree/main/platforms/linux/.claude/skills/python-runner
Command: npx skills add https://github.com/TakSung/python-katas --skill python-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill includes scripts (resource) components.

What problem does it solve?

Python ν”„λ‘œμ νŠΈ μ‹€ν–‰, ν…ŒμŠ€νŠΈ, 문법 검사, μž„ν¬νŠΈ 검증을 ν•˜λ‚˜μ˜ 래퍼둜 κ°„νŽΈν•˜κ²Œ μˆ˜ν–‰ν•©λ‹ˆλ‹€. .venv κ°€μƒν™˜κ²½μ—μ„œ ν‘œμ€€ν™”λœ μ›Œν¬ν”Œλ‘œμš°λ₯Ό μ§€μ›ν•©λ‹ˆλ‹€.

Core Features & Use Cases

  • ν…ŒμŠ€νŠΈ μ‹€ν–‰: ./scripts/python-runner.sh test [test_path]둜 λͺ¨λ“  ν…ŒμŠ€νŠΈ λ˜λŠ” νŠΉμ • 경둜의 ν…ŒμŠ€νŠΈ μ‹€ν–‰
  • ν”„λ‘œμ νŠΈ μ‹€ν–‰: ./scripts/python-runner.sh run [module]둜 Python λͺ¨λ“ˆ μ‹€ν–‰ (κΈ°λ³Έκ°’: {CURRENT_KATA}.main)
  • 문법 검사: ./scripts/python-runner.sh syntax-check <file_path>둜 파일 문법 검사
  • μž„ν¬νŠΈ 검증: ./scripts/python-runner.sh import-check둜 μ ˆλŒ€ μž„ν¬νŠΈ μ€€μˆ˜ μ—¬λΆ€ 확인
  • 정리: ./scripts/python-runner.sh clean으둜 λΉŒλ“œ μ•„ν‹°νŒ©νŠΈ 제거
  • 도움말: ./scripts/python-runner.sh help둜 μ‚¬μš© κ°€λŠ₯ν•œ λͺ…λ Ή 확인

Quick Start

μ˜ˆμ‹œ: 전체 ν…ŒμŠ€νŠΈλ₯Ό μ‹€ν–‰ν•˜λ €λ©΄ ./scripts/python-runner.sh testλ₯Ό μ‹€ν–‰ν•©λ‹ˆλ‹€. νŠΉμ • λͺ¨λ“ˆμ„ μ‹€ν–‰ν•˜λ €λ©΄ ./scripts/python-runner.sh runλ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€.

Frequently Asked Questions about python-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Python tests in a virtual environment?β–Ό

Run Python tests in a virtual environment using `./scripts/python-runner.sh test` to execute all tests, or `./scripts/python-runner.sh test [test_path]` to run tests from a specific directory. The script manages the `.venv` virtual environment automatically.

Can I execute a Python module with a wrapper script?β–Ό

Execute Python modules using `./scripts/python-runner.sh run [module]` to run a specific module, or `./scripts/python-runner.sh run` to execute the default module. The wrapper standardizes execution within the virtual environment.

How do I check Python syntax and validate imports?β–Ό

Check Python syntax with `./scripts/python-runner.sh syntax-check <file_path>` for individual files, and validate imports with `./scripts/python-runner.sh import-check` to verify absolute import compliance. Both operations run within the standardized virtual environment.

What's the best way to clean Python build artifacts?β–Ό

Remove Python build artifacts and cache by running `./scripts/python-runner.sh clean`. This clears compiled files and temporary build outputs generated during project execution and testing.

Does this tool support multiple test paths and modules?β–Ό

Yes. The python-runner wrapper supports running all tests via `./scripts/python-runner.sh test` or targeting specific test paths with `./scripts/python-runner.sh test [test_path]`, and executing named modules with `./scripts/python-runner.sh run [module]`.

Related Skills