Skip to content
Back to skills

Validate Python Docstrings Against Function Signatures With Pydoclint

ASecurity

Check that Python docstrings stay consistent with parameters, returns, and raised exceptions as code evolves.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongogitsecuritydocumentation

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill validate-python-docstrings-against-function-signatures-with-pydoclint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate Python Docstrings Against Function Signatures With Pydoclint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Validate Python Docstrings Against Function Signatures With Pydoclint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-validate-python-docstrings-against-function-signat/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-validate-python-docstrings-against-function-signat)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Validate Python Docstrings Against Function Signatures with pydoclint"
slug: "validate-python-docstrings-against-function-signatures-with-pydoclint"
description: "Check that Python docstrings stay consistent with parameters, returns, and raised exceptions as code evolves."
github_stars: 208
verification: "security_reviewed"
source: "https://github.com/jsh9/pydoclint"
author: "jsh9"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "jsh9/pydoclint"
  github_stars: 208
---

# Validate Python Docstrings Against Function Signatures with pydoclint

Check that Python docstrings stay consistent with parameters, returns, and raised exceptions as code evolves.

## Prerequisites

Python, pydoclint, Python source tree

## Installation

Use the upstream install or setup path that matches your environment:
- pip install pydoclint
- pip install pydoclint[flake8]

Requirements and caveats from upstream:
- _Pydoclint_ is a Python docstring linter to check whether a docstring's
- Here is a comparison of linting time on some famous Python projects:
- also install _flake8_ to the current Python environment:

Basic usage or getting-started notes:
- [Google](https://www.sphinx-doc.org/en/master/usage/extensions/example_google.html),
- [2. Usage](#2-usage)
- To install only the native _pydoclint_ tooling, run this command:

- Source: https://github.com/jsh9/pydoclint
- Extracted from upstream docs: https://raw.githubusercontent.com/jsh9/pydoclint/HEAD/README.md

## Documentation

- https://jsh9.github.io/pydoclint/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/validate-python-docstrings-against-function-signatures-with-pydoclint/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.