| name | storybook-guidance |
| description | Best practices when working with component stories |
Use the storybook-local-mcp tool get-storybook-story-instructions to fetch the latest instructions for creating or updating stories. This will ensure you follow current conventions and recommendations.
CRITICAL: Never hallucinate component properties! Before using ANY property on a component from a design system (including common-sounding ones shadow, etc.), you MUST use the storybook-local-mcp MCP server:
- Query
list-all-components to get a list of all components
- Second query
get-component-documentation for that component to see all available properties and examples
- Only use properties that are explicitly documented or shown in example stories
- If a property isn't documented, do not assume properties based on naming conventions or common patterns from other libraries. Check back with the user in these cases.
Remember: A story name might not reflect the property name correctly, so always verify properties through documentation or example stories before using them.
Check your work by running get-story-tests.