AGENT SKILL

修复类型注解规范

coding.fix_type_hints

修复文件中的类型提示(type hints),使其遵循 typing 模块的约定

使用场景代码实现
License 许可
Apache-2.0
所属仓库
causify-ai/helpers
最近更新
2026-11-02
Stars
★ 155
Forks
170

01 前言 Front Matter

model
haiku
description
Fix type hints in a file to follow the typing module conventions

02 资源文件 9

03 SKILL.md 正文

Goal

Fix type hints in the passed file <FILE> to follow the project's type-hint conventions.

Conventions

  • Follow all the type-hint rules in .claude/skills/coding.rules.md

Verification

  • [ ] Confirm type hints use the typing module style, not PEP 604 syntax
  • [ ] Run pyright on the file to confirm no new type errors

04 同仓库更多 Skills