Automatically create SKILL.md files from your Storybook components using AI. Make your design system truly AI-friendly.
Three steps. Minimal configuration.
Install the CLI globally using your favorite package manager.
Point it to your Storybook and choose your LLM provider.
storybook-to-skills-md generate \
--storybook-url https://... \
--provider openai SKILL.md files are ready to be consumed by AI agents.
skills/
├── button/SKILL.md
├── input/SKILL.md
└── ... Works with OpenAI, Anthropic Claude, and Google Gemini. Choose your preferred provider.
Use local index.json from built Storybook. No server needed.
Smart caching skips unchanged components. Only regenerate what changed.
Automate SKILL.md generation in CI/CD with our official GitHub Action.
Bring your own system prompt to customize generated documentation style.
Built with TypeScript. Full type safety and great DX.
Automate SKILL.md generation in your GitHub Actions workflow. Run it on every push, PR, or release.
- name: Generate SKILL.md
uses: sergiocarracedo/storybook-to-skill-md-action@v1
with:
storybook-url: 'https://your-storybook.com'
source-dir: './src/components'
output-dir: './skills'
provider: 'openai'
model: 'gpt-4o'
api-key: ${{ secrets.OPENAI_API_KEY }}