python-docstring-linter-ast-pydocstyle

Validates and auto-generates Python docstrings using the ast module and pydocstyle conventions. Supports NumPy, Google, and Sphinx docstring styles and integrates type stubs to assist validation and generation.

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 "python-docstring-linter-ast-pydocstyle" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a808b35d0f79c1b85fad31a1bbe18a57e7bf15e8feb61c2da1dc3eaff5adc38f. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/python-docstring-linter-ast-pydocstyle 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

Validates and auto-generates Python docstrings using the ast module and pydocstyle conventions. Supports NumPy, Google, and Sphinx docstring styles and integrates type stubs to assist validation and generation.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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: 1119

Python 文档字符串检查器

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:

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 面向 Python 开发者解决文档字符串规范化的明确痛点
  • 支持 NumPy、Google、Sphinx 等多种主流格式,实用性强
Trigger Precision85/100

Highlights

  • 触发描述完整清晰,覆盖核心功能关键词
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少明确的使用场景说明和端到端示例

    Recommendation: 补充 When to Use 章节和具体使用示例

  • 缺少清晰的执行步骤划分 Reported severity: Minor

    Installation 和 Basic usage 部分缺乏清晰的步骤划分

    Recommendation: 使用 Phase 或步骤列表明确执行流程

Highlights

  • frontmatter 完整,文档结构基本清晰
Execution Reliability70/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖安装失败、格式不匹配等主要异常场景

    Recommendation: 补充常见异常处理说明和错误排查指南

Highlights

  • 工具来源明确,提供了基本的安装和使用说明
Evidence Verifiability (mean of the first four)76/100

The arithmetic mean of the first four original scores, rounded to a whole number.

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.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 27
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com
  • www.python.org

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.