new-component

Generate Vue/Quasar component structures with TypeScript interfaces and barrel exports.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/SandroBeatz/layrix --skill new-component-sandrobeatz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-component
Source: https://github.com/SandroBeatz/layrix/tree/main/.claude/skills/new-component
Command: npx skills add https://github.com/SandroBeatz/layrix --skill new-component-sandrobeatz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the creation of Vue/Quasar UI components by providing a structured template with TypeScript interface, component file, and barrel export. It addresses the difficulty of establishing a uniform and organized component development process in Vue projects.

Core Features & Use Cases

  • Automated Scaffold: Generates the necessary files for a Vue component following Feature-Sliced Design principles.
  • TypeScript Integration: Creates a TypeScript interface for props and types, enhancing type safety and maintainability.
  • Barrel Export: Facilitates the export of the component and props for seamless integration in other parts of the application.
  • Use Case: When you need to introduce a new UI element like a button, dropdown, or any other design system primitive, this Skill automates the setup to save development time and ensure consistent coding practices.

Quick Start

Create a new UI component named 'Button'.

Frequently Asked Questions about new-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Vue component with TypeScript and barrel exports?

To scaffold a Vue component with TypeScript and barrel exports, use an automated template to generate the component file, TypeScript interface, and barrel export for consistent structure.

What is the best way to structure Vue UI components using feature-sliced design?

The best way to structure Vue UI components using feature-sliced design is to automate the creation of TypeScript interfaces, component files, and barrel exports for maintainable project architecture.

Can I use this component scaffolding template with the Quasar Framework?

Yes, you can use this component scaffolding template with the Quasar Framework to generate TypeScript interfaces, Vue components, and barrel exports for consistent UI development.

Do I need to manually create TypeScript interfaces for Vue component props?

You do not need to manually create TypeScript interfaces for Vue component props; the scaffolding process automatically generates the interface and barrel export alongside the Vue component.

Why use an automated scaffold for Quasar UI components?

You use an automated scaffold for Quasar UI components to save development time, ensure consistent coding practices, and establish a uniform component development process across your Vue project.

Does this scaffolding tool support Vue projects without Quasar Framework?

This scaffolding tool is designed for Vue and Quasar projects to generate component files, TypeScript interfaces, and barrel exports following feature-sliced design principles for consistent feature development.