Python Skill Pack A new Python Skill Pack for agentic AI introduces two skills: python-convention-check, a Validator that reviews Python code against project conventions including type hints, docstrings, import ordering, dependency pinning, and mutable default arguments, and python-test-scaffold, a Workflow that generates pytest test file skeletons with TODO stubs. The pack is designed for use in reviewing pull requests and scaffolding tests, and it emphasizes testing against real Python files. · Agentic AI · 4 min read 📋 Prerequisites - Agent Skills Mastery companion course 🎯 What You'll Learn - Build a Validator skill that checks Python code against real project conventions - Build a Workflow skill that scaffolds a properly-structured test file - Test both skills against real Python files, not toy examples What This Pack Covers Two skills: one that reviews Python code against real project conventions a Validator , and one that scaffolds test files correctly a Workflow . Together they cover the two moments a Python-focused skill earns its keep most: reviewing code someone just wrote, and setting up the boilerplate for code that’s about to be written. Skill 1: python-convention-check --- name: python-convention-check description: Reviews Python code against project conventions — type hints, docstrings, import ordering, and dependency pinning. Use when reviewing a Python pull request, checking a new module before merge, or when the user asks whether their Python code follows project style. metadata: version: "1.0.0" --- Review checklist Check the file against these rules, in order, and report every failing rule — not just the first one found: 1. Type hints. Every function signature has parameter and return type hints, except init return types always None , may be omitted . 2. Docstrings. Every public function and class has a docstring. Private functions prefixed are exempt unless they exceed 15 lines. 3. Import ordering. Standard library imports, then third-party, then local — each group separated by a blank line, alphabetized within each group. 4. Dependency pinning. Any new entry in pyproject.toml or requirements.txt specifies a version constraint — never a bare package name with no version at all. 5. No mutable default arguments. Flag any def f x= or def f x={} — these are a well-known Python foot-gun. For each failure, report: the file and line, which rule failed, and a corrected example. If everything passes, confirm explicitly. Pattern: Validator, per Skill Design Patterns /courses/production-agent-skills-engineering/skill-design-patterns — checks against fixed rules and reports specifics, never producing new code itself. Skill 2: python-test-scaffold --- name: python-test-scaffold description: Generates a pytest test file skeleton for a given Python module, following this project's test conventions. Use when the user asks to write tests, add test coverage, or scaffold a test file for a module that doesn't have one yet. metadata: version: "1.0.0" --- Generate a test scaffold 1. Read the target module and identify every public function and class method skip anything prefixed . 2. Create tests/test