scaffolding-vue-components

Generate Vue/Nuxt component scaffolds with Composition API, CSS modules, Vitest tests, and Storybook entries.

6|2|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/WesleySmits/agent-skills --skill scaffolding-vue-components
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffolding-vue-components
Source: https://github.com/WesleySmits/agent-skills/tree/main/.agent/skills/vue-component-architect
Command: npx skills add https://github.com/WesleySmits/agent-skills --skill scaffolding-vue-components

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines the creation of Vue and Nuxt components by generating a complete, opinionated boilerplate that enforces consistent structure, testing, and documentation across projects, reducing repetitive setup time and errors.

Core Features & Use Cases

  • Generates a Vue component with the Composition API, including props, emits, and defaults.
  • Creates CSS modules or scoped styles, Vitest test files, and a Storybook story for a ready-to-explore component.
  • Detects project conventions (Vue vs Nuxt) and adapts folder structure and export patterns to fit the target ecosystem.

Quick Start

Provide the component name and target location, and I will generate a complete scaffold ready for integration.

Frequently Asked Questions about scaffolding-vue-components

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

FAQPage Schema
How do I scaffold Vue components with Vitest tests and Storybook stories?

To scaffold Vue components with Vitest and Storybook, you provide a component name and target location. The generator outputs a complete boilerplate featuring Composition API patterns, CSS module styling, test files, and story entries ready for integration.

What is the best way to create Nuxt components with consistent structure and barrel exports?

Creating Nuxt components with consistent structure and barrel exports involves generating an opinionated boilerplate. This process enforces a standardized file hierarchy, applies project-convention detection, and adapts folder patterns to fit the Nuxt ecosystem automatically.

Can I use this Vue component generator for both Vue and Nuxt projects?

Yes, you can use this Vue component generator for both Vue and Nuxt projects. It detects your project conventions and adapts the folder structure and export patterns to ensure the generated component scaffold fits the target ecosystem seamlessly.

How does generating a Vue boilerplate with Composition API patterns reduce setup time?

Generating a Vue boilerplate with Composition API patterns reduces setup time by automatically creating props, emits, and defaults. It eliminates repetitive configuration errors by enforcing consistent testing and documentation structures across your project.

Does the generated Vue component scaffold include scoped styles and CSS modules?

Yes, the generated Vue component scaffold includes scoped styles and CSS modules. It creates these styling setups alongside the Composition API component logic to provide a fully styled, ready-to-explore element out of the box.

When should I not use an opinionated Vue component boilerplate generator?

You should not use an opinionated Vue component boilerplate generator if your project requires a custom architecture that deviates from standard Composition API patterns, Vitest testing, or Storybook documentation conventions.