Svelte Ui Deliveryのロゴ

Svelte Ui Delivery

コミュニティ
jpoehnelt
svelte-ui-delivery

描画結果を証拠として、Svelte 5(SvelteKit)のUI変更を実装し、検証します。ページ、フォーム、コンポーネント、shadcn-svelte/Bits UIのプリミティブの作成、レスポンシブ表示、ダークモード、アクセシビリティの問題の修正、Storybookのストーリー作成、画面上の変更を示すスクリーンショットの収集に使用します。

概要

公開者jpoehnelt
リポジトリskills
スキル名svelte-ui-delivery
スター
23
フォーク
1
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にSvelte Ui Deliveryを読み込みます。

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

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

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

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

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

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

スキルの指示

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

Svelte UI delivery

Repo facts (from AGENTS.md or the app's AGENTS.md): where shared primitives and feature components live, the token file and fonts, layout primitives, theme-color and token lint commands, Storybook port and commands, visual-regression setup, the local dev command and seeded sign-in, and check, test, and build commands.

Discover before designing

  • Run scripts/ui-surface-snapshot.sh [--root DIR]... KEYWORD... to list matching components, shared primitive folders, routes, consumers, stories and tests, and global CSS tokens.
  • Reuse before creating. Generic primitives go in the repo's shared UI package or components/ui/; feature components go in components/<feature>/ (PascalCase). No loose top-level components and no new barrel files.
  • Add shadcn-svelte primitives with its CLI (pnpm dlx shadcn-svelte@latest add <name>) rather than hand-writing them. svelte-shadcn covers writing, customizing, and re-syncing them.
  • Icons: import single files (for example @lucide/svelte/icons/<name>), not the whole set.

Decide the experience

  • Inspect the existing surface: a supplied screenshot, a focused story, or the running app. State the user's task, how often they do it, and the friction the change removes.
  • Choose the smallest presentation that serves the task. Prefer contextual help or onboarding over persistent copy in navigation or repeated controls; keep instructions needed to complete an action visible. Do not add decorative eyebrow badges, status pills, hero glows, background grids, card-in-card wrappers, or unrequested filter bars.
  • Preserve hierarchy, density, and scan order. Check wrapping, scrolling, and competing emphasis with representative content at phone and laptop widths. A copy change can still change the layout.
  • Contextual help works by pointer, keyboard, and touch, exposes its description to assistive technology, and dismisses without moving focus. Verify touch separately: hover and focus do not prove touch users can open help without triggering another action.
  • A persistent notice or banner needs a defined audience, an observable rendering condition, a supported user action, and a permanent invariant or a named owner and removal condition. Non-actionable migration detail belongs in release notes.

Build

  • Svelte 5 runes only: $state, $derived, $effect, $props, snippets and {@render}. No export let, $:, on: directives, or <slot>.
  • Load data in +page.server.ts/+layout.server.ts, remote functions, or the API; components do not fetch. Run Effect programs only through the repo's boundary runners (effect). A statically adapted site must keep server code prerenderable.
  • Colors, radius, and type come from tokens in the global CSS (bg-background, text-muted-foreground, var(--...)). No raw Tailwind palette classes or hex, rgb(), hsl() literals in components. A new token needs a value in both the light and dark definitions; never rely on dark: utilities with raw colors.
  • Layout: components that can sit in a sidebar or split pane adapt with container queries (@container on the parent, @sm:/@lg: variants), not viewport breakpoints. Side rails use fixed pixel widths, not percentage clamps. Design at phone width first.
  • Motion: animate only transform and opacity, honor prefers-reduced-motion, and never transition focus rings.
  • Accessibility: real elements for real roles (button, a, nav), semantic landmarks, one h1 per page and a valid heading outline, labels on every control, keyboard operation for every pointer action, visible focus, meaningful alt, text contrast at least 4.5:1.
  • Escape at render; never {@html} untrusted data. When a read fails, show a failure state, not an editable empty state.
  • Do not change a pricing, limit, permission, or data-handling claim as a copy edit.

Forms

  • Validate with a colocated schema. With Superforms and Effect Schema: server superValidate(effect(schema)) (adapter from sveltekit-superforms/adapters) and fail(400, { form }) on errors; client superForm(data.form, { validators: effectClient(schema) }). Trim before length or email checks.
  • Return generic client messages on service failure and log detail server-side.

Storybook

  • Keep stories few: one comprehensive gallery or matrix story per component or page, plus at most one interactive play story for keyboard, focus, or state. No story per prop permutation.
  • Fix accessibility-addon violations rather than silencing them.
  • If a Storybook MCP server is connected, read its story instructions before writing stories and use its test tool for focused checks; otherwise verify props from source and existing stories.
  • When stories feed visual regression, register the story in the visual catalog in the same change. Approving screenshot baselines is a human decision.

Tests

Component tests assert behavior, contracts, and ARIA semantics, never CSS classes, styling, or raw tags. Add one only where behavior is uncertain. For composed behavior, exercise the production composition and each affected entry point. When an editor owns a draft, verify cancel, reopen, and navigation, and that a pristine draft does not trigger work.

Rendered evidence

  • Isolated component change: a focused Storybook story is enough. Run the app when routing, loaders, persistence, or cross-component interaction need verification; do not start the full stack for every edit.
  • Use the repo's local dev command and its printed URL. Check the changed route in light and dark mode, at phone and desktop widths, by keyboard only, and with reduced motion on.
  • For layout changes, compare before and after at the same viewport, and explain why each added persistent element earns its space. Technical checks alone do not establish a usable design.
  • Capture screenshots for the PR. After a cross-cutting CSS or layout pass, re-run every screenshot target referenced by the walkthrough or PR and inspect the updated images so stale screenshots never remain. For build-only issues (prerender, images, feeds), build and preview.

Verify

  • The repo's check, lint (including token or theme-color rules), test, and build commands pass, plus the Storybook build when stories changed.
  • Light and dark, phone and desktop, keyboard, and reduced motion were checked in the rendered UI.
  • No hard-coded colors, no viewport-only layout inside panes, valid heading outline, failed reads not shown as empty editable state.

同梱ファイル

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

よくある質問

AIスキル「Svelte Ui Delivery」では何ができますか?

描画結果を証拠として、Svelte 5(SvelteKit)のUI変更を実装し、検証します。ページ、フォーム、コンポーネント、shadcn-svelte/Bits UIのプリミティブの作成、レスポンシブ表示、ダークモード、アクセシビリティの問題の修正、Storybookのストーリー作成、画面上の変更を示すスクリーンショットの収集に使用します。

TypingMindでSvelte Ui Deliveryを使うメリットは何ですか?

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

TypingMindにSvelte Ui Deliveryをインストールするにはどうすればよいですか?

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

Svelte Ui Deliveryを使えるAIモデルはどれですか?

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

Svelte Ui Deliveryで使えるAIモデルの数に制限はありますか?

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

AIスキル「Svelte Ui Delivery」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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