·python-patterns
</>

python-patterns

affaan-m/everything-claude-code

Python 习惯用法、PEP 8 标准、类型提示以及构建健壮、高效和可维护的 Python 应用程序的最佳实践。

397安装·27热度·@affaan-m

安装

$npx skills add https://github.com/affaan-m/everything-claude-code --skill python-patterns

SKILL.md

Idiomatic Python patterns and best practices for building robust, efficient, and maintainable applications.

Python prioritizes readability. Code should be obvious and easy to understand.

| EAFP | Easier to Ask Forgiveness than Permission | | Context managers | Use with for resource management | | List comprehensions | For simple transformations | | Generators | For lazy evaluation and large datasets | | Type hints | Annotate function signatures | | Dataclasses | For data containers with auto-generated methods |

Python 习惯用法、PEP 8 标准、类型提示以及构建健壮、高效和可维护的 Python 应用程序的最佳实践。 来源:affaan-m/everything-claude-code。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/affaan-m/everything-claude-code --skill python-patterns
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 python-patterns?

Python 习惯用法、PEP 8 标准、类型提示以及构建健壮、高效和可维护的 Python 应用程序的最佳实践。 来源:affaan-m/everything-claude-code。

如何安装 python-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/affaan-m/everything-claude-code --skill python-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/affaan-m/everything-claude-code