/faos-ux-designer:zustand-store-tsfrom faos-ux-designer
Creates Zustand stores with TypeScript, subscribeWithSelector middleware, and separate state/action interfaces. Useful for global state management in React apps.
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 /faos-ux-designer:zustand-store-ts 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 Zustand stores following established patterns with proper TypeScript types and middleware.
Copy the template from assets/template.ts and replace placeholders:
{{StoreName}} → PascalCase store name (e.g., Project){{description}} → Brief description for JSDocimport { create } from 'zustand';
import { subscribeWithSelector } from 'zustand/middleware';
export const useMyStore = create<MyStore>()(
subscribeWithSelector((set, get) => ({
// state and actions
}))
);
export interface MyState {
items: Item[];
isLoading: boolean;
}
export interface MyActions {
addItem: (item: Item) => void;
loadItems: () => Promise<void>;
}
export type MyStore = MyState & MyActions;
// Good - only re-renders when `items` changes
const items = useMyStore((state) => state.items);
// Avoid - re-renders on any state change
const { items, isLoading } = useMyStore();
useMyStore.subscribe(
(state) => state.selectedId,
(selectedId) => console.log('Selected:', selectedId)
);
src/frontend/src/store/src/frontend/src/store/index.tssrc/frontend/src/store/*.test.tsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub frank-luongt/faos-skills-marketplace --plugin faos-ux-designerRead when SKILL.md points to them.
8 skills in this plugin
/design-mdStitch DESIGN.md Skill<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->/frontend-ui-dark-tsFrontend UI Dark Theme (TypeScript)<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->/react-componentsStitch to React Components<!-- AUTO-GENERATED by export-plugins.py — DO NOT EDIT -->Other plugins' skills for the same job