maroffo/claude-forge/python
Claude Code and agent skill by maroffo/claude-forge
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Python development with uv, type checking, linting, testing, and Docker deployment. Use when working with .py files, pyproject.toml, or user asks about pytest, mypy, ruff, FastAPI, Django.
Install
npx vskill@latest install maroffo/claude-forge/pythonSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as maroffo/claude-forge/python.
ABOUTME: Complete Python development with uv package manager, quality tools, and Docker
ABOUTME: Modern workflow with uv, ruff, ty, pytest, Pydantic, and containerization
Python Development
Quick Reference
See also: _AST_GREP.md, _PATTERNS.md, source-control
Version (determine, don't assume)
See ../_LANG_COMMON.md. Fetch the truth:
Pre-Commit Verification (MANDATORY)
make check && make test-e2e must pass (enforced by the pre-commit-gate hook; see ../_LANG_COMMON.md). What make check expands to for Python:
Package Management (uv)
Use uv for all dependency management and execution, not pip, poetry or pipenv: universal lockfile, fast resolver.
pyproject.toml
Code Quality
Ruff config:
Testing: pytest with fixtures, AAA pattern, parametrize. Coverage via --cov.
Pydantic v2
Use Pydantic for all external data boundaries (API I/O, config, queue payloads). Prefer model_validate_json over parse-then-validate. Field(...) for constraints, @field_validator for custom rules.
Code Review Checklist
- [ ] Public functions have type hints, no unjustified
Any - [ ] Pydantic for external data,
X | NonenotOptional[X] - [ ] Ruff/type checker pass, no bare
except: - [ ] Context managers,
asyncio.gather()for concurrency - [ ] Async is not concurrent: no single stateful client (e.g. SQLAlchemy
AsyncSession) shared acrossgather()tasks; one session per task via a factory. A shared session corrupts under concurrent use. - [ ] No CPU-bound work inside `async def` without
asyncio.to_thread(parsing, hashing, rendering): it blocks the event loop and serializes every concurrent task. Rule of thumb: a function thatawaits nothing probably needsto_thread. - [ ] AAA tests, parametrized
For Docker, CI/CD, async patterns, and detailed testing examples, see references/python-patterns.md.
Resources
Security
- Security scanPassed, 98 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/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/maroffo/claude-forge/python)