What problem does it solve?
This Skill provides a structured process and checklist to safely modify the public C++ API and its associated JNI bindings, ensuring compatibility and robustness.
Core Features & Use Cases
- API Modification: Safely add new features, change behavior, or refactor interface code.
- Compatibility Preservation: Prioritizes backward-compatible changes and provides guidance for necessary breaking changes.
- JNI Synchronization: Ensures C++ API changes are correctly reflected in Java/JNI code.
- Testing Integration: Guides through updating and running tests to validate changes.
- Use Case: When introducing a new text generation parameter to the LLM library, use this Skill to update the C++ interface, implement the change in the core logic, update JNI bindings, and run all relevant tests to confirm the new parameter works as expected without breaking existing functionality.
Quick Start
Follow the API change checklist to update the C++ API and JNI bindings, then run the provided CMake build and test commands.