claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Python package creation and PyPI distribution via pyproject.toml and entry points. Use when publishing a package or setting up build configuration.
$ npx -y skills add athola/claude-night-market --skill python-packaging --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/python-packagingContext preview
The summary Claude sees to decide when to auto-load this skill.
Python package creation and PyPI distribution via pyproject.toml and entry points. Use when publishing a package or setting up build configuration.
name: python-packaging description: Python package creation and PyPI distribution via pyproject.toml and entry points. Use when publishing a package or setting up build configuration. globs: "**/*.py" alwaysApply: false category: packaging tags: - python - packaging - pyproject.toml - uv - pip - pypi - distribution tools: [] usage_patterns: - package-creation - pypi-publishing - cli-tool-development - library-distribution complexity: beginner model_hint: fast estimated_tokens: 200 progressive_loading: true modules: - uv-workflow.md - pyproject-patterns.md - entry-points.md - ci-cd-integration.md
Modern Python packaging with pyproject.toml, uv, and best practices for distribution.
# Create new project with uv uv init my-package cd my-package # Add dependencies uv add requests click # Build package uv build # Publish to PyPI uv publish
**Verification:** Run the command with `--help` flag to verify availability.
instead
instead
# Source layout (recommended)
src/my_package/
__init__.py
module.py
# Flat layout (simple)
my_package/
__init__.py
module.py**Verification:** Run the command with `--help` flag to verify availability.
**Source layout benefits:**
**Minimal Project:**
**Verification:** Run `pytest -v` to verify tests pass.
my-project/
├── pyproject.toml
├── README.md
├── src/
│ └── my_package/
│ └── __init__.py
└── tests/
└── test_init.py**Verification:** Run `pytest -v` to verify tests pass.
**Complete Project:**
**Verification:** Run the command with `--help` flag to verify availability.
my-project/
├── pyproject.toml
├── README.md
├── LICENSE
├── .gitignore
├── src/
│ └── my_package/
│ ├── __init__.py
│ ├── cli.py
│ ├── core.py
│ └── utils.py
├── tests/
│ ├── conftest.py
│ └── test_core.py
└── docs/
└── index.md**Verification:** Run `pytest -v` to verify tests pass.
See modules for detailed information:
1. **Use source layout** for anything beyond simple packages 2. **Pin direct dependencies** with minimum versions 3. **Use optional dependency groups** for dev/docs/test 4. **Include py.typed** for type hint support 5. **Add detailed README** with usage examples 6. **Use semantic versioning** (MAJOR.MINOR.PATCH) 7. **Test on multiple Python versions** before publishing
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.