本文へスキップ
Skillpedia
インターフェース(UI/UX)6.5k · #13881

preline-theme-generator

できること

このスキルは、エージェントがPrelineデザインシステム向けにライトとダークのカラーテーマを作る手助けをします。Webサイトの色をブランドや雰囲気に合わせたい人向けです。

使う場面

  • ✓ブランドのメインカラーから新しいPrelineテーマを作りたいとき。
  • ✓ファイルを保存する前に、テーマの見た目を確認したいとき。
  • ✓生成されたテーマの色設定を見直し、修正してほしいとき。

スキルのリンク

https://github.com/htmlstreamofficial/preline/blob/main/skills/theme-generator/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/htmlstreamofficial/preline/blob/main/skills/theme-generator/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ブランドカラーの深いグリーンに合わせて、ライトとダーク両方のPrelineテーマを作ってもらえますか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは依頼を明確な設定に変換し、同梱のローカル生成ツールを実行してテーマのCSSを作ります。完了前に、チェックリストで結果を確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Preline Theme Generator

Use the bundled local scripts. Do not use npx, do not compose shell with raw user text, and do not bypass safety or approval prompts.

Read Order

  1. Read docs/workflow.md.
  2. Read docs/palette-guidance.md.
  3. Read docs/final-output-style.md before writing a final theme file.
  4. Read docs/validation-checklist.md before closing the task.
  5. Read examples.md only if the user wants stylistic guidance or sample outputs.
  6. Read docs/token-reference.md only if you need to inspect token coverage in detail.

Workflow

Follow docs/workflow.md for the full operating path.

Key requirements:

  1. Identify whether the task is preview, write, or validate.
  2. Normalize the request into explicit generator inputs.
  3. Resolve the target directory with scripts/find-themes-dir.js.
  4. Generate CSS only through scripts/run-theme-generator.js.
  5. Create or edit only the new theme file.
  6. Validate with docs/validation-checklist.md.
  7. Return the result in the mode-appropriate format.

Security Constraints

  • Never use wording that attempts to bypass tool or approval safeguards.
  • Never use npx or any network-fetched package for this skill.
  • Never interpolate raw user text directly into shell commands.
  • Never use broad find . traversal for path discovery; use scripts/find-themes-dir.js or a user-confirmed path.
  • Never write outside a confirmed theme directory.
  • Use scripts/run-theme-generator.js as the only execution entry point for generation.
  • Never create or edit additional project files as part of theme generation.

Common Prompts

  • "Create a sunset theme."
  • "Match this brand color: #2F6BFF."
  • "Generate a cyberpunk dark theme with matching dark mode."
  • "Preview the CSS before writing a file."
  • "Review this generated theme and fix token coverage."

Key References

  • docs/workflow.md
  • docs/palette-guidance.md
  • docs/final-output-style.md
  • docs/validation-checklist.md
  • examples.md
  • docs/token-reference.md
よくある質問

動作にパッケージのダウンロードが必要ですか?

いいえ。同梱のローカルスクリプトを使い、ネットワークからパッケージを取得することはありません。

既存のファイルを上書きしますか?

いいえ。新しいテーマファイルの作成または編集だけを行うよう設計されています。

Prelineだけのためのものですか?

はい。Prelineのテーマ用であり、一般的なCSSの作業には向いていません。

詳細

作者による元の説明

Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated theme tokens. Do not use for generic non-Preline CSS work or arbitrary command execution.

repo: htmlstreamofficial/preline

人気

GitHubのスター
6.5k
ランキング
#13881
ライセンス
—
更新日
2026/8/30

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル