What problem does it solve?
This Skill helps DXOS contributors write and refactor TypeScript in a way that matches the monorepo’s conventions, reducing churn from style mismatches, unsafe casts, noisy comments, and brittle tests.
Core Features & Use Cases
- Namespace-export structure: Organize packages around capitalized modules, namespace re-exports, and internal barrels so public APIs stay consistent.
- Type and API conventions: Apply DXOS patterns for options bags, overloads, member ordering, and internal imports.
- Safety and clarity rules: Avoid cast-based type escapes, suppressing unhandled errors, and over-explained comments.
- Testing guidance: Place tests near modules, prefer public seams, and structure suites for maintainability.
Quick Start
Use the dxos-code-style skill to review this TypeScript change and rewrite it so it follows DXOS namespace exports, type safety, comment, and testing conventions.