/harness-claude:vue-directive-patternfrom harness-claude
Creates custom Vue directives for low-level DOM manipulation like auto-focus, click-outside, and tooltips. Use when behavior is purely DOM-level and doesn't involve component state.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /harness-claude:vue-directive-pattern still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Create custom Vue directives for low-level DOM manipulation and reusable DOM behavior
mounted, updated, unmounted).app.directive('name', directiveObj) or locally in <script setup> with vName convention.// v-focus directive — auto-focuses an input on mount
const vFocus = {
mounted(el: HTMLElement) {
el.focus();
},
};
// Usage in template: <input v-focus />
unmounted hook to prevent memory leaks.binding.value to pass dynamic data: <div v-tooltip="'Hello'">.Custom directives give you low-level access to DOM elements. They run at specific lifecycle points (created, beforeMount, mounted, beforeUpdate, updated, beforeUnmount, unmounted) and receive the element and binding information. Vue's built-in directives (v-if, v-show, v-model) are implemented the same way.
Trade-offs:
When NOT to use:
onMountedhttps://patterns.dev/vue/directive-pattern
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub intense-visions/harness-engineering --plugin harness-claudeRead when SKILL.md points to them.
793 skills in this plugin
/a11y-aria-patternsARIA Patterns> Apply ARIA roles, states, and properties correctly to enhance assistive technology support for custom widgets/a11y-color-contrastColor Contrast and Color Independence> Ensure sufficient color contrast ratios and never use color as the sole means of conveying information/a11y-form-patternsAccessible Form Patterns> Build accessible forms with proper labeling, grouped controls, inline validation, and clear error communicationOther plugins' skills for the same job