From python-library-distribution
Provides templates and workflows for setting up open source Python library communities: CONTRIBUTING.md, CODE_OF_CONDUCT.md, issue/PR templates, contributor recognition, and GitHub automation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/python-library-distribution:communityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```markdown
# Contributing
## Development Setup
git clone https://github.com/user/package.git
cd package
pip install -e ".[dev]"
pre-commit install
pytest
## Making Changes
1. Create a branch: `git checkout -b feature/name`
2. Make changes, add tests
3. Run: `make test && make lint`
4. Commit and open a PR
## Commit Messages
- `Add:` new feature
- `Fix:` bug fix
- `Update:` enhancement
- `Docs:` documentation
Use Contributor Covenant - the standard for open source.
.github/ISSUE_TEMPLATE/bug_report.md:
---
name: Bug Report
labels: 'bug'
---
## Description
## To Reproduce
## Expected vs Actual Behavior
## Environment (OS, Python version, package version)
## Minimal Reproducible Example
.github/ISSUE_TEMPLATE/feature_request.md:
---
name: Feature Request
labels: 'enhancement'
---
## Problem Statement
## Proposed Solution
## Example Usage
.github/PULL_REQUEST_TEMPLATE.md:
## Description
## Related Issue (Fixes #)
## Checklist
- [ ] Tests added
- [ ] Documentation updated
- [ ] CHANGELOG entry added
# .github/workflows/welcome.yml
on:
pull_request_target:
types: [opened]
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
pr-message: "Thanks for your first PR! 🎉"
good first issue - Newcomer-friendlyhelp wanted - Extra attention neededbug, enhancement, documentationFor detailed templates, see:
Initial Setup:
- [ ] CONTRIBUTING.md
- [ ] CODE_OF_CONDUCT.md
- [ ] Issue templates
- [ ] PR template
- [ ] Labels defined
Ongoing:
- [ ] Respond to issues within 48h
- [ ] Review PRs within 1 week
- [ ] Maintain good first issues
- [ ] Recognize contributors
This skill is based on the Maintenance section of the Guide to Developing High-Quality Python Libraries by Will McGinnis. See these posts for deeper coverage:
npx claudepluginhub wdm0006/python-skills --plugin python-library-completeGuides setup of GitHub community health files (LICENSE, CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md, issue/PR templates) via gh CLI and APIs for open source repos.
Guides setting up GitHub community health files (README, LICENSE, CODE_OF_CONDUCT, CONTRIBUTING, issue/PR templates, SECURITY.md) and repo configuration for open-source projects.
Sets up fast developer onboarding with one-command uv sync installs, Makefile targets for tasks like test/lint/format, CONTRIBUTING.md, issue/PR templates, CODEOWNERS, and community files.