What problem does it solve?
Frontend edits by AI assistants often break existing functionality: renamed props, mismatched emit events, hallucinated object properties, and broken layouts. This Skill imposes strict modification boundaries and verification checklists so component changes stay safe and consistent.
Core Features & Use Cases
- Protected Contract Zones: Forbids changes to data bindings, props, emit events, reactive variables, API calls, and TypeScript type definitions unless explicitly requested.
- Layout & UI Consistency Rules: Provides CSS Grid alignment patterns, capsule UI conventions, scoped/deep selector guidance, and semantic status colors for stable layouts.
- Event & Type Contract Verification: Requires reading child component
defineEmits and interface definitions before modifying listeners or accessing deep object properties, eliminating hallucinated attributes.
- Use Case: When asking an AI to restyle a Vue admin dashboard table, the Skill ensures it only touches layout and CSS while verifying event names and type definitions before any logic-adjacent change.
Quick Start
Apply the frontend-safety rules while refactoring the layout of my Vue component UserList.vue without changing any data bindings or event names.