Installs into .claude/skills of the current project.
Are you the author of Enforce Python Docstring Coverage Thresholds With Interrogate?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-enforce-python-docstring-coverage-thresholds-with-)
---
name: "Enforce Python Docstring Coverage Thresholds with interrogate"
slug: "enforce-python-docstring-coverage-thresholds-with-interrogate"
description: "Measure Python docstring coverage and fail a docs-quality gate when code drops below an agreed threshold."
github_stars: 662
verification: "security_reviewed"
source: "https://github.com/econchick/interrogate"
author: "econchick"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "econchick/interrogate"
github_stars: 662
---
# Enforce Python Docstring Coverage Thresholds with interrogate
Measure Python docstring coverage and fail a docs-quality gate when code drops below an agreed threshold.
## Prerequisites
Python, interrogate, Python source tree
## Installation
Use the upstream install or setup path that matches your environment:
- $ pip install interrogate
- $ pip install interrogate[png]
Requirements and caveats from upstream:
- Documentation should be as important as code itself. And it should live *within* code. Python standardized <https://www.python.org/dev/peps/pep-0257/>_ docstrings, allowing for developers to navigate libraries as simp...
- interrogate supports Python 3.8 and above.
- Try it out on a Python project:
Basic usage or getting-started notes:
- ============
- interrogate is available on PyPI <https://pypi.org/project/interrogate/>_ and GitHub <https://github.com/econchick/interrogate>_. The recommended installation method is pip <https://pip.pypa.io/en/stable/>_-installing...
- .. code-block:: console
- Source: https://github.com/econchick/interrogate
- Extracted from upstream docs: https://raw.githubusercontent.com/econchick/interrogate/HEAD/README.rst
## Documentation
- https://interrogate.readthedocs.io/en/latest/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/enforce-python-docstring-coverage-thresholds-with-interrogate/)