storylite-create-story
Skill by itsjavi
Creates and updates StoryLite component stories in projects that use the public StoryLite packages. It explains the CSF-like story format, from simple stories to args, argTypes, renderers, parameters, render context, CSS and web components.
Install storylite-create-story
Built from the published package, never by AI.
git clone --depth 1 https://github.com/itsjavi/storylite /tmp/storylite && mkdir -p ~/.claude/skills && cp -r /tmp/storylite/skills/storylite-create-story ~/.claude/skills/storylite-create-storyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/itsjavi/storylite /tmp/storylite && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/storylite/skills/storylite-create-story ~/.gemini/antigravity-cli/skills/storylite-create-storyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install storylite-create-story in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an AI assistant write or update StoryLite story modules in a consuming project. It starts by inspecting the project for .storylite/config.ts, configured story globs, installed @storylite/* packages and nearby stories files. It then matches the project's import style, renderer, naming, file extension and CSS strategy.
The skill uses types from @storylite/storylite and a default export for shared title, component, args, argTypes and parameters. Named exports hold individual stories. A reference file gives examples from minimal HTML stories to React-style adapter rendering and web components. It does not add Storybook features that StoryLite lacks, such as play functions, loaders, decorators, docs or actions. It is aimed at developers who build component stories with StoryLite.
Written from the project's SKILL.md and checked against it.
What it can do
- Project inspectionChecks for .storylite/config.ts, story globs and installed @storylite/* packages before writing.
- Story module authoringWrites stories files with a default export for shared metadata and named story exports.
- Controls and argTypesDeclares boolean, text, textarea, number, color and select controls for stories.
- Per-story parametersSets renderer, css, background and defineCustomElements parameters for a story.
- Render functionsUses render(args, context) with DOM APIs or framework adapter output.
- Source snippetsSets a fixed source string or a callback that reflects current control values.
- Web component storiesUses a custom element tag name as component and registers it with defineCustomElements.
What you need
- A consumer project that uses StoryLite public packages
- Installed @storylite/* packages
- Network access to read public docs (optional)
Try asking
- Write a StoryLite stories file for my Button component with size and variant controls
- Add disabled and error state stories to my existing Card stories file
- Create a StoryLite story for my web component using defineCustomElements
Good to know
- Does not support play functions, loaders, decorators, docs, actions or addon APIs.
- Assumes the StoryLite source repository is not present in the project.
- Falls back to the examples in the skill if network access is not available.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/storylite-create-story/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to storylite-create-story
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
storylite-create-story: common questions
Which controls does StoryLite support?
The source lists boolean, text, textarea, number, color and select controls. If no control is given, StoryLite infers a simple one from the arg value.
Can I use React with StoryLite stories?
The source includes a React-style adapter rendering example. It also lists react, preact, svelte, vue and solid as adapter renderers for the renderer parameter.
Does StoryLite support Storybook play functions?
No. The source says StoryLite stories do not support play, loaders, decorators, docs or autodocs, actions, addon APIs or arbitrary toolbar callbacks.
How do I install storylite-create-story?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is storylite-create-story free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is storylite-create-story safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to storylite-create-story?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
