python-docstring-extractor

Python docstring extractor: uses ast.parse and the docstring_parser library to extract and index Python module documentation, supports Google, NumPy, and Sphinx docstring styles, and uses typing_inspect to enable cross-referencing of type hints.

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

Python docstring extractor: uses ast.parse and the docstring_parser library to extract and index Python module documentation, supports Google, NumPy, and Sphinx docstring styles, and uses typing_inspect to enable cross-referencing of type hints.

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-extractor"
version: "1.0.0"
displayName: "Python 文档字符串提取器"
summary: "使用 ast.parse 和 docstring_parser 库提取和索引 Python 模块文档。支持 Google、NumPy 和 Sphinx docstring 格式,并通过 typing_inspect 实现类型提示交叉引用。"
license: "MIT"
description: "使用 ast.parse 和 docstring_parser 库提取和索引 Python 模块文档。支持 Google、NumPy 和 Sphinx docstring 格式,并通过 typing_inspect 实现类型提示交叉引用。"
github_stars: 266
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Library & API Reference"
framework: "Claude Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 266

Python 文档字符串提取器

Extracts and indexes Python module documentation using ast.parse and docstring_parser library. Supports Google, NumPy, and Sphinx docstring formats with type hint cross-referencing via typing_inspect.

Installation

Use the upstream install or setup path that matches your environment:

Requirements and caveats from upstream:

  • Parse Python docstrings. Currently support ReST, Google, Numpydoc-style and
  • python
  • python -m venv venv # create environment

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 Value78/100

Highlights

  • 提供 Python 文档字符串提取和索引功能,支持 Google、NumPy、Sphinx 等主流格式
  • 通过 typing_inspect 实现类型提示交叉引用,增强文档可用性
Trigger Precision92/100

Highlights

  • description 准确描述了核心功能和技术栈,触发词清晰完整
Structure and Standards65/100

Areas to improve

  • 缺少明确的 Phase/步骤划分和端到端示例 Reported severity: Minor

    文档结构较为松散,缺少清晰的执行步骤划分和完整的使用示例

    Recommendation: 建议补充 Phase 划分、详细的执行步骤和端到端的使用示例

Highlights

  • frontmatter 完整,包含必要的元数据信息
Execution Reliability70/100

Areas to improve

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

    未覆盖主要异常场景(如解析失败、格式不支持等)的处理机制

    Recommendation: 建议增加异常处理逻辑和错误提示机制

Highlights

  • 工具来源明确,依赖库 docstring_parser 为成熟开源项目
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, 28, 30
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

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.