What problem does it solve?
This Skill identifies and categorizes duplicate Java model classes generated by the SDK against existing models in the openai-java library, helping to manage code redundancy and ensure accurate model coverage.
Core Features & Use Cases
- Field-by-Field Comparison: Compares generated Java classes with
openai-java models based on fields and types, even with differing names.
- Duplicate Categorization: Distinguishes between actionable duplicates, structural equivalents within hierarchies, and partial matches.
- Use Case: When updating SDKs that integrate with OpenAI, use this skill to ensure that newly generated models for features like chat completions don't unnecessarily duplicate existing OpenAI data structures, and to identify which duplicates can be safely removed.
Quick Start
Use the dup-classes skill to compare generated Java models in './src/main/java' against the openai-java dependency found in the pom.xml in the current directory.