What problem does it solve?
This Skill ensures all TypeScript code within the BlueprintUI library adheres to consistent patterns and best practices, reducing errors, improving readability, and simplifying collaboration. It automates the enforcement of coding standards, freeing developers to focus on logic.
Core Features & Use Cases
- Automated Coding Standards: Defines and helps enforce conventions for imports, component structure, property decorators, and private members.
- Enhanced Type Safety & Patterns: Guides on effectively using TypeScript features like generic constraints and type imports for robust code.
- Streamlined Event & State Management: Provides best practices for custom events, event listeners, and internal state updates, reducing common pitfalls.
- Use Case: When writing a new web component in TypeScript, activate this skill to automatically review your code for adherence to BlueprintUI's specific TypeScript guidelines. This ensures consistency and maintainability across the entire codebase without manual review.
Quick Start
Review the attached 'my-new-component.ts' file and suggest improvements based on the BlueprintUI TypeScript Coding Guidelines, focusing on import conventions and property decorators.