What problem does it solve?
Working in the opentrons-ai-client React/TypeScript codebase requires knowing its specific conventions for state management, API integration, authentication, and testing, which are easy to get wrong without guidance.
Core Features & Use Cases
- Project Structure Reference: Maps the src/ layout including pages, components, resources, hooks, and utility modules.
- State Management Guidance: Documents Jotai atoms such as chatDataAtom, chatHistoryAtom, and featureFlagsAtom, plus the rule to use useGetAccessToken() instead of the removed tokenAtom.
- API Integration Rules: Lists the chat endpoints (create-protocol, update-protocol, completion, completion-multipart) and the useInputPromptController submission flow.
- Use Case: When adding a new feature to the AI client, consult this Skill to follow camelCase typing, the useEffect exhaustive-deps FIXME convention, feature flag handling, and the correct make commands for testing and linting.
Quick Start
Use the ai-client skill to review my changes in opentrons-ai-client and confirm they follow the project's state management and API conventions.