Ucoz Popup Design Skillのロゴ

Ucoz Popup Design Skill

コミュニティ
ucoz-skills
ucoz-popup-design-skill

公式のuCoz MCPツールを使って、uCozサイトの標準ポップアップを再デザインします。対象はシステムウィンドウ(`_uWnd`)、確認ダイアログ、ウィンドウ内のフォーム(ログインやメールフォームの結果など)、`uToast`通知です。すぐに使える5種類のプリセット(Light、Dark、Lavender、Mint、Peach)、公開中のサイトに合わせたパレット、またはコントラストチェック付きのカスタムパレットを利用できます。バージョン管理されたCSSファイルを1つ作成し、指定のテンプレート挿入箇所から読み込ませます。バックアップ、正確な読み戻し、ワンクリックでのロールバックにも対応します。「ポップアップをサイトのデザインに合わせたい」「通知をダークにしたい」「ログインウィンドウを変更したい」「ポップアップのスタイルを削除したい」といった場合に使います。サイト全体のデザイン変更(ucoz-design-editor-skill)、新しいテンプレートの作成(ucoz-template-creator-skill)、サイトコンテンツの編集(ucoz-content-manager-skill)には使用しないでください。

Add to TypingMind

概要

公開者ucoz-skills
リポジトリagent-skills
スキル名ucoz-popup-design-skill
スター
24
フォーク
0
同梱ファイル
9
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 9個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ucoz-skillsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ucoz Popup Design Skill」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-popup-design-skill
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ucoz-skills/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/ucoz-popup-design-skill .claude/skills/ucoz-popup-design-skill
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでUcoz Popup Design Skillを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にUcoz Popup Design Skillを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ucoz Popup Design Skillは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

uCoz Popup Design Skill

Version: 1.0

Usage accounting

After the stylesheet is published and verified, record the usage:

text
skills_tool(action="register_usage", skill_id="ucoz-popup-design-skill")

If usage accounting is unavailable or returns an error, show a brief warning and continue the skill's main workflow. Do not ask the user for a UUID, token, site URL, or uAPI key.

Purpose

You restyle the popups that uCoz itself draws on a live site: _uWnd windows, confirmations, forms inside windows and uToast notifications. They are not in templates — platform JavaScript appends them to <body> — so the only lever is CSS loaded after the system styles.

Three outcomes define success:

  1. The popups look like the site (or like the chosen preset), in light and dark modes, on desktop and at 375px.
  2. Nothing stops working: windows still open, close, drag, resize and submit; fields keep their native behaviour and keyboard access.
  3. Nothing else changed: menus, lightbox, Control Panel dialogs and the rest of the page look exactly as before, and the change can be removed in one step.

Connection model

Everything goes through the MCP tools on the site chosen with select_site. No API key, token or site URL is needed in the client.

  1. list_sites → match the user's domain → select_site(site_id) → check that the returned host is that domain. Ask which site if there are several and the user did not name one.
  2. Work with the tool family for the job (see the map below).

A permission error means the signed-in account cannot do that operation. Say so; do not look for workarounds.

Tool map

JobReadWriteDelete / destructive
Template ids, template code, patch checktemplates_read list_modules, read_template, validate_template——
Template backupstemplates_read get_backup_guide, list_backupstemplates_write create_backup—
CSS link in templatestemplates_read read_templatetemplates_write patch_templaterollback = patch_template with code_paste: ""
The CSS filefiles_read quota, list, content_getfiles_write mkdir, content_putfiles_delete (confirm: true, only after the user approves)

Not this skill: update_template, tmaker_publish, templates_delete, settings_write, and the content, users and shop tools.

Non-negotiables

  1. Separate file, one link. The styles live in one versioned file in the file manager (uwnd-design-<version>.css), linked once between <!-- uwnd-design:start v<version> --> and <!-- uwnd-design:end -->. Never inline the styles into templates, never edit the stock CSS template, never touch system files under /.s/. The file and marker names stay uwnd-design so that sites styled by earlier versions are updated in place, not duplicated.
  2. Patch, don't rewrite. Only patch_template with a byte-exact code_search from a fresh read_template, checked first with validate_template. Never update_template or a full skeleton. Keep $AJAX_JS$, $POWERED_BY$, template conditions and functional form fields.
  3. Scope every ordinary-window rule to body [id^="_uwndTop"]:not(.x-lb,.cp-modal,.cp-alert,.uwnd-toast). Toasts are styled separately under .uwnd-toast. Do not restyle .xw-shadow globally (menus use it too), icon fonts or --layer-* variables outside the toast.
  4. Native geometry stays. Keep inline sizes, hidden controls, drag/resize regions, close/minimize/maximize buttons and their handlers. Never monkeypatch the _uWnd / uToast library.
  5. Fields stay native. Keep input semantics, labels, keyboard behaviour; inset focus outlines so they are not clipped; room for exactly one select arrow; multiple selects untouched; never width:100% on every field.
  6. Contrast 4.5:1 for key text pairs, presets and custom palettes alike. scripts/build_theme.py.md refuses palettes below it.
  7. No personal data. The audit reads DOM structure and computed styles only — never field values, cookies or tokens. Never submit real forms for a visual check.
  8. Honest accessibility. CSS cannot add focus traps, ARIA roles or tabindex. Never claim full accessibility.

Safety rules

  • Installing the skill is not permission to publish. Publish only what the user approved; a request for a preview stays local.
  • Do not repeat questions the user already answered and do not ask again for an approval already given.
  • Read before you write: save the original of every template you patch locally (outside the skill folder) and record the backup id.
  • Never overwrite a file you did not create. If uwnd-design markers already exist, update that block instead of adding another.
  • Open and close only your own test windows; never close a window whose name you did not create.
  • Do not add a second jQuery or any other library to existing pages.
  • confirm: true on files_delete only after the user approved deleting that exact file.

Workflow

1. Connect

list_sites → select_site → verify the host.

2. Choose the appearance

If the user has not chosen, offer three options in their language:

  • Preset — Light, Dark, Lavender, Mint or Peach (assets/themes.json).
  • Match the site — taken from the live page backgrounds, fonts, links, buttons, radii and light/dark selectors.
  • Custom — ask only for what is missing: colours, a reference, density, rounding.

→ references/THEMES.md

3. Audit

Open representative windows on the live site and run the function from scripts/inspect-windows.js.md in the browser (read-only). Note the loaded system CSS/JS, the window DOM, site CSS variables and light/dark switches. → references/COMPONENTS.md

4. Build

Generate the stylesheet locally: save the code block from scripts/build_theme.py.md as build_theme.py in a working folder, then run python build_theme.py --theme <name> --output <file> (optional --accent / --hover). For a site-matched or custom look, adapt the --uwd-* tokens; bind them to site variables only after seeing their real names. Show a preview with the site's own library and harmless demo windows.

5. Publish

Backup → CSS file → validated marked patch → exact read-back. → references/PUBLISHING.md

6. Verify

Desktop and 375px, light and dark site modes, real site windows and demos, field states, keyboard, toasts. → references/VERIFICATION.md

7. Report

Use the output format below. Then call skills_tool register_usage.

Output format

Plan

#ObjectTool / actionChangeBackupRisk

Final report

  • Site and theme:
  • CSS file (path, version):
  • Templates patched (module/template, backup id):
  • Preview URL:
  • Verified (desktop / 375px, light / dark, windows, forms, toasts):
  • Not tested and why:
  • Rollback:

Reference map

NeedFile
Window and toast DOM, classes, JS API, what to keep untouchedreferences/COMPONENTS.md
Presets, tokens, site-matched and custom palettes, the theme builderreferences/THEMES.md
Backup, CSS file, marked insertion, HTTP 413, rollbackreferences/PUBLISHING.md
Test matrix and acceptance criteriareferences/VERIFICATION.md
Base stylesheet / preset palettesassets/uwnd-overrides.css.md, assets/themes.json
Theme builder / read-only DOM auditscripts/build_theme.py.md, scripts/inspect-windows.js.md
Example requestsexamples/PROMPTS.md

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ucoz Popup Design Skill」では何ができますか?

公式のuCoz MCPツールを使って、uCozサイトの標準ポップアップを再デザインします。対象はシステムウィンドウ(`_uWnd`)、確認ダイアログ、ウィンドウ内のフォーム(ログインやメールフォームの結果など)、`uToast`通知です。すぐに使える5種類のプリセット(Light、Dark、Lavender、Mint、Peach)、公開中のサイトに合わせたパレット、またはコントラストチェック付きのカスタムパレットを利用できます。バージョン管理されたCSSファイルを1つ作成し、指定のテンプレート挿入箇所から読み込ませます。バックアップ、正確な読み戻し、ワンクリックでのロールバックにも対応します。「ポップアップをサイトのデザインに合わせたい」「通知をダークにしたい」「ログインウィンドウを変更したい」「ポップアップのスタイルを削除したい」といった場合に使います。サイト全体のデザイン変更(ucoz-design-editor-skill)、新しいテンプレートの作成(ucoz-template-creator-skill)、サイトコンテンツの編集(ucoz-content-manager-skill)には使用しないでください。

TypingMindでUcoz Popup Design Skillを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ucoz Popup Design Skillはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにUcoz Popup Design Skillをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-popup-design-skillを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ucoz Popup Design Skillを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ucoz Popup Design Skillで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもUcoz Popup Design Skillを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ucoz Popup Design Skill」は無料ですか?

はい。ucoz-skillsがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇