mcpField
B
building-python-communities

building-python-communities

github.com/wdm0006開発10993 回インストール2 日前に更新
リポジトリ

building-python-communities について

Pythonライブラリのメンテナー向けに、貢献フロー、ガバナンス、GitHubでの協業テンプレートを案内するスキルです。

主な機能

  1. 01貢献ガイドと行動規範のテンプレート
  2. 02不具合・機能要望テンプレート
  3. 03プルリクエスト用テンプレートとチェックリスト
  4. 04GitHub Actionsによる歓迎の自動化
  5. 05ラベルとガバナンスのガイド

活用シーン

  1. 01Pythonライブラリの貢献フロー整備
  2. 02Issueとプルリクエストのテンプレート整理
  3. 03新規貢献者の参加方法の計画

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/wdm0006/python-skills --skill building-python-communities

インストール後、Claude Code で/building-python-communitiesを入力して読み込まれたか確認します。

同梱ファイルGOVERNANCE.mdTEMPLATES.md

詳細

Python ライブラリのコミュニティ管理

必須ファイル

CONTRIBUTING.md
# Contributing

## Development Setup

git clone https://github.com/user/package.git
cd package
uv sync --extra 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
CODE_OF_CONDUCT.md

オープンソースの標準であるContributor Covenantを使用します。

Issue テンプレート

.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

PR テンプレート

.github/PULL_REQUEST_TEMPLATE.md:

## Description
## Related Issue (Fixes #)
## Checklist
- [ ] Tests added
- [ ] Documentation updated
- [ ] CHANGELOG entry added

GitHub Actions による自動化

# .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 - 初心者向け
  • help wanted - 追加の対応が必要
  • bug、enhancement、documentation

詳しいテンプレートについては、以下をご覧ください。

チェックリスト

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

詳細情報

このスキルは、Will McGinnisによる高品質な Python ライブラリ開発ガイドの「メンテナンス」セクションに基づいています。さらに詳しくは、以下の記事をご覧ください。

コメント