重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
friendly-python by psiace/skills
npx skills add https://github.com/psiace/skills --skill friendly-python编写友好 Python 代码的简明指南,旨在实现清晰、可维护且易于扩展的代码。
.py 文件。| 主题 | 指南 | 参考 |
|---|---|---|
| 原则 | 正确性第一,清晰度其次,性能最后 | references/principles.md |
| 错误处理 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 仅捕获你能处理的异常;保留上下文 |
| references/error-handling.md |
| API 设计 | 提供默认值和简单入口点;隐藏内部实现 | references/api-design.md |
| 扩展架构 | 集中化扩展点和变更位置 | references/extension-architecture.md |
| 面向对象设计 | 清晰的构造函数;避免在 __init__ 中进行模式切换 | references/oop-design.md |
| 复用与组合 | 优先选择轻量级包装器和组合 | references/reuse-composition.md |
| 可移植性与 Python 风格 | 避免复制其他语言模式;保持 Python 风格 | references/portability-pythonic.md |
| CLI Argparse | 将解析与执行分离;结构化子命令 | references/cli-argparse.md |
| 审查 | 代码质量审查清单 | references/review-checklist.md |
urls 中列出了来源 URL。每周安装次数
65
代码仓库
GitHub 星标数
162
首次出现
2026年2月2日
安全审计
安装于
codex59
opencode58
github-copilot54
gemini-cli53
kimi-cli53
amp53
Concise guidance for writing friendly Python code that is clear, maintainable, and easy to extend.
.py.| Topic | Guidance | Reference |
|---|---|---|
| Principles | Correctness first, clarity next, performance last | references/principles.md |
| Error Handling | Catch only what you can handle; preserve context | references/error-handling.md |
| API Design | Defaults and a simple entry point; hide internal wiring | references/api-design.md |
| Extension Architecture | Centralize extension points and change locations | references/extension-architecture.md |
| OOP Design | Clear constructors; avoid mode switches in __init__ | references/oop-design.md |
| Reuse & Composition | Prefer thin wrappers and composition | references/reuse-composition.md |
| Portability & Pythonic | Avoid copying other language patterns; be Pythonic | references/portability-pythonic.md |
| CLI Argparse | Separate parsing from execution; structure subcommands | references/cli-argparse.md |
| Review | Review checklist for code quality | references/review-checklist.md |
urls.Weekly Installs
65
Repository
GitHub Stars
162
First Seen
Feb 2, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex59
opencode58
github-copilot54
gemini-cli53
kimi-cli53
amp53
FastAPI官方技能:Python Web开发最佳实践与CLI工具使用指南
1,200 周安装
Base技能包:bankrbot开源AI助手核心技能库,提升开发效率与代码质量
99 周安装
Yoink链上夺旗游戏:Base链智能合约交互指南与玩法规则
99 周安装
Godot MCP 场景构建器 - 高级智能体接口,从零构建 Godot 游戏场景
102 周安装
构建完整AI聊天应用指南:Next.js + Neon + AI SDK实现持久化聊天与自动命名
100 周安装
Deep Research:基于Google Gemini的AI深度研究工具,支持RAG文件上传与自动化报告生成
101 周安装
Gemini Web API 客户端 - 文本/图像生成与多轮对话逆向工程工具
102 周安装