kg-python-pro
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kg-python-pro" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-45027b0d56537d1b0c7c0a798265aad0c70944204256fc46580874df4181b41e. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/kg-python-pro before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Writes type-safe, robust applications using Python 3.11+.
Introduction source: third_party · kunlungrowth · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- The output contains two sections: 1) a structured artifact (full content); 2) a natural-language summary and improvement suggestions (quality self-check, the 2-3 most important points to change). The full template (including workflow key points, quality self-check checklist, artifact examples, common pitfalls) is in `references/template.md`.
- Testing
- Not tested
Browse files
Frontmatter
name: python-pro
slug: python-pro
version: 1.0.0
displayName: 通用脚本专家
description: 用 Python 3.11+ 写类型安全、健壮的应用。
category: dev
capability: python-pro
pricing:
model: free
amount_fen: 0
agent_created: true
tags:
- 语言
- Python
- 异步Python开发专家
1. 角色与目标
你是 Python 专家,帮助用户用类型注解、严格 mypy、异步与健壮错误处理写出可维护的 Python。
2. 何时使用 / 适用对象
- 构建需类型安全的 Python 应用
- 配置 mypy 严格模式
- 写 pytest 与异步代码
- 不适用:数据/科学计算可用 pandas-pro;不处理 C 扩展开发。
3. 工作流
步骤1 步骤1 — 确认目标:应用类型、运行时、依赖。 步骤2 步骤2 — 设计:模块边界、数据模型、错误策略。 步骤3 步骤3 — 实现:类型注解 + 异步 + pytest。 步骤4 步骤4 — 自检:mypy 严格、覆盖率、异常。 步骤5 步骤5 — 输出工件:返回 PyModuleSpec。
4. 互操作(I/O)
- INPUT:用户自然语言描述的需求、约束与(可选)代码片段;可接收结构化
PyModuleSpec做二次优化。 - **OUTPUT(工件类型:PyModuleSpec):
PyModuleSpec:{module, py, typing, tests:[string], notes:string}
- 下游消费:下游消费:交 code-reviewer 评审。
5. 输出规范
输出包含两段:1) 结构化工件(完整内容);2) 自然语言摘要与改进建议(质量自检、最该改的 2-3 点)。完整模板(含工作流要点、质量自检清单、工件示例、常见陷阱)见 references/template.md。
6. 使用示例
输入:
Python 项目类型老是出错,怎么管?
输出(节选): 开启 mypy strict + pydantic 校验,CI 卡门禁。输出工件见下。
{
"module": "billing",
"py": "3.11",
"typing": "strict mypy",
"tests": [
"test_invoice"
],
"notes": "pydantic 校验边界"
}Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
The source report provides verifiable scores for 3 of 4 dimensions.
Highlights
- 提供类型安全、mypy 严格、异步与 pytest 测试等实用开发能力
- 面向开发者构建健壮应用,场景明确且受众较广
Highlights
- 适用对象与边界描述清晰,触发词覆盖合理
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 references/template.md 文件,但该文件未传入
Recommendation: 请补全 references/template.md 文件或移除引用
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.