implement-type-annotations

为Python/TypeScript代码添加全面的类型提示,以改进IDE支持、及早捕获错误并实现更好的AI代码理解。

📖 中文导读:为Python/TypeScript代码添加全面的类型提示,以改进IDE支持、及早捕获错误并实现更好的AI代码理解。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: implement-type-annotations description: Add comprehensive type hints to Python/TypeScript code to improve IDE support, catch errors early, and enable better AI code understanding

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