プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

lightGallery Skill

リポジトリ ↗

作者:sachinchoolur★ 7,0631 個の skill

インストール

What it does

A customizable, modular, responsive, lightbox gallery plugin.

  • Connects Instruction files the AI reads
  • Account or key No key found in README or SKILL.md
  • Category デザインと Web
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/sachinchoolur-lightgallery.svg)](https://mcp.popnx.com/en/skills/sachinchoolur-lightgallery)

一緒に使える

同じ作業で AI をサービスにつなぐ MCP

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

作者:pascalorg広く使われている↓ 1037/週★ 2.6万 リポジトリ全体のスター今日更新

MCP · サービスにつなぐパソコンでもクラウドでも✓ 提供元 · pascal.app

Semiotic

Verified React chart generation: select, validate, repair, render, and inspect charts through MCP.

作者:nteract広く使われている↓ 8456/週★ 271719 日前更新

MCP · サービスにつなぐパソコンでもクラウドでも

似た Skill

同じ種類の作業。Skill 一覧と同じ並び

似たものと比べる
これ
lightGallery
impeccablediagram-designfrontend-slidesguizang-ppt-skill
作者sachinchoolurpbakauscathrynlaveryzarazhangruiop7418
Skill 数11111
GitHub スター7,063112,54468,06932,51430,030
最終コード更新2026年11月5日2026年11月18日2026年11月13日2026年6月24日2026年10月30日
ライセンスGPL-3.0Apache-2.0MITMITAGPL-3.0

sachinchoolur による 1 個の Skill(指示セット)。AI が読んでそのとおりに作業します · MCP server ではありません

Skill と MCP の違い

MCP = 手

AI を外部のサービスやデータにつなぎます(例:Notion を読む、請求書を作る)。プログラムやサーバーが動いている必要があります。

Skill = 手順書

作業のやり方を AI に教えるテキストファイル。どのサービスにもつながりません。

重なる部分もあります。ツールを呼ぶスクリプト付きの Skill や、知識だけを渡す MCP もあります。やりたい作業から選んでください。

使えるアプリ

提供元の記載なし · SKILL.md 形式の Skill は Claude Code、Codex、Cursor など Agent Skills 対応アプリで使えます

インストール

Is it safe?

  • Who made it

    GitHub account sachinchoolur (person), 12 years old

  • Use and upkeep

    ★ 7,063 stars · code last changed 2026年11月5日

  • Any scripts?

    No, plain text files the AI reads and follows

  • Uses the internet?

    No scripts, so it does not go online by itself

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit 5df8619 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

まず:どの AI を使っていますか

使っているアプリを選ぶと、そのアプリでのインストール方法だけが表示されます

Option 1Upload to claude.ai (web and app)

  1. Download from GitHub

    This skill uses the GPL-3.0 license, which is not on the list we redistribute, so we do not hand out a ZIP from our site. Download it from GitHub and arrange the folder yourself, or use "Let the AI install it" above, which is easier

    Download from GitHub (whole repo) ↗

    Unzip it, then zip only the skills/lightgallery folder again. The ZIP must have a lightgallery folder with SKILL.md at the top level, no loose files

  2. Open Skills on claude.ai and upload

    +Create skillUpload a skillpick lightgallery.zip

    Open claude.ai/customize/skills ↗

  3. No Upload button? Turn on file creation first

    SettingsCapabilitiesCode execution and file creation

    Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free

Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)

Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)

Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com

Option 1Claude Code にインストールしてもらう

この文をコピーして Claude Code のチャットに貼り付けます

Where to install
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) for all my projects, at ~/.claude/skills/lightgallery. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) into the project this chat is open in (at .claude/skills/lightgallery). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Claude Code を開き直し、/lightgallery と入力するか関連する作業を頼むと Claude が自動で使います

Checked against official docs 2026年11月12日 · Source: code.claude.com

For Terminal users

Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください

  2. skill フォルダを ~/.claude/skills にコピー

    repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします

    git clone --depth 1 https://github.com/sachinchoolur/lightgallery.git /tmp/popnx-skill-sachinchoolur-lightgallery-5df8619 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-sachinchoolur-lightgallery-5df8619/skills/lightgallery' ~/.claude/skills/lightgallery
  3. Claude Code を開き直し、/lightgallery と入力するか関連する作業を頼むと Claude が自動で使います

自分でインストールした Skill は ChatGPT デスクトップアプリ、Codex CLI、IDE の Codex 拡張機能で使えます · Web 版とモバイル版の ChatGPT では自分でインストールした Skill は使えず、ディレクトリのプラグインに含まれる Skill だけが使えます

ChatGPT デスクトップアプリ

ChatGPT デスクトップアプリには Codex が組み込まれていて、Codex は ~/.agents/skills フォルダから Skill を読み込みます

Option 1ChatGPT にインストールしてもらう

ChatGPT デスクトップアプリで Codex を開き、この文をチャットに貼り付けます

Where to install
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) for all my projects, at ~/.agents/skills/lightgallery. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) into the project this chat is open in (at .agents/skills/lightgallery). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2自分でフォルダを置く

lightgallery フォルダを ~/.agents/skills/lightgallery に置きます

~ はホームフォルダ($HOME)です

For Terminal users

Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください

  2. skill フォルダを ~/.agents/skills にコピー

    repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします

    git clone --depth 1 https://github.com/sachinchoolur/lightgallery.git /tmp/popnx-skill-sachinchoolur-lightgallery-5df8619 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-sachinchoolur-lightgallery-5df8619/skills/lightgallery' ~/.agents/skills/lightgallery

インストールしたあと

  • ChatGPT デスクトップアプリ:サイドバーの Skills を開いて Skill があるか確認します
  • 使い方:ChatGPT では @ を入力して Skill を選びます · Codex CLI や IDE 拡張機能では /skills を実行するか、$ に続けて Skill 名を入力します
  • Codex は新しくインストールした Skill を自動で見つけます。表示されない場合は Codex を再起動してください

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Web 版とモバイル版の ChatGPT

自分でインストールした Skill は使えません。ディレクトリのプラグインに含まれる Skill だけが使えます

この Skill を ChatGPT で使うには、上の方法で ChatGPT デスクトップアプリを使ってください

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Option 1Codex にインストールしてもらう

この文をコピーして Codex のチャットに貼り付けます · ChatGPT デスクトップアプリ内の Codex、Codex CLI、IDE 拡張機能で使えます

Where to install
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) for all my projects, at ~/.agents/skills/lightgallery. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) into the project this chat is open in (at .agents/skills/lightgallery). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex は新しくインストールした Skill を自動で見つけます。表示されない場合は Codex を再起動してください · 使い方:ChatGPT では @ を入力して Skill を選びます · Codex CLI や IDE 拡張機能では /skills を実行するか、$ に続けて Skill 名を入力します

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

For Terminal users

Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください

  2. skill フォルダを ~/.agents/skills にコピー

    repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします

    git clone --depth 1 https://github.com/sachinchoolur/lightgallery.git /tmp/popnx-skill-sachinchoolur-lightgallery-5df8619 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-sachinchoolur-lightgallery-5df8619/skills/lightgallery' ~/.agents/skills/lightgallery
  3. Codex を開き直して関連する作業を頼むと、Codex が skill を一覧に出します

Option 1Cursor にインストールしてもらう

この文をコピーして Cursor のチャットに貼り付けます

Where to install
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) for all my projects, at ~/.cursor/skills/lightgallery. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) into the project this chat is open in (at .cursor/skills/lightgallery). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Cursor の Agent チャットで / を入力し lightgallery を選ぶ

Checked against official docs 2026年11月12日 · Source: cursor.com

For Terminal users

Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください

  2. skill フォルダを ~/.cursor/skills にコピー

    repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします

    git clone --depth 1 https://github.com/sachinchoolur/lightgallery.git /tmp/popnx-skill-sachinchoolur-lightgallery-5df8619 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-sachinchoolur-lightgallery-5df8619/skills/lightgallery' ~/.cursor/skills/lightgallery
  3. Cursor の Agent チャットで / を入力し lightgallery を選ぶ

Option 1Let the AI install it

Skill を読めるほかのアプリ向けです。この文には Claude Code、Codex、Cursor のパスが入っていて、AI が使っているアプリに合わせて選びます · Copy this sentence into the app’s chat

Where to install
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) for all my projects, at ~/.claude/skills/lightgallery (in Codex use ~/.agents/skills/lightgallery, in Cursor ~/.cursor/skills/lightgallery). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill lightgallery from https://github.com/sachinchoolur/lightgallery folder skills/lightgallery (commit 5df8619) into the project this chat is open in (at .claude/skills/lightgallery; in Codex use .agents/skills/lightgallery, in Cursor .cursor/skills/lightgallery). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

Gemini CLI や GitHub Copilot など Agent Skills 対応の他のアプリはフォルダが違います。そのアプリのガイドを見て、SKILL.md のあるフォルダをコピーしてください。

GitHub で見る ↗

2026年11月11日 に Claude Code、Codex、Cursor の公式ガイドで skill フォルダを確認

✓ コマンド確認済み 2026年11月18日

元の SKILL.md を見る

以下は提供元の repo の文章で、PopNx MCP の指示ではありません

最初の 8,000 文字を表示 · GitHub で全文を開く

---
name: lightgallery
description: Add or configure a lightGallery image/video lightbox or gallery in vanilla JavaScript, React, Vue or Angular — install, imports, plugins, CSS, settings, and the pitfalls that produce most bug reports. Use when a project needs a lightbox, photo gallery, thumbnail strip, zoomable images or a YouTube/Vimeo gallery, or when editing code that imports lightgallery or @lightgallery/*.
---

# lightGallery

One gallery, four packages with the same features and settings:

| Stack | Package | Plugins import path |
| --- | --- | --- |
| Vanilla JS / TypeScript | `lightgallery` | `lightgallery/plugins/<name>` |
| React | `@lightgallery/react` | `@lightgallery/react/plugins/<name>` |
| Vue 3 | `@lightgallery/vue` | `@lightgallery/vue/plugins/<name>` |
| Angular | `@lightgallery/angular` | `@lightgallery/angular/plugins/<name>` |

Plugin names: `thumbnail`, `zoom`, `video`, `autoplay`, `fullscreen`, `share`,
`hash`, `rotate`, `pager`, `comment`, `mediumZoom`, `relativeCaption`,
`vimeoThumbnail`, `originCrop`, `justified`. Each is a separate entry — import
only what the project uses.

**Default recipe.** Unless the user asks for something else, every image
gallery gets the `zoom` and `thumbnail` plugins, their two CSS files, and
`lgSize: 'WIDTH-HEIGHT'` (`data-lg-size` in markup) on every image item.
`lgSize` is the natural size of the full image; it drives the
zoom-from-origin animation, where the slide opens from the clicked
thumbnail and closes back to it. Without it the slide fades in. Read the
dimensions from the image files, the image optimizer or the CMS rather than
dropping the field. Leave a plugin out only when told to.

**Two rules that prevent most problems**

1. **CSS is a consumer import in every stack.** The framework packages ship
   no CSS. Import `lightgallery/css/lightgallery.css` plus one file per
   plugin (`lightgallery/css/lg-thumbnail.css`, `lg-zoom.css`, …), or
   `lightgallery/css/lightgallery-bundle.css` for everything.
2. **Plugins are opt-in.** A feature only exists when its plugin is passed
   (`plugins: [...]`, `plugins={[...]}`, `:plugins="[...]"`,
   `[features]="[withX()]"`). Its settings are ignored otherwise.

## Vanilla JavaScript

```js
import lightGallery from 'lightgallery';
import lgThumbnail from 'lightgallery/plugins/thumbnail';
import lgZoom from 'lightgallery/plugins/zoom';
import 'lightgallery/css/lightgallery.css';
import 'lightgallery/css/lg-thumbnail.css';
import 'lightgallery/css/lg-zoom.css';

const gallery = lightGallery(document.getElementById('gallery'), {
    plugins: [lgZoom, lgThumbnail],
    speed: 400,
});
```

Markup mode: the container holds anchors; each anchor's `href` (or
`data-src`) is the full image, the inner `<img>` is the thumbnail, and
`data-lg-size="WIDTH-HEIGHT"` is the full image's natural size for the
zoom-from-origin animation. Captions come from `data-sub-html`. If items are
not direct children, set `selector`. Dynamic mode:
`dynamic: true, dynamicEl: [{ src, thumb, lgSize, subHtml }]` and call
`gallery.openGallery(index)`.

Methods: `openGallery(index)`, `closeGallery()`, `refresh()` after the
markup changed, `destroy()`. Events fire on the container element
(`lgBeforeOpen`, `lgAfterSlide`, …) with data in `event.detail`; attach
listeners before initializing.

## React

```tsx
'use client'; // Next.js App Router: the gallery is a client component
import { LightGallery, LightGalleryItem } from '@lightgallery/react';
import Thumbnail from '@lightgallery/react/plugins/thumbnail';
import Zoom from '@lightgallery/react/plugins/zoom';

// items: [{ src, thumb, alt, lgSize: '1600-1067' }, …]
export function Gallery({ items }) {
    return (
        <LightGallery plugins={[Zoom, Thumbnail]} thumbnail={{ animateThumb: true }}>
            {items.map((item) => (
                <LightGalleryItem key={item.src} item={item}>
                    <img src={item.thumb} alt={item.alt} />
                </LightGalleryItem>
            ))}
        </LightGallery>
    );
}
```

Import the CSS in the root layout. Plugin settings are objects on props
named after the plugin (`zoom={{ … }}`, `thumbnail={{ … }}`); bare boolean
props are not valid. Callbacks are `onAfterSlide`, `onBeforeOpen`, …; the
imperative handle (`ref`) exposes `openGallery`, `closeGallery`,
`goToSlide`, `nextSlide`, `prevSlide`. Use either the controlled `open`
prop or the uncontrolled default for the component's whole lifetime, not
both. The package is SSR-safe; no `dynamic(..., { ssr: false })` needed.

## Vue 3

```vue
<script setup>
import { LightGallery, LgItem } from '@lightgallery/vue';
import Thumbnail from '@lightgallery/vue/plugins/thumbnail';
import Zoom from '@lightgallery/vue/plugins/zoom';

const items = [{ src: '/photos/1.jpg', thumb: '/photos/1-thumb.jpg', alt: 'One', lgSize: '1600-1067' }];
</script>

<template>
    <LightGallery :plugins="[Zoom, Thumbnail]" :thumbnail="{ animateThumb: true }">
        <LgItem v-for="item of items" :key="item.src" :item="item">
            <img :src="item.thumb" :alt="item.alt" />
        </LgItem>
    </LightGallery>
</template>
```

`v-model:open` controls the open state; events are emitted without the
`on` prefix (`@after-slide`). Custom icons: `:icons="{ close: MyIcon }"`.

## Angular

```ts
import { Component } from '@angular/core';
import { LgGalleryComponent, LgGalleryItemDirective } from '@lightgallery/angular';
import { withThumbnail } from '@lightgallery/angular/plugins/thumbnail';
import { withZoom } from '@lightgallery/angular/plugins/zoom';

@Component({
    selector: 'app-gallery',
    standalone: true,
    imports: [LgGalleryComponent, LgGalleryItemDirective],
    template: `
        <lg-gallery [features]="features">
            @for (item of items; track item.src) {
                <a [lgGalleryItem]="item"><img [src]="item.thumb" [alt]="item.alt" /></a>
            }
        </lg-gallery>
    `,
})
export class GalleryComponent {
    items = [{ src: '/photos/1.jpg', thumb: '/photos/1-thumb.jpg', alt: 'One', lgSize: '1600-1067' }];
    features = [withThumbnail({ animateThumb: true }), withZoom()];
}
```

Add the CSS files to `angular.json` `styles` or the root stylesheet.
Settings are inputs (`[speed]`, `[loop]`); events are outputs without the
`on` prefix (`(afterSlide)`).

## Settings worth knowing

- `mobileSettings: { controls, showCloseIcon, download }` — a second
  settings object applied on small screens.
- `strings` — every UI label, merged per key; use it to localize.
- `direction: 'rtl'` (or `'auto'`) mirrors the gallery; import
  `lightgallery/css/lg-rtl.css`.
- `icons` — inline SVG per icon name; state pairs (`maximize`/`minimize`,
  `autoplayPlay`/`autoplayPause`, `fullscreen`/`fullscreenExit`) need both.
- Video: items with a YouTube/Vimeo/Wistia URL or `data-video` JSON render
  a poster and load the player on play (`videoFacade`).
- `virtualization` for galleries with hundreds of slides; `scrubThumbnails`
  to scrub with the strip; `hashDriver` for deep links.
- `licenseKey` — required for commercial use; the default key logs a
  warning.

## Pitfalls

- No styles → the CSS import is missing (see rule 1).
- Thumbnails/zoom "not working" → the plugin is not in the plugins list.
- The slide fades in instead of opening from its thumbnail → `lgSize`
  (`data-lg-size`) is missing or does not match the image's natural size.
- "data-src is not provided" → the `selector` does not match the anchors.
- Slides added after init are not shown → call `refresh()` (vanilla) or
  update the reactive `items` (frameworks).
- React: switching between controlled and uncontrolled `open` logs an error.
- Every symptom with its fix per package:
  https://www.lightgalleryjs.com/docs/troubleshooting/index.md

## Reference

- Docs index for agents: https://www.lightgalleryjs.com/llms.txt
- Every setting with type and default: https://www.lightgalleryjs.com/docs/settings/index.md
- Events: https://www.lightgalleryjs.com/docs/events/index.md · Meth

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

GitHub の情報

GitHub スター
7,063
提供元
sachinchoolur
ライセンス
GPL-3.0
最終コード更新
2026年11月5日
repo 内の SKILL.md(翻訳版とテンプレートを含む)
1
トピック
angular, angular-gallery, css-animations, html5-video, image-gallery, lightbox, lightbox-gallery-plugin, lit-element, react, react-gallery, thumbnails, video