AgentStack
SKILL verified MIT Self-run

Python Conventions

skill-swell-agents-coding-skills-python-conventions · by swell-agents

Apply Python conventions — uv, Ruff strict, mypy strict, pytest, pip-audit.

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-swell-agents-coding-skills-python-conventions

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access Used
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Python Conventions? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Default Stack

If the repo doesn't define its own tooling, use:

  • UV — dependency management, builds, running scripts
  • GitHub Actions — CI/CD
  • Ruff — linting and formatting, with these rule sets:
  • E (pycodestyle errors), F (pyflakes), I (isort), UP (pyupgrade)
  • B (flake8-bugbear), SIM (flake8-simplify), PTH (pathlib)
  • PIE (flake8-pie), RUF (ruff-specific), T201 (no print)
  • PLC0415 (import-outside-toplevel)
  • mypy — strict mode (strict = true, warn_return_any = true, warn_unused_configs = true)
  • pytest — testing (pytest-cov, pytest-asyncio)
  • vulture — dead code detection
  • pip-audit — dependency security audit

Scratch Testing

ALWAYS use test.py in project root for:

  • Ad-hoc testing, API calls, data exploration
  • Any Python code that isn't a formal test or production code
  • NEVER use inline Python heredocs via Bash (uv run python3 << 'EOF')

Write code to test.py, then run with uv run python test.py. Comment out previous code — keeps history. Gitignored — never commit.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.