vanman2024/dev-lifecycle-marketplace/component-templates

Claude Code and agent skill by vanman2024/dev-lifecycle-marketplace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

UI component library templates (buttons, forms, cards, modals, etc.). Use when generating frontend UI components.

Install

npx vskill@latest install vanman2024/dev-lifecycle-marketplace/component-templates

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/component-templates.

Component Templates Skill

Instructions

  1. Identify Component Type:
  • Button, Input, Form, Card, Modal, Dropdown, etc.
  • Determine complexity (simple, complex, composite)
  • Check for existing similar components
  1. Select Template:
  • Match component type to template library
  • Choose variant (primary, secondary, outlined, etc.)
  • Adapt to detected framework (React, Vue, Svelte)
  1. Generate Component:
  • Load base template
  • Add props/properties for customization
  • Include accessibility features (ARIA labels, roles)
  • Add responsive design patterns
  • Include styling (CSS modules, Tailwind, styled-components)
  1. Add Variations:
  • Size variants (sm, md, lg, xl)
  • Color variants (primary, secondary, success, danger)
  • State variants (disabled, loading, error)

Component Library

Basic Components
  • Button (primary, secondary, outlined, ghost, link)
  • Input (text, email, password, number, search)
  • Textarea
  • Checkbox, Radio, Switch
  • Select, Dropdown
  • Label, Badge, Tag
Form Components
  • Form wrapper
  • FormField (label + input + error)
  • FormGroup (multiple fields)
  • Validation displays
Layout Components
  • Container, Grid, Flex
  • Card, Panel
  • Header, Footer, Sidebar
  • Navigation, Breadcrumbs
Feedback Components
  • Alert, Toast, Notification
  • Modal, Dialog
  • Tooltip, Popover
  • Loading spinner, Skeleton
Data Display
  • Table, List
  • Pagination
  • Tabs, Accordion
  • Progress bar

Examples

Example 1: Button Component (React + TypeScript)

typescript
interface ButtonProps {
variant?: 'primary' | 'secondary' | 'outline'
size?: 'sm' | 'md' | 'lg'
disabled?: boolean
loading?: boolean
onClick?: () => void
children: React.ReactNode
}
export const Button: React.FC<ButtonProps> = ({
variant = 'primary',
size = 'md',
...props
}) => { /* implementation */ }

Example 2: Input Component (Vue)

vue
<template>
<div class="input-wrapper">
<label :for="id">{{ label }}</label>
<input
:id="id"
:type="type"
:value="modelValue"
@input="$emit('update:modelValue', $event.target.value)"
/>
</div>
</template>

Best Practices

  • Accessibility first - Include ARIA labels, keyboard navigation
  • Responsive design - Mobile-first, breakpoint support
  • Type safety - TypeScript props, prop validation
  • Composability - Build complex from simple components
  • Theming support - CSS variables, theme context
  • Documentation - Storybook stories, usage examples

Purpose: Reusable UI component templates Used by: frontend-generator agent, /component command

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
Repository forks
1
7-day trend score
12

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vanman2024/dev-lifecycle-marketplace/component-templates/badge)](https://verified-skill.com/skills/vanman2024/dev-lifecycle-marketplace/component-templates)

Something wrong with this skill or its page? Tell us.