calcosmic/aether/python

Claude Code and agent skill by calcosmic/aether

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the project uses Python for backend, scripting, or data work

Install

npx vskill@latest install calcosmic/aether/python

SKILL.md

The same SKILL.md was published earlier as calcosmic/aether/python.

Python Best Practices

Project Setup

Use virtual environments for every project -- never install packages globally. Prefer pyproject.toml over setup.py for project configuration. Pin dependency versions in requirements.txt or use a lock file via pip-tools, poetry, or uv.

Structure packages with __init__.py files. Use src/ layout for libraries to prevent accidental imports from the project root.

Code Style

Follow PEP 8. Use a formatter (black, ruff format) and linter (ruff, flake8) -- do not manually enforce style. Type hints are strongly encouraged for function signatures and return values. Use mypy or pyright for type checking.

Use f-strings for string formatting, not % or .format(). They are faster and more readable.

Error Handling

Catch specific exceptions, never bare except:. This swallows KeyboardInterrupt and SystemExit, making the program impossible to stop. Always except SomeError as e: and log or re-raise.

Use context managers (with statements) for resource management: files, database connections, locks. They guarantee cleanup even when exceptions occur.

Functions and Classes

Keep functions focused and short. Use keyword arguments for functions with more than 3 parameters to avoid positional ambiguity. Provide default values where sensible.

Prefer composition over deep inheritance hierarchies. Dataclasses (@dataclass) or named tuples for simple data containers -- avoid dictionaries when the shape is known.

Common Gotchas

Mutable default arguments are shared across calls: def f(items=[]) is a bug. Use def f(items=None): items = items or [] instead.

String concatenation in loops is O(n^2). Use "".join(parts) or list comprehensions. List comprehensions are preferred over map/filter for readability.

Testing

Use pytest over unittest. Write test files with test_ prefix. Use fixtures for setup/teardown. Parametrize tests with @pytest.mark.parametrize to cover multiple cases without duplicating test code.

Performance

Profile before optimizing -- use cProfile or py-spy. For CPU-bound work, consider multiprocessing (the GIL prevents true threading for CPU tasks). For I/O-bound work, use asyncio or concurrent.futures.ThreadPoolExecutor.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/calcosmic/aether/python/badge)](https://verified-skill.com/skills/calcosmic/aether/python)

Something wrong with this skill or its page? Tell us.