Agent skill · software engineering · aiskillstore
core-development
Work on the core package (types, validation, normalization, diff). Use when modifying DSL processing logic, adding new node/edge properties, changing validation rules, or updating the diff algorithm.
Why this skill is useful
Provides specific patterns and procedures for modifying DSL processing logic that the AI wouldn't reliably generate on its own.
What it needs
About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Core Package Development The core package (packages/core/) is dependency-free and handles all DSL processing. Data Flow Key Files File Purpose Exports ------ --------- --------- types.ts Type definitions DSL, IR, Patch, WebSocket protocol validate.ts YAML validation validate(dsl): ValidationResult normalize.ts DSL → IR conversion normalize(dsl): IRDocument diff.ts IR diff calculation diff(prev, next): Patch Type Hierarchy Patch Operations WebSocket Protocol Types Development Workflow 1. Modify types → Update types.ts 2. Update validation → Ensure validate.ts catches invalid input 3. Update normalization → Handle new fields/defaults in normalize.ts 4. Update diff → Handle new patch scenarios in diff.ts 5. Add tests → Co-located .test.ts files 6. Run tests → bun test packages/core/ Testing Common Patterns Adding a new node property 1. Add to DSLNode and IRNode in types.ts 2. Add validation in validate.ts 3. Add default value handling in normalize.ts 4. Update diff logic if property affects equality 5. Add test cases for validation, normalization, and diff Adding a new edge property 1. Add to DSLEdge and IREdge in types.ts 2. Add validation in validate.ts 3. Add default value handling in normalize.ts 4. Update diff logic for edge equality check 5. Add test cases
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/core-development