What problem does it solve?
Working with brepjs's multiple geometry kernels (occt-wasm, occt, brepkit, manifold) requires navigating complex adapter wiring, capability differences, kernel registration, and cross-kernel testing, which can lead to inconsistent implementations and hard-to-debug issues without clear, structured guidance.
Core Features & Use Cases
- Cross-adapter method implementation: Step-by-step workflow for adding new kernel methods across all four in-tree adapters, including stubbing unsupported methods and enforcing compile-time interface guards.
- Kernel management utilities: Guidance for safe kernel switching, quality tier configuration, runtime capability detection, and handling kernel-specific feature gaps.
- Multi-kernel testing support: Instructions for setting up cross-kernel test suites, tracking kernel divergences, and generating up-to-date conformance matrices.
- Use Case: When adding a new chamfer operation to brepjs, this skill ensures the method is correctly declared, implemented for each supported kernel, wired to the public API, and validated for cross-kernel consistency.
Quick Start
Use the kernel-abstraction skill to implement a new kernel method for asymmetric chamfer operations across all supported brepjs kernels, following the provided adapter wiring and testing guidelines.