implement-type-annotations

Add comprehensive type hints to Python/TypeScript code to improve IDE support, catch errors early, and enable better AI code understanding

$ 安裝

git clone https://github.com/ambient-code/agentready /tmp/agentready && cp -r /tmp/agentready/.skills-proposals/implement-type-annotations ~/.claude/skills/agentready

// tip: Run this command in your terminal to install the skill


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