SKILL·B934E5

mypy

mattnigh
更新于 1 month ago
14 次查看
22
1
22
在 GitHub 上查看
其他mypytype-checkingtype-hintsstatic-analysispythonfastapidjango

关于

mypy is a static type checker for Python that enables gradual typing with type hints and comprehensive type safety. Use it to add type safety to Python projects, enforce type checking in CI/CD, and refactor code with type annotations. It supports strict mode, Protocol types, and integrates with frameworks like FastAPI and Django.

快速安装

Claude Code

推荐
主要方式
npx skills add mattnigh/skills_collection -a claude-code
插件命令备选方式
/plugin add https://github.com/mattnigh/skills_collection
Git 克隆备选方式
git clone https://github.com/mattnigh/skills_collection.git ~/.claude/skills/mypy

在 Claude Code 中复制并粘贴此命令以安装该技能

GitHub 仓库

mattnigh/skills_collection
路径: collection/danielseltzer__code-analysis-tools__claude__skills__toolchains-python-tooling-mypy__SKILL.md
0
FAQ

Frequently asked questions

What is the mypy skill?

mypy is a Claude Skill by mattnigh. Skills package instructions and resources that Claude loads on demand, so Claude can perform mypy-related tasks without extra prompting.

How do I install mypy?

Use the install commands on this page: add mypy to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does mypy belong to?

mypy is in the toolchain category, tagged mypy, type-checking, type-hints, static-analysis, python and fastapi.

Is mypy free to use?

Yes. mypy is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

相关推荐技能

asyncio
其他

这个Skill提供了Python asyncio异步编程的全面指南,涵盖async/await语法、事件循环、任务管理和协程等核心概念。它特别适用于处理并发I/O操作,如HTTP客户端/服务器开发(aiohttp)、异步数据库访问、FastAPI异步模式以及WebSocket实时系统。开发者可以快速学习如何定义异步函数、使用asyncio.run()运行程序、通过asyncio.gather()并行执行任务,并掌握异步环境下的错误处理和同步原语。

查看技能
golang-observability-opentelemetry
其他

这个Skill帮助开发者为Go应用添加完整的可观测性方案,包含OpenTelemetry分布式追踪、Prometheus指标收集和slog结构化日志。它特别适用于微服务的生产环境监控,能快速配置中间件、健康检查和服务间调用追踪。通过这个工具,开发者可以轻松构建可观测的云原生应用,便于调试性能问题和创建运维仪表板。

查看技能
jest-typescript
其他

这个Skill为开发者提供Jest与TypeScript集成的专业测试解决方案,特别适合现有Jest项目、React/Node.js TypeScript应用以及从JavaScript迁移到TypeScript的场景。它支持完整的测试工作流包括快照测试、覆盖率报告,并集成了React Testing Library等成熟生态工具。通过简单的配置即可快速搭建测试环境,适用于需要行业标准测试框架的现代Web开发和遗留项目维护。

查看技能
pytest
其他

这个Skill提供了pytest测试框架的专业支持,特别适合编写单元测试、集成测试和API测试。它支持fixtures、参数化、异步测试等核心功能,并能与FastAPI、Django、Flask等流行框架集成。开发者可以快速开始测试工作流,包括依赖管理、测试标记和覆盖率分析。

查看技能