What problem does it solve?
This Skill eliminates guesswork and CI failures caused by incorrectly placing new code or violating brepjs's strict four-layer import boundary rules, which require imports to flow only downward or sideways through the codebase.
Core Features & Use Cases
- Layer Placement Decision Tree: Provides a step-by-step ordered list to classify new code (kernel calls, utilities, types, operations, high-level sugar) into the correct brepjs layer (0 to 3) based on its dependencies.
- Boundary Violation Fixes: Includes a troubleshooting table for common import boundary and kernel abstraction errors, with concrete steps to resolve each issue.
- Use Case: When adding a new 2D shape operation to brepjs, use this Skill to place it in the correct Layer 2 module, follow the API ladder pattern, and ensure it passes all CI boundary checks.
Quick Start
Ask the architecture-navigation skill to determine the correct layer and module for a new function you are adding to the brepjs codebase.