返回 Skill 列表
extension
分类: 开发与工程无需 API Key

implement-type-annotations

为Python/TypeScript代码添加全面的类型提示,以提高IDE支持、尽早捕获错误,并使AI更好地理解代码

person作者: jakexiaohubgithub

Implement Type Annotations

When to Use This Skill

Type hints in function signatures

Instructions

  1. Review the pattern summary above
  2. Apply the pattern to your repository
  3. Verify the implementation matches the examples below

Examples

Example 1

Typed functions: 180/186

Example 2

Coverage: 96.8%

Best Practices

  • Follow the pattern consistently across your codebase
  • Refer to the citations below for authoritative guidance
  • Test the implementation after applying the pattern

Citations

No citations available


Generated by: AgentReady Skill Generator Confidence: 100.0% Source Attribute: type_annotations Reusability: 100.0% Impact: +50.0 pts