lightgallery
Skill by sachinchoolur
Adds or configures a lightGallery image and video lightbox in vanilla JavaScript, React, Vue or Angular. It covers installation, imports, plugins, CSS, settings and common bug causes.
Install lightgallery
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sachinchoolur/lightGallery /tmp/lightGallery && mkdir -p ~/.claude/skills && cp -r /tmp/lightGallery/skills/lightgallery ~/.claude/skills/lightgalleryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sachinchoolur/lightGallery /tmp/lightGallery && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/lightGallery/skills/lightgallery ~/.gemini/antigravity-cli/skills/lightgalleryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant the setup and configuration guidance for lightGallery, a lightbox and gallery library. It covers four packages: lightgallery for vanilla JavaScript and TypeScript, and @lightgallery/react, @lightgallery/vue and @lightgallery/angular for the frameworks. Each feature such as zoom, thumbnail, video or fullscreen is a separate plugin that must be passed in explicitly.
The skill sets a default recipe for image galleries that includes the zoom and thumbnail plugins, their CSS files, and an lgSize value for each image. It also lists common pitfalls, such as missing CSS imports, plugins left out of the list, and slides not appearing after items change. It is meant for developers who need a lightbox, photo gallery, thumbnail strip or YouTube and Vimeo gallery, or who are editing code that imports lightgallery.
Written from the project's SKILL.md and checked against it.
What it can do
- Framework setupShows install and import steps for vanilla JavaScript, React, Vue and Angular.
- Plugin configurationExplains the plugin list, plugin import paths and the opt-in rule for each plugin.
- CSS importsCovers the base stylesheet, per-plugin CSS files and the bundle CSS file.
- Default image recipeAdds zoom and thumbnail plugins and lgSize on each image item by default.
- Settings guidanceCovers mobile settings, localized strings, RTL direction, icons, video, virtualization and hash deep links.
- Troubleshooting pitfallsLists common symptoms such as missing styles, fading slides and controlled open state errors with fixes.
What you need
- A lightGallery licenseKey for commercial use
Try asking
- Add a lightbox with thumbnails to my React product photo page
- Set up a YouTube and Vimeo video gallery in my Vue 3 app
- Why does my lightGallery slide fade in instead of zooming from the thumbnail?
Good to know
- The framework packages ship no CSS, so the consumer must import it
- Plugins are opt-in and their settings are ignored unless passed
- A licenseKey is required for commercial use
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/lightgallery/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to lightgallery
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
lightgallery: common questions
Which lightGallery packages does this skill cover?
It covers the lightgallery package for vanilla JavaScript and TypeScript, plus @lightgallery/react, @lightgallery/vue and @lightgallery/angular.
Why does my lightGallery slide fade in instead of opening from the thumbnail?
The source says the lgSize (data-lg-size) value is missing or does not match the image's natural size. Adding the correct width and height fixes the zoom-from-origin animation.
Does lightGallery need a license key?
The source says licenseKey is required for commercial use and that the default key logs a warning.
How do I install lightgallery?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lightgallery free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is lightgallery safe to use?
It scores 79 of 100. Grades: maintenance B, licence C, quality A. 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 lightgallery?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
