python-project-development
Installation
SKILL.md
Python Project Development (Lean)
Use this skill when
- creating Python CLIs or packages
- setting up
pyproject.toml - preparing build/publish workflows
- tightening packaging, linting, and test gates
Defaults
- Prefer
uvfor dependency and run workflows. - Keep package layout
src/<package_name>/. - Use typed function signatures and explicit exit codes.
- Treat
ruff+ tests as baseline quality gates.
Core workflow
- Choose project type: CLI, library, or hybrid.
- Scaffold minimal
pyproject.tomland package layout. - Implement entry point and core module.
- Add tests and lint config.
- Validate build/install locally.
Minimal commands
# Install project deps
uv sync
# Lint and format
uv run ruff check .
uv run ruff format .
# Test
uv run pytest
# Build artifacts
uv run python -m build
Constraints
- No hardcoded secrets/paths.
- Avoid heavy dependencies without clear payoff.
- Keep packaging metadata accurate and minimal.
References
Related skills
More from ven0m0/claude-config
llm-boost
|
20uv
|
11substituting-modern-tools
Substitutes modern performant tools for legacy equivalents in generated code (npm→bun, find→fd, pip→uv, grep→rg, jq→jaq, eslint→biome, black→ruff, git→gix). Use when generating shell commands or scripts.
9linter autofix patterns
Cross-language linter autofix commands and common fix patterns for biome, ruff, clippy, shellcheck, and more.
9moai-tool-svg
>
5building-mcp-servers
Creates high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services. Use when building MCP servers to integrate APIs, designing tool schemas, or implementing Python (FastMCP) or TypeScript (MCP SDK) servers. Triggers include "MCP server", "tool schema", "model context protocol", or "FastMCP".
5