Skip to content

v0.1.0

Latest

Choose a tag to compare

@alexanderop alexanderop released this 08 Nov 11:09
· 7 commits to main since this release

Release Notes: v0.1.0 - Initial Plugin Release

Overview

The Vue Development Skill is now available as a Claude Code plugin! This release transforms the battle-tested Vue 3 development skill into an easy-to-install plugin with marketplace distribution.

What's New

Plugin Distribution

  • Easy Installation: Install via Claude Code's plugin system
  • Marketplace Ready: Distributed through GitHub marketplace integration
  • Automatic Updates: Users can update to new versions seamlessly

Installation

# Add the marketplace
/plugin marketplace add alexanderop/claude-skill-vue-development

# Install the plugin
/plugin install vue-development@vue-development-marketplace

Features

Modern Vue 3 Development

This plugin enforces production-ready Vue 3 patterns:

  • TypeScript-first - Use generics instead of runtime validation
  • Modern Composition API - defineModel() for v-model bindings
  • User-behavior testing - Testing Library instead of implementation details
  • Clean composables - Single responsibility, proper error handling
  • File-based routing - Nuxt/unplugin-vue-router patterns

Red Flags Detection

Automatically catches 12 common anti-patterns:

  • Runtime validation via PropType/withDefaults
  • Manual v-model implementation
  • Testing implementation details
  • Inline event handlers in templates
  • UI logic in composables
  • Generic route params like [id]
  • Missing use prefix on composables
  • And more...

Component Development Workflow

Structured TodoWrite checklist ensures:

  1. Props defined with TypeScript generics
  2. V-model uses defineModel()
  3. Events use defineEmits<TypedSignature>()
  4. Tests written with Testing Library
  5. API calls mocked with MSW

Comprehensive References

Access detailed patterns via on-demand loading:

  • component-patterns.md - Props, emits, v-model, templates, naming
  • composable-patterns.md - Naming, anatomy, SRP, error handling
  • routing-patterns.md - File-based routing, params, navigation, guards
  • testing-patterns.md - Testing Library, MSW, async testing
  • testing-composables.md - Independent vs dependent composable testing

Total: 6,681 words of comprehensive guidance (1,216 main + 5,465 references)

Real-World Impact

Verified metrics from production usage:

  • Before skill: 37.5% compliance (3/8 components followed patterns)
  • With skill: 100% compliance (8/8 components correct)
  • Key improvement: Eliminated all manual v-model implementations
  • Secondary wins: Consistent TypeScript usage, proper test patterns

What This Enforces

✅ DO

// TypeScript generics for props
const props = defineProps<{ userId: string }>()

// defineModel for v-model
const modelValue = defineModel<string>()

// Testing Library for user behavior
await user.click(screen.getByRole('button', { name: /submit/i }))

// MSW for API mocking
server.use(http.get('/api/users', () => HttpResponse.json(users)))

❌ DON'T

// Runtime validation
const props = defineProps({
  userId: { type: String, required: true }
})

// Manual v-model
const props = defineProps<{ modelValue: string }>()
const emit = defineEmits<{ (e: 'update:modelValue', value: string): void }>()

// Testing implementation details
expect(wrapper.vm.internalState).toBe(true)

// Real API calls in tests
await fetch('/api/users')

Technical Details

Plugin Structure

.claude-plugin/
├── plugin.json (metadata)
├── marketplace.json (marketplace config)
└── skills/vue-development/
    ├── SKILL.md (1,216 words)
    └── references/ (5,465 words)
        ├── component-patterns.md
        ├── composable-patterns.md
        ├── routing-patterns.md
        ├── testing-composables.md
        └── testing-patterns.md

Architecture

  • On-demand loading: Small main file, large references load when needed
  • Reference architecture: Optimized for performance
  • Backward compatible: Original skill files preserved

Requirements

  • Claude Code installed
  • Vue 3.4+ (for defineModel)
  • TypeScript
  • Recommended: Vitest, @testing-library/vue, msw, unplugin-vue-router

Documentation

  • PLUGIN-README.md - Complete installation and usage guide
  • README.md - Updated with plugin structure
  • Both legacy and plugin installation methods documented

Migration from Direct Skill

If you're currently using the skill directly in .claude/skills/vue/:

  1. The plugin provides the same functionality
  2. Install via the plugin system for easier updates
  3. Original skill files remain for backward compatibility
  4. Skill behavior is identical

Breaking Changes

None - this is the initial plugin release.

Known Issues

None at this time.

Credits

  • Author: Alexander Opalic
  • License: MIT
  • Methodology: Created using TDD for documentation
  • Testing: 100% compliance verified under pressure scenarios

Links

Future Plans

  • Gather user feedback on plugin installation experience
  • Monitor performance and reference loading
  • Consider additional patterns based on community needs
  • Explore integration with Vue ecosystem tools

Thank You

Thank you for using the Vue Development plugin! Feedback, issues, and contributions are welcome.


Released: November 8, 2024
Version: 0.1.0
Tag: v0.1.0