# Python Engineering

> Build maintainable Python applications and automation with typed boundaries, packaging, environments, tests, and robust subprocess handling.

- Skill: `nafeeur/python-engineering` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nafeeur/python-engineering`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nafeeur/python-engineering/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: nafeeur (https://skillmd.com/u/nafeeur)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nafeeur/python-engineering

---


# Python Engineering

- Use the project’s existing environment and packaging system; do not introduce a second one.
- Add type hints at public boundaries and structured validation for external data.
- Use pathlib, context managers, explicit timeouts, and subprocess argument arrays where possible.
- Preserve exception context and return actionable errors.
- Cover platform-specific behavior and clean shutdown for long-running processes.
- Run formatter/linter/type checker/tests configured by the repository.

