python-docstring-linter-ast-pydocstyle
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "python-docstring-linter-ast-pydocstyle":https://skillpi.com/zh/skills/deepskill-a808b35d0f79c1b85fad31a1bbe18a57e7bf15e8feb61c2da1dc3eaff5adc38f。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/python-docstring-linter-ast-pydocstyle。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
使用 ast 模块和 pydocstyle 约定验证并自动生成 Python 文档字符串。支持 NumPy、Google 和 Sphinx 风格的文档字符串格式,并集成类型存根以辅助校验与生成。
介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 使用ast模块和pydocstyle约定验证并自动生成Python文档字符串。支持NumPy、Google和Sphinx文档字符串格式,并集成类型存根。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: "Python 文档字符串检查器"
slug: "python-docstring-linter-ast-pydocstyle"
version: "1.0.0"
displayName: "Python 文档字符串检查器"
summary: "使用ast模块和pydocstyle约定验证并自动生成Python文档字符串。支持NumPy、Google和Sphinx文档字符串格式,并集成类型存根。"
license: "MIT"
description: "使用ast模块和pydocstyle约定验证并自动生成Python文档字符串。支持NumPy、Google和Sphinx文档字符串格式,并集成类型存根。"
github_stars: 1119
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Library & API Reference"
framework: "Codex"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 1119Python 文档字符串检查器
Validates and auto-generates Python docstrings using the ast module and pydocstyle conventions. Supports NumPy, Google, and Sphinx docstring formats with type stub integration.
Installation
Use the upstream install or setup path that matches your environment:
- pip install pydocstyle
- Before submitting a PR make sure that you run make all.
Requirements and caveats from upstream:
- Ruff offers full parity with pydocstyle along with advanced features, better support for the latest Python versions, and ongoing development to ensure a top-notch linting experience. We highly recommend pydocstyle use...
- pydocstyle is a static analysis tool for checking compliance with Python
- PEP 257 http://www.python.org/dev/peps/pep-0257/_ out of the box, but it
Basic usage or getting-started notes:
-
We want to express our heartfelt gratitude to the pydocstyle community, maintainers, and contributors for their support and dedication over the years. Your contributions have been invaluable, and we appreciate the tim...
-
.. image:: https://github.com/1991513ccie-png/skills
-
-
Extracted from upstream docs: https://raw.githubusercontent.com/PyCQA/pydocstyle/HEAD/README.rst
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向 Python 开发者解决文档字符串规范化的明确痛点
- 支持 NumPy、Google、Sphinx 等多种主流格式,实用性强
亮点
- 触发描述完整清晰,覆盖核心功能关键词
待提升项
-
缺少 When to Use/示例章节 原报告严重程度:轻微
文档缺少明确的使用场景说明和端到端示例
改进建议:补充 When to Use 章节和具体使用示例
-
缺少清晰的执行步骤划分 原报告严重程度:轻微
Installation 和 Basic usage 部分缺乏清晰的步骤划分
改进建议:使用 Phase 或步骤列表明确执行流程
亮点
- frontmatter 完整,文档结构基本清晰
待提升项
-
异常处理覆盖不足 原报告严重程度:轻微
未覆盖安装失败、格式不匹配等主要异常场景
改进建议:补充常见异常处理说明和错误排查指南
亮点
- 工具来源明确,提供了基本的安装和使用说明
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 27 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
- raw.githubusercontent.com
- www.python.org
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。