Co-Pilot / 辅助式
更新于 24 days ago

python-skills

Wwdm0006
0.0k
wdm0006/python-skills
80
Agent 评分

💡 摘要

一个用于专业Python库开发的技能集,涵盖设置、质量、测试等内容。

🎯 适合人群

Python开发者软件工程师DevOps专业人士技术项目经理开源贡献者

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。

Python Library Development Skills

A comprehensive set of Claude Code skills for professional Python library development, based on the guide at mcginniscommawill.com.

Installation

Step 1: Add the Marketplace

First, add this repository as a plugin marketplace in Claude Code:

/plugin marketplace add wdm0006/python-skills

Step 2: Install a Plugin Bundle

Install the complete skill set (recommended):

/plugin install python-library-complete@wdm0006-python-skills

Or install specific bundles based on your needs:

# Core skills for starting projects
/plugin install python-library-foundations@wdm0006-python-skills

# Skills for packaging and releasing
/plugin install python-library-distribution@wdm0006-python-skills

# Quality-focused skills (security, performance, API design)
/plugin install python-library-quality@wdm0006-python-skills

Alternative: Local Installation

For project-specific installation, clone this repository and copy the skills you need:

# Clone the repository git clone https://github.com/wdm0006/python-skills.git # Copy skills to your project's .claude/skills/ directory mkdir -p .claude/skills cp -r python-skills/skills/* .claude/skills/

Or for global installation (available in all projects):

# Copy to your personal Claude skills directory mkdir -p ~/.claude/skills cp -r python-skills/skills/* ~/.claude/skills/

Verifying Installation

After installation, you can verify the skills are loaded by running:

/plugin list

Note: Skills require Claude Code Pro, Max, Team, or Enterprise. Free tier users do not have access to Skills.

Available Skills

| Skill | Description | |-------|-------------| | setting-up-python-libraries | Project setup with pyproject.toml, uv, ruff, pytest, pre-commit, GitHub Actions | | improving-python-code-quality | Ruff linting, mypy type checking, Pythonic idioms, refactoring | | testing-python-libraries | Pytest test suites, fixtures, parametrization, Hypothesis property-based testing | | auditing-python-security | Security audits with Bandit, pip-audit, Semgrep, detect-secrets | | designing-python-apis | API design principles, deprecation, breaking changes, error handling | | documenting-python-libraries | Google-style docstrings, Sphinx setup, ReadTheDocs configuration | | packaging-python-libraries | pyproject.toml, PyPI publishing, trusted publishing, wheel building | | managing-python-releases | Semantic versioning, changelogs, release automation, deprecation workflows | | optimizing-python-performance | Profiling, memory analysis, benchmarking, optimization strategies | | building-python-clis | Click/Typer CLIs, command groups, shell completion, CLI testing | | building-python-communities | CONTRIBUTING.md, issue templates, PR templates, GitHub automation | | reviewing-python-libraries | Comprehensive library reviews across all quality dimensions |

Plugin Bundles

python-library-complete

All 12 skills for comprehensive Python library development.

python-library-foundations

Core skills for starting projects:

  • Project setup
  • Code quality
  • Testing strategy

python-library-distribution

Skills for packaging and releasing:

  • Packaging
  • Release management
  • CLI development

python-library-quality

Quality-focused skills:

  • Security audit
  • Performance
  • API design

Usage

Once installed, Claude will automatically use these skills when you ask about:

  • Setting up a new Python library
  • Adding tests to your project
  • Publishing to PyPI
  • Reviewing code quality
  • Security scanning
  • Writing documentation
  • And more...

Contributing

Contributions are welcome! Please open an issue or PR on GitHub.

License

MIT License - see LICENSE for details.

五维分析
清晰度8/10
创新性7/10
实用性9/10
完整性8/10
可维护性8/10
优缺点分析

优点

  • 涵盖库开发各个方面的全面技能集。
  • 支持本地和全局安装。
  • 包括质量和安全相关的技能。

缺点

  • 需要Claude Code Pro或更高版本才能访问。
  • 对初学者可能会感到不知所措。
  • 依赖于GitHub Actions等外部工具。

相关技能

python-pro

A
toolCo-Pilot / 辅助式
86/ 100

“看起来很能打,但别让配置把人劝退。”

fastapi-expert

A
toolCo-Pilot / 辅助式
86/ 100

“看起来很能打,但别让配置把人劝退。”

python-skill

A
toolCo-Pilot / 辅助式
82/ 100

“这个指南就像一个严格的老师——有帮助,但有点过于拘谨。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 wdm0006.