Skip to content
Agentmart
Submit a tool

dev-vue-component

Create, modify, and maintain Vue 3 components with TypeScript and SCSS.

Skill by xiaoland

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/xiaoland-dev-vue-component

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create, modify, and maintain Vue 3 components with TypeScript and SCSS. Use when building Vue components, modifying .vue files, defining component props/emits, styling with SCSS, or documenting component APIs. Handles component architecture, type safety, styling patterns, and documentation.

Use cases: frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dev-vue-component

What's inside

Skill name
dev-vue-component
Description
Create, modify, and maintain Vue 3 components with TypeScript and SCSS. Use when building Vue components, modifying .vue files, defining component props/emits, styling with SCSS, or documenting component APIs. Handles component architecture, type safety, styling patterns, and documentation.
License
Apache-2.0
Compatibility
Requires Vue 3, TypeScript, SCSS, UnoCSS.
Metadata
author: xiaoland · version: 1.0 · related-skills: vue-story
Instructions
128 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (9)

  • SKILL.md
  • compName.md · assets/
  • compName.scss · assets/
  • compName.ts · assets/
  • compName.vue · assets/
  • documentation-guide.md · references/
  • scss-guide.md · references/
  • typescript-guide.md · references/
  • vue-guide.md · references/

SKILL.md (first lines)

---
name: dev-vue-component
description: Create, modify, and maintain Vue 3 components with TypeScript and SCSS. Use when building Vue components, modifying .vue files, defining component props/emits, styling with SCSS, or documenting component APIs. Handles component architecture, type safety, styling patterns, and documentation.
license: Apache-2.0
compatibility: Requires Vue 3, TypeScript, SCSS, UnoCSS.
metadata:
  author: xiaoland
  version: "1.0"
  related-skills: "vue-story"
---

# Developing Vue Components

## When to use this skill

Use this skill when you need to:

- Create new Vue 3 components from scratch
- Modify existing Vue components (template, logic, or styles)
- Define or update component props, emits, and TypeScript types
- Write or update component SCSS styles
- Document component APIs and usage
- Refactor components for better type safety or structure
- Review components for best practices compliance

## Component File Structure

- `compName.vue`: Template and component logic , read more in[vue-guide.md](references/vue-guide.md)
- `compName.ts`: Props, emits, types, constants (public API) read more in [typescript-guide.md](references/typescript-guide.md)
- `compName.scss`: Component styles, read more in [scss-guide.md](references/scss-guide.md)
- `compName.md`: Component documentation, read more in [documentation-guide.md](references/documentation-guide.md)

## Instructions

### Creating a New Component

Follow these steps to create a new Vue component:

1. **Create component folder**: `compName/`

2. **Document the component** (spec-first):
   - Create `compName.story.md` if using Histoire, otherwise create `compName.md`
   - Document intended props, emits, slots, and usage
   - Define component behavior and user interaction patterns
   - See [documentation-guide.md](references/documentation-guide.md) for format

3. **Define types and API** (`compName.ts`):
   - Define props interface with JSDoc comments
   - Define emits interface
   - Export types, constants, and utilities
   - See [typescript-guide.md](references/typescript-guide.md) for patterns

4. **Implement component logic** (`compName.vue`):
   - Import types from `compName.ts`
   - Use `<script setup>` with TypeScript
   - Implement component logic based on documented behavior
   - See [vue-guide.md](references/vue-guide.md) for structure

5. **Build template and styling** (`compName.vue` + `compName.scss`):
   - Implement template structure in `compName.vue`
   - Style the component in `compName.scss` using BEM or scoped styles
   - Avoid magic values, use CSS variables
   - See [scss-guide.md](references/scss-guide.md) for guidelines

### Modifying an Existing Component

1. **Understand current state**:
   - Read `compName.md` for component intent
   - Review existing implementation files

2. **Make changes**:
   - Update `compName.ts` if props/emits/types change
   - Update `compName.vue` for template or logic changes
   - Update `compName.scss` for styling changes
   - Consult reference docs as needed

3. **Update documentation**:
   - Update component documentation to reflect changes
   - Update tests if behavior changed (if tests exist)
   - Update stories if using Histoire (see vue-story skill)

4. **Verify consistency**:
   - Ensure all files are aligned
   - Check type safety (no `any` or `unknown`)
   - Verify tests pass (if tests exist)

### Quality Checklist

Before completing work on any component, verify:

- [ ] Type-safe props and emits with JSDoc documentation
- [ ] Component documentation is current and accurate
- [ ] Styles follow project patterns (no magic values)
- [ ] No hard-coded strings (use i18n if available)
- [ ] Tests updated and passing (if tests exist)
- [ ] Stories updated (if using Histoire - see vue-story skill)
- [ ] Code follows naming conventions (camelCase for JS, kebab-case for CSS/events)
- [ ] Error handling with graceful degradation

## Best Practices

Follow these principles for maintainable, high-quality components:

**Architecture**:

- Single Responsibility Principle - each component does one thing well
- High cohesion, low coupling - minimize dependencies
- Clear and consistent API design
- Avoid prop drilling - use provide/inject or composables for deep data
- Design for testability and maintainability

**Naming**:

- `camelCase` for component names, variables, functions, TypeScript interfaces
- `kebab-case` for CSS class names and event names
- Descriptive names that convey purpose

**Type Safety**:

- Always define props and emits interfaces

From xiaoland/agents, Apache-2.0.

More from xiaoland/agents

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Dec 30, 2025 (10 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from xiaoland

Cite this page

dev-vue-component skill. Agent Mart. https://agentmart.dev/skills/xiaoland-dev-vue-component (last updated 2026-10-24)