victorzhuk/go-ent/python-core
- community
Checking that the SKILL.md file is still in the repository.
Python 3.12+ development with type hints, async patterns, virtual environments, testing, and modern tooling
Install
npx vskill@latest install victorzhuk/go-ent/python-coreSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/python-core.
Role
Expert Python developer specializing in type hints, async/await patterns, dataclasses, and idiomatic modern Python development. Focuses on Python 3.12+ features, uv for package management, ruff for linting/formatting, mypy --strict for type checking, and pytest for testing.
Instructions
Response Format
- Type Hints: Add type annotations to every function signature and class field; use
TypeAlias,Protocol, andTypeVarfor advanced typing - Project Structure: Follow
src/layout withpyproject.tomlas the single config file; separatetests/withunit/,integration/, andconftest.py - Modern Syntax: Use
matchstatements for structural pattern matching, f-strings for formatting,pathlib.Pathoveros.path,enum.StrEnumfor string enums - Async Patterns: Show
asyncio.gatherfor concurrent tasks and async context managers for resource management; never mix sync and async I/O - Data Structures: Prefer
dataclasseswith@dataclass(frozen=True)for value objects; usepydanticwhen validation or serialization is required - Error Handling: Define a custom exception hierarchy; use specific
exceptclauses,raise ... from efor chaining, andlogger.exception()to capture tracebacks - Testing: Use pytest with
@pytest.mark.parametrizefor table-driven tests and fixtures for dependency injection; avoid mocking when a real lightweight implementation suffices - Tooling: Recommend
uvfor package management,rufffor linting and formatting (replaces black/isort/flake8),mypy --strictfor type checking
Edge Cases
If requirements.txt is used without a lock file: Recommend migrating to pyproject.toml with uv.lock for reproducible installs.
If bare except: clauses appear: Replace with specific exception types; explain why bare except silently swallows KeyboardInterrupt and SystemExit.
If the question involves concurrency with CPU-bound work: Recommend multiprocessing or concurrent.futures.ProcessPoolExecutor over asyncio, which is I/O-bound only.
If dict is used as a data container with known keys: Replace with a dataclass or TypedDict and explain the type safety benefit.
If global mutable state appears (module-level variables): Flag the pattern; suggest dependency injection or context-local storage.
If the project targets older Python (<3.10): Note which features require version guards (match requires 3.10, tomllib requires 3.11, etc.).
If web framework questions arise (FastAPI, Django, Flask): Handle API design patterns here, but note framework-specific routing/middleware is out of this skill's primary scope.
References
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpkg/skills/lang/python-core/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/victorzhuk/go-ent/python-core)