irfanfaraaz/claude-kit/python-best-practices
Claude Code and agent skill by irfanfaraaz/claude-kit
- community
Checking that the SKILL.md file is still in the repository.
Python best practices across design patterns, error handling, project structure, and testing. Use when writing Python code, structuring new Python projects, designing APIs for libraries, implementing error handling, or setting up pytest test suites.
Install
npx vskill@latest install irfanfaraaz/claude-kit/python-best-practicesSKILL.md
The same SKILL.md was published earlier as the-aios/aios/python-best-practices.
Python Best Practices
Curated reference for writing production-quality Python — opinionated where it matters, undogmatic where it doesn't.
When to load which reference
| Working on | Read | |
|---|---|---|
| Module layout, public APIs, package structure | references/project-structure.md | |
| Design patterns (KISS, SRP, composition, DI) | references/design-patterns.md | |
| Validation, exception hierarchies, partial-failure handling | references/error-handling.md | |
| pytest, fixtures, mocking, parameterization, TDD | references/testing-patterns.md |
Each reference is an in-depth guide — load only the one relevant to the current task.
Core principles (all references share)
- Explicit over implicit — type hints, named arguments, no magic.
- Small over abstract — one function per concept, no premature inheritance.
- Fail loud at boundaries, validate at the edge — Pydantic/dataclasses at API surfaces, raw types internally.
- Test the behavior, not the implementation — pytest fixtures over class-based setUp, parameterize for variants.
For test-first discipline beyond Python specifics, see superpowers/test-driven-development.
Security
- Security scanPassed, 90 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 repositoryCheckingskills/python-best-practices/SKILL.md
Popularity
- 7-day trend score
- 0
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/irfanfaraaz/claude-kit/python-best-practices)