python-type-coverage-analyzer

Measure and improve Python type annotation coverage using mypy --html-report and pyright type-completeness scoring. Identify untyped function signatures, missing return types, and parameters annotated as Any in the codebase.

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

Measure and improve Python type annotation coverage using mypy --html-report and pyright type-completeness scoring. Identify untyped function signatures, missing return types, and parameters annotated as Any in the codebase.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Python
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Python 类型覆盖率分析器"
slug: "python-type-coverage-analyzer"
version: "1.0.0"
displayName: "Python 类型覆盖率分析器"
summary: "使用 mypy --html-report 和 pyright 类型完整性评分来衡量和改进 Python 类型注解覆盖率。识别代码库中的无类型函数签名、缺失的返回类型和 Any 类型参数。"
license: "MIT"
description: "使用 mypy --html-report 和 pyright 类型完整性评分来衡量和改进 Python 类型注解覆盖率。识别代码库中的未类型化函数签名、缺失的返回类型和 Any 类型参数。"
github_stars: 20393
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Code Quality & Review"
framework: "Gemini"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 20393

Python 类型覆盖率分析器

Measures and improves Python type annotation coverage using mypy --html-report and pyright type completeness scoring. Identifies untyped function signatures, missing return types, and Any-typed parameters across codebases.

Prerequisites

Python

Installation

Requirements and caveats from upstream:

  • Mypy: Static Typing for Python
  • Build Status
  • Chat at https://gitter.im/python/typing

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 针对 Python 开发者类型注解完整性的专业分析工具
  • 结合 mypy 和 pyright 双重检测机制,提升分析准确性
  • 解决代码库中无类型函数签名、缺失返回类型等具体痛点
Trigger Precision85/100

Highlights

  • 触发词精准覆盖 Python 类型分析核心关键词
  • 明确区分于其他代码质量工具,边界清晰
  • description 内容完整,无截断或错位
Structure and Standards88/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

    文档结构良好但缺少显式的使用场景说明章节

    Recommendation: 建议添加 When to Use 章节,明确说明适用场景和使用时机

Highlights

  • 文档结构完整,包含必要的技术前提和安装说明
  • frontmatter 信息完整,版本号和作者信息清晰
  • 提供了基础使用示例和官方文档链接
Execution Reliability75/100

Areas to improve

  • 缺少常见错误处理说明 Reported severity: Minor

    未详细说明执行过程中可能遇到的常见错误及解决方案

    Recommendation: 建议补充常见错误处理指南,如 mypy 配置问题、pyright 安装失败等场景的应对方案

Highlights

  • 工具来源明确,基于成熟的 mypy 和 pyright 开源项目
  • 关键参数说明清晰,--html-report 等核心功能已提及
  • 分析类工具无不可逆操作风险,执行安全性高
Evidence Verifiability (mean of the first four)80/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.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

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.

  • badges.gitter.im
  • github.com
  • gitter.im
  • raw.githubusercontent.com
  • www.mypy-lang.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.

Python

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.