kernel-abstraction
CommunitySimplify brepjs multi-kernel development and adapter work.
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kernel-abstraction Download link: https://github.com/andymai/brepjs/archive/main.zip#kernel-abstraction Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.