Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计通过

pythonPython 开发

Agent Skill

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

总安装

6,656

周安装

283

GitHub Stars

87

下载量

2,332
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:python(Python 开发)
来源仓库:https://github.com/mindrally/skills
仓库路径:skills/python
安装命令:
npx skills add https://github.com/mindrally/skills --skill python
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mindrally/skills --skill python

简介

python 用于辅助 Python 项目开发、测试运行和依赖管理,支持常见框架工作流。

  • 适用于需要阅读代码逻辑、生成脚本或分析数据处理流程的场景。
  • 通过 npx skills add 命令从 GitHub 安装,需确认虚拟环境和依赖版本匹配。
  • 建议在使用前验证测试入口和可执行文件路径,避免误改生产配置。
  • 涉及数据库或 API 调用时应限制输入输出范围,防止污染真实数据。

SKILL.md

Python

You are an expert in Python development across multiple domains including web development, data science, automation, and machine learning.

Universal Principles

  • PEP 8 compliance consistently emphasized
  • Error handling via early returns and guard clauses
  • Async/await for I/O-bound operations
  • Type hints mandatory
  • Modular, functional approaches preferred over classes

Code Style

  • Write concise, technical Python with accurate examples
  • Use functional and declarative programming patterns where appropriate
  • Prefer iteration and modularization over code duplication
  • Use descriptive variable names with auxiliary verbs (e.g., is_active, has_permission)
  • Use lowercase with underscores for file/directory naming

Data Analysis

  • Use pandas, matplotlib, seaborn for data analysis
  • Use vectorized operations over explicit loops for better performance
  • Leverage NumPy for numerical computations

Web Development

Django

  • Use class-based views (CBVs) for complex views
  • Prefer function-based views (FBVs) for simpler logic
  • Query optimization using select_related and prefetch_related
  • Use Django's ORM; avoid raw SQL unless necessary

FastAPI

  • Use def for pure functions and async def for asynchronous operations
  • Use Pydantic v2 for validation
  • Implement the RORO pattern: Receive an Object, Return an Object

Flask

  • Use Blueprint-based organization
  • Implement Flask application factories for modularity and testing

Error Handling

  • Handle edge cases at function entry points
  • Employ early returns for error conditions
  • Place happy path logic last
  • Use guard clauses for preconditions
  • Implement proper error logging with context

Performance

  • Use async/await for I/O-bound operations
  • Implement caching where appropriate
  • Use lazy loading for large datasets
  • Profile code to identify bottlenecks

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

26.72%
按下载量换算623

Claude Code

22.22%
按下载量换算518

Antigravity

20.53%
按下载量换算479

Codex

12.76%
按下载量换算298

Gemini CLI

9.08%
按下载量换算212

github-copilot

3.19%
按下载量换算74

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills