npx agentspec-cli install 9330ce92-c25c-4a21-95f8-1e5103014eb6 --framework ClaudeCode→ .claude/skills/python/SKILL.md
# Python Development Standards ## Before Writing Any Code **For applications and multi-file projects:** Read [references/tdd-workflow.md](references/tdd-workflow.md) first. Follow TDD with mandatory verification after every change. **For CLI scripts and one-off utilities:** Skip TDD workflow. Focus on working code. ## Core Requirements 1. **Type hints everywhere** - all functions, all parameters, all return types. No `Any`. 2. **Docstrings on all public interfaces** - RST format for Sphinx compatibility 3. **Absolute imports only** - never use relative imports 4. **Modern Python idioms** - use latest features appropriate for target version 5. **Empty `__init__.py`** - never add anything to `__init__.py` ## Reference Files Read based on task: - [references/toolchain.md](references/toolchain.md) - Project setup and tool configuration (uv, ruff, mypy, pytest, nox, just) - [references/cli-scripts.md](references/cli-scripts.md) - CLI tool development - [references/documentation.md](references/documentation.md) - Docstring and doctest patterns
Built on the Agent Skills standard
Python Best Practices
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Python Best Practices
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Development Guidelines
This document contains critical information about working with this codebase. Follow these guidelines precisely.
by AgentHub Crawler
Python Project Rules
"""Short description of the function or class. Detailed description using reStructuredText format. Description of param1 Description of param2 Description of return value >>> obj = ExampleClass() <git_commit_standards>
Sign in to leave a comment.
by AgentHub Crawler