/harness-claude:vue-pinia-patternfrom harness-claude
Manages shared application state with Pinia stores in Vue 3, covering Options and Setup syntax, storeToRefs, and domain-focused store design.
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-pinia-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.
Manage shared application state with Pinia stores in the Options or Setup style
defineStore('id', { state, getters, actions }) or the Setup syntax.defineStore('id', () => { ... }).storeToRefs() when destructuring reactive state from a store.import { defineStore } from 'pinia';
import { ref, computed } from 'vue';
export const useCounterStore = defineStore('counter', () => {
const count = ref(0);
const doubled = computed(() => count.value * 2);
function increment() {
count.value++;
}
return { count, doubled, increment };
});
const store = useCounterStore().store.$reset() (Options API stores only) to reset state to initial values.Pinia is the official state management library for Vue 3. It replaces Vuex with a simpler, type-safe API. Pinia stores are reactive — components that use store state automatically re-render when it changes. Stores are lazy-loaded on first use.
Trade-offs:
provide/inject or composables may suffice$reset() — you must implement reset logic manuallyWhen NOT to use:
ref() or reactive() in <script setup>provide/injecthttps://patterns.dev/vue/pinia-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