claude/skills/nanobanana-prompt-writer/SKILL.md
Nano Banana(Gemini のネイティブ画像生成)向けに、用途(ロゴ/EC物撮り/サムネ/ステッカー/文字入り/ミニマル/差分編集/参照画像固定など)をヒアリングし、 "タグ盛り"ではなく撮影・制作ブリーフ形式で一貫性の高い高品質プロンプトを作るSkill。 ユーザーが「nanobananaで画像生成のプロンプトを作って」「Gemini画像生成の高品質プロンプト」「編集で詰めたい」「参照画像で同一性を保ちたい」等を求めたときに発動する。
npx skillsauth add lilpacy/dotfiles nanobanana-prompt-writerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Nano Banana(Gemini ネイティブ画像生成)で"当たり"を出しやすい ブリーフ型プロンプトを作るためのSkill。
gemini-2.5-flash-image / gemini-3-pro-image-preview の2モデルとして提供されるキーワード羅列ではなく、シーン/目的/制約を文章で説明して一貫性を上げる。
会話的な微修正(差分指示)を優先し、最短で詰める。
no xxx 連発ではなく「xxxが存在しない状態」「背景がクリーンで単色」のように"意味的な否定"で書く。
ユーザーに返す内容は、基本的に以下をセットで出す(不足情報があっても、仮のデフォルト+選択肢で出す):
imageConfig.aspectRatio を想定)ユーザー入力から、最低限これを抽出(無ければ仮置き):
| モデル | 特徴 | 向いている用途 |
|--------|------|----------------|
| Flash (gemini-2.5-flash-image) | 速い・軽い・ラフ/量産向き | 3枚程度の参照、ラフ案量産 |
| Pro (gemini-3-pro-image-preview) | 複雑指示・高忠実度・文字精度 | 文字入り・ロゴ・厳密な指示 |
参照画像枚数の目安:Flashは入力3枚程度、Proは高忠実度5枚(最大14枚)。
以下を優先度順にプロンプトへ反映(不足はデフォルト提案):
imageConfig.aspectRatio で指定)resources/templates.md を参照し、該当テンプレを適用する最終出力に必ず「差分プロンプト例」を3つ付ける:
User: 「雨上がりの渋谷の路地、夜。映画っぽく」
Output:
User: 「コーヒー店 'The Daily Grind' のロゴ」
Output:
User: 「ワイヤレスイヤホンの商品写真、白背景で」
Output:
User: 「この顔のまま別のポーズで」
Output:
resources/templates.md - 用途別プロンプトテンプレートresources/references.md - 公式ドキュメント参照情報development
Use when searching the web or reading online documentation. Prefer DuckDuckGo for search and read documents through npx curl.md instead of raw HTML.
testing
Use when writing or editing tests. Tests should be ordered by near-normal, normal, then abnormal cases where applicable, and test names must be Japanese behavior descriptions from a reviewer/user perspective.
development
GoF/オブジェクト指向デザインパターンを関数型プログラミング(pure functions, higher-order functions, ADT, composition, immutability, effect boundaries)でシンプルに整理・設計・リファクタリングする。Strategy/Factory/Adapter/ObserverなどGoF全23パターンのFP置き換え、適用判断、具体事例を提示する必要があるときに使う。
tools
Use when committing, pushing, or preparing PRs. Defines the user's commit workflow, message style discovery, review handoff, and branch/worktree push requirements.