Andromity loads skills from folders you trust. Install with andromity skill install state-management-zustand — autonomy and approval limits stay configurable per session.
Destination: Paste into any AI Agent (Cursor, Claude, Windsurf, AGY, Andromity)prompt mode
# Install the "Zustand & Lightweight State" skill
You are installing an AgenticMarket skill into this workspace. Follow these steps exactly.
## 1. Detect your environment and choose the destination file
- Andromity: `.andromity/skills/state-management-zustand/SKILL.md` (or user scope `~/.andromity/skills/state-management-zustand/SKILL.md`)
- Antigravity / Gemini CLI: `.agent/skills/state-management-zustand/SKILL.md`
- Cursor: `.cursor/rules/state-management-zustand.mdc`
- Claude Code: append to `CLAUDE.md` (or `.claude/skills/state-management-zustand.md`)
- Windsurf: append to `.windsurfrules`
- Cline / Roo Code: `.clinerules/state-management-zustand.md`
- GitHub Copilot: append to `.github/copilot-instructions.md`
- ChatGPT / web only: paste the content into Custom Instructions
- Any other agent: save to `.agent/skills/state-management-zustand/SKILL.md`
## 2. Create the destination file
- Preserve every existing file and configuration entry.
- Create parent folders as needed.
- Never overwrite unrelated content.
## 3. Write exactly this content
```markdown
---
name: state-management-zustand
description: "Design immutable, boilerplate-free global client state stores with Zustand, selectors, and persistent storage."
author: community
license: mit
version: 1.0.0
---
# Zustand State Management
Writing clean Zustand stores:
- Keep stores focused and modular.
- Use explicit selectors in components to prevent unnecessary re-renders: `const count = useStore(state => state.count)`.
- Apply `persist` middleware with proper schema migrations for local storage sync.
```
## 4. Verify
- Confirm the file exists and is readable.
- Report the destination path and confirm the "Zustand & Lightweight State" skill is installed and active.
Skill metadata:
- Slug: state-management-zustand
- Category: development
- License: mit
- Source: AgenticMarket