| name | hairstyle-ai-studio |
| description | Guidance on modifying the hairstyle-ai-studio codebase, including models, UX/UI rules, testing, and deployment. |
Hairstyle AI Studio Skill
Use this skill when changing this repository's Gemini model integration, UX flow, deployment docs, or agent-readiness files.
Workflow
- Read
AGENTS.md first.
- Check
services/geminiModels.ts before changing any model names.
- Keep Gemini prompts in
services/geminiService.ts, not components.
- Keep app orchestration in
hooks/useAppFlow.ts.
- Keep shared metadata in
types.ts.
- Run
npm run typecheck and npm run build before committing.
Secret checklist
- Never put production keys in
VITE_* variables.
- Use
VITE_GEMINI_API_KEY only for local demos.
- Use server-side
GEMINI_API_KEY for deployed apps.
- Update
.env.example and README when environment behavior changes.
UX checklist
- Mobile-first upload/style/result paths.
- Inline recovery instead of alerts.
- Clear privacy copy near uploads.
- Result actions: download, refine, regenerate, start over.
- Model/layout choices should be understandable to non-technical users.