python-project
Use when writing, reviewing, or modifying Python code (*.py files).
Skill by hugobatista
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hugobatista-python-project
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, testing, devops, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/python-project
What's inside
- Skill name
python-project- Description
- Use when writing, reviewing, or modifying Python code (*.py files). Covers Typer CLI, FastAPI, pytest, uv + hatch, 100% coverage. When creating a new Python project, also load the python-ci skill for CI setup and the python-devcontainer skill for devcontainer setup.
- License
- MIT
- Instructions
- 66 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## Frameworks & Libraries
- **CLI**: use [Typer](https://typer.tiangolo.com/) — always fetch latest docs
- **Web API**: use [FastAPI](https://fastapi.tiangolo.com/) — always fetch latest docs
- **Dependencies**: `pyproject.toml` + `uv`. Pin the tool version with `required-version` in `[tool.uv]`, exclude fresh deps with `exclude-newer = "30 days"`, and declare the package index explicitly with `[[tool.uv.index]]` (`explicit = true`). For production Docker images, export locked deps with `uv export --no-dev --no-emit-project -o requirements.txt` and install with `pip install --require-hashes`.
- **Build**: hatchling; use hatch when needed
- **Structure**: packages over monolithic files; no module > 500 lines; no name-prefix modules
## Testing & Coverage
- 100% coverage required; no `# pragma: no cover` or `# type: ignore` — fix the
root cause instead (cast, explicit annotation, restructure). The only exception
is inherently untypeable code (e.g. SQLAlchemy dynamic attribute access), and
even then prefer `cast()` or a typed helper.
- Tests for all new features, bug fixes, critical paths, and edge cases (empty inputs, invalid types, large datasets)
## Code Standards
- PEP 8; 4-space indent; 79-char line limit; English only regardless of prompt language
- Type hints on all functions; `typing` module for annotations
- PEP 257 docstrings on public API only — private functions (`_name`) only if logic is non-obvious
- No docstrings on tests — test function names must be descriptive enough to stand alone
- No inline comments for self-explanatory code — names and types are the documentation; comment *why*, not *what*
- Descriptive names; break complex functions into smaller ones
- Handle edge cases explicitly; document design decisions in comments
## Project scaffolding
When creating a new Python project, write a `.gitignore` to the project root:
```gitignore
# Python
__pycache__/
*.pyc
*.pyo
# Virtual environment
.venv/
# Tools
.mypy_cache/
.pytest_cache/
.ruff_cache/
# Coverage
.coverage
coverage/
coverage.xml
htmlcov/
# Build
dist/
build/
*.egg-info/
# Environment
.env
```
## Documentation example
```python
def calculate_area(radius: float) -> float:
"""Return the area of a circle with the given radius."""
import math
return math.pi * radius ** 2
```From hugobatista/agent-skills, MIT.
More from hugobatista/agent-skills
- 0.582score
web-frontend
hugobatista
Use when building or modifying web frontend code.
SkillAFreshness: A★ 1Claude Code +9 - 0.547score
pyproject-toml
hugobatista
Use when creating or modifying pyproject.toml configuration for Python projects.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
architecture-brief
hugobatista
Generate an architecture overview document from a pull request or local git diff.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
markdown-style
hugobatista
Use when writing or editing Markdown documentation (*.md files).
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
mermaid-syntax
hugobatista
Correct Mermaid diagram syntax reference covering all types (flowchart, sequence, class, ERD, state, C4, git, gantt, pie).
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ste100
hugobatista
Use when writing or editing technical documentation (manuals, procedures, work instructions, warnings, cautions, notes, maintenance guides, user guides).
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
python-cli
hugobatista
Use when building or modifying Python CLI tools.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
renovate
hugobatista
Use when creating or modifying Renovate configuration for automated dependency management.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
docker-python
hugobatista
Dockerfile best practices for Python projects.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
node-ci
hugobatista
Creates GitHub Actions CI workflows for Node.js/Bun projects: typecheck (tsc), tests (bun test), draft releases, and npm publish with OIDC trusted publishing.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
forge-detect
hugobatista
Detect the forge type from the current repo's git remote.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
python-ci
hugobatista
ALWAYS load alongside the python-project skill for any new or existing Python project.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 20, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hugobatista/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hugobatista
- 0.582score
web-frontend
hugobatista
Use when building or modifying web frontend code.
SkillAFreshness: A★ 1Claude Code +9 - 0.547score
renovate
hugobatista
Use when creating or modifying Renovate configuration for automated dependency management.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ste100
hugobatista
Use when writing or editing technical documentation (manuals, procedures, work instructions, warnings, cautions, notes, maintenance guides, user guides).
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
markdown-style
hugobatista
Use when writing or editing Markdown documentation (*.md files).
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
mermaid-syntax
hugobatista
Correct Mermaid diagram syntax reference covering all types (flowchart, sequence, class, ERD, state, C4, git, gantt, pie).
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
pyproject-toml
hugobatista
Use when creating or modifying pyproject.toml configuration for Python projects.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
python-project skill. Agent Mart. https://agentmart.dev/skills/hugobatista-python-project (last updated 2026-10-24)