Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

promptorpromptor 前端

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

606

周安装

25

GitHub Stars

7

下载量

198
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:promptor(promptor 前端)
来源仓库:https://github.com/thangphistudent/nano-banana-2-promptor-skill
仓库路径:skills/promptor
安装命令:
npx skills add https://github.com/thangphistudent/nano-banana-2-promptor-skill --skill promptor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/thangphistudent/nano-banana-2-promptor-skill --skill promptor

简介

用于辅助前端界面设计与交互逻辑的开发支持。promptor 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

  • 适合生成或审查 React、Vue 组件及样式代码片段。
  • 使用时需结合项目现有设计系统和构建流程进行集成。
  • 建议通过本地预览确认布局、响应式和文本表现效果。
  • 避免只输出孤立代码块,应与路由和状态管理协同考虑。

SKILL.md

Nano Banana 2 Promptor

Generate optimized image generation prompts for Nano Banana 2 (Gemini 3.1) from natural conversation context. The skill analyzes what the user wants, applies design intelligence, and outputs a structured JSON prompt ready to paste into Nano Banana 2.

Why This Skill Exists

Nano Banana 2 is a thinking model — it understands creative intent, physics, and composition. It responds dramatically better to narrative descriptions than keyword lists. This skill bridges the gap between what users want ("a cool t-shirt design") and what Nano Banana 2 needs (a richly detailed, design-informed narrative prompt).

Core Pipeline

1. CONTEXT PARSER  → detect/infer dimensions from any input format
2. CATEGORY ROUTER → POD path or Commercial path
3. PROMPT COMPOSER → narrative prompt with design intelligence
4. JSON OUTPUT     → structured output ready for use

Step 1: Parse Context

Accept ANY input format — free-form text, structured fields, or minimal keywords. Extract these 8 dimensions:

DimensionWhat to detectInference when missing
subjectThe core product/object/conceptRequired — ask if truly ambiguous
categoryOne of the 10 categories belowInfer from subject + purpose
audienceTarget demographic/psychographicInfer from subject + style
purposeWhat the image is for (platform/use)Default: "general commercial use"
style_hintsAny style/aesthetic directionInfer via context (see Style Inference)
text_contentText to render in the imageNone unless specified
brand_voiceTone/personalityInfer from style + audience
constraintsWhat to avoid or must includeNone unless specified

10 Supported Categories

CategoryTriggers on
product_heroProduct shots, studio photography, hero images
lifestyleProducts in real-world settings, contextual scenes
social_mediaInstagram, Facebook, Pinterest, TikTok content
pod_tshirtT-shirt designs, apparel graphics
pod_mugMug designs, drinkware, wrap-around
pod_posterPosters, wall art, fine art prints
pod_accessoriesPhone cases, tote bags, stickers
marketing_bannerWeb banners, email headers, ad creatives
infographicData visuals, comparison charts, bento grids
logo_brandLogos, brand marks, icons

Style Inference

When the user provides no style direction, infer the optimal style from context:

For POD categories — read references/niche-modules.md and select the closest niche module based on subject + audience. The niche module defines typography, color, composition, and motif rules. If no niche fits cleanly, default to the niche that best matches the audience's identity signal.

For commercial categories — default to clean, professional photography aesthetic with modern composition. Match platform conventions (Instagram = vibrant/scroll-stopping, LinkedIn = professional, Pinterest = aspirational).

Step 2: Route by Category

POD Path (pod_tshirt, pod_mug, pod_poster, pod_accessories)

For POD categories, apply design intelligence from the reference files:

  1. Read references/niche-modules.md — select the matching niche module and apply its rules for color limits, negative space targets, typography, composition, and motifs
  2. Read references/design-principles.md — apply core design philosophy principles
  3. Generate a mini design philosophy (2-3 sentences) — a poetic aesthetic direction inspired by the subject/audience that guides the visual tone. Think of it as naming a tiny art movement. Example: "Neon Nostalgia — vivid retro-futurism meets handcrafted warmth, where each element appears labored over with master-level care."
  4. Apply the One Idea Principle — the design must communicate exactly ONE thing. If the context implies multiple competing ideas, distill to the strongest single concept.
  5. Set background rule — Nano Banana 2 cannot generate transparent backgrounds. Instead:

- If design is predominantly dark → use pure solid white background (#FFFFFF) - If design is light/colorful → use pure solid black background (#000000) - Always add: "clean isolated background with sharp edges, no gradients, no ambient shadows, no noise — optimized for AI background removal"

Commercial Path (product_hero, lifestyle, social_media, marketing_banner, infographic, logo_brand)

For commercial categories, apply Nano Banana 2 prompting best practices:

  1. Read references/prompt-patterns.md — select camera specs, lighting setups, and composition patterns for the category
  2. Set platform-specific aspect ratio:

- Instagram feed: 4:5 - Instagram story / TikTok: 9:16 - Facebook ad: 1:1 or 4:5 - Pinterest: 2:3 - Web banner: 16:9 or 21:9 - Email header: 3:1 - General: 4:3 or 16:9

  1. For product_hero — add camera hardware language (e.g., "Sony A7III, 85mm f/1.4, studio softbox lighting") as this dramatically improves photorealistic output
  2. For marketing_banner — reserve negative space for text overlay, describe composition zones explicitly
  3. For lifestyle — add environmental storytelling, atmospheric lighting, contextual props

Step 3: Compose the Prompt

Assemble a narrative-style prompt (not keyword lists). Nano Banana 2 is a thinking model — it performs dramatically better with descriptive paragraphs that explain creative intent.

Prompt Formula

[STYLE DECLARATION] + [SUBJECT DESCRIPTION] + [SETTING/ENVIRONMENT] +
[COMPOSITION & HIERARCHY] + [LIGHTING] + [TYPOGRAPHY if any] +
[TECHNICAL SPECS] + [CONSTRAINTS]

Writing Rules

  • Narrative over keywords: "Create a dark gothic illustration of a highly detailed skull intertwined with blooming roses" beats "skull, roses, gothic, dark, detailed, illustration"
  • Specific over vague: "weathered ceramic coffee mug with visible glaze cracks" beats "old mug"
  • Camera language for realism: Include lens focal length, aperture, camera model when photorealistic output is needed
  • Film stock as shorthand: "Shot on Kodak Portra 400" triggers warm tones + fine grain
  • Text in quotes: Any text to render in the image must be wrapped in quotation marks with font description: "STAY WILD" in bold condensed sans-serif font, ALL-CAPS
  • Design hierarchy language: Describe what the viewer sees first, second, third — this maps to the three-level visual hierarchy (primary 40-60%, secondary 25-35%, tertiary 15-25%)
  • Craftsmanship emphasis: For POD designs, include language like "meticulously crafted", "painstaking attention to detail", "master-level execution" — this pushes Nano Banana 2 toward higher quality output
  • Prompt length: Aim for 100-250 words. Enough detail to guide the model, not so much that it gets confused.

Anti-Pattern Guards

Before finalizing the prompt, verify it does NOT contain:

  • Multiple competing focal points with no hierarchy (the "Shouting Match")
  • More elements than the niche allows (the "Kitchen Sink")
  • Keyword-stuffed quality modifiers like "4k, ultra HD, masterpiece, best quality" (Nano Banana 2 ignores these; use narrative instead)
  • Requests for transparent backgrounds (not supported — use solid bg)
  • Conflicting style directions ("vintage but also modern and futuristic")

Step 4: Output JSON

Always output in this exact structure:

{
  "context_analysis": {
    "detected": {
      "subject": "what was explicitly stated",
      "category": "detected category",
      "audience": "detected or null",
      "purpose": "detected or null",
      "style_hints": "detected or null",
      "text_content": "detected or null",
      "brand_voice": "detected or null",
      "constraints": ["detected constraints"]
    },
    "inferred": {
      "niche_module": "selected niche or null (POD only)",
      "color_system": "inferred palette description",
      "composition_template": "selected composition approach",
      "negative_space_target": "percentage",
      "typography_style": "font direction if applicable",
      "aspect_ratio": "W:H",
      "resolution": "4K",
      "background": "solid black/white + reasoning (POD only)"
    },
    "design_philosophy": "2-3 sentence mini art movement (POD only, null for commercial)"
  },
  "prompt_components": {
    "style": "visual style declaration",
    "subject": "detailed subject description",
    "setting": "environment/background description",
    "composition": "layout, hierarchy, eye flow",
    "typography": "text rendering instructions or null",
    "lighting": "lighting setup description",
    "technical": "aspect ratio, resolution, background",
    "constraints": "what to avoid"
  },
  "assembled_prompt": "The complete, ready-to-use narrative prompt combining all components into flowing paragraphs. This is what gets pasted directly into Nano Banana 2.",
  "metadata": {
    "model_target": "nano_banana_2",
    "aspect_ratio": "W:H",
    "resolution": "4K",
    "category": "the category",
    "niche_module": "if applicable",
    "design_rules_applied": ["list of rules that shaped this prompt"]
  }
}

Reference Files

These contain detailed domain knowledge. Read them as needed based on the category:

references/niche-modules.md

Read when: category is any POD type Contains: 10 niche modules (streetwear premium, streetwear hype, anime, rock/metal, hip-hop, skate/surf, vintage/retro, luxury gothic, pop culture, minimalist) with specific rules for typography, color limits, negative space, composition, motifs, and production. Also contains the niche selection decision tree.

references/prompt-patterns.md

Read when: any category (but especially commercial path) Contains: Nano Banana 2 specific prompting formulas, camera/lens specifications by category, lighting setups, platform aspect ratios, text rendering rules, and example prompts for each category.

references/design-principles.md

Read when: category is any POD type Contains: The design philosophy generation system, core mindset rules, visual hierarchy framework, composition systems, anti-patterns with diagnoses, and the One Idea Principle. Distilled from validated streetwear brand analysis.

Important Reminders

  • Nano Banana 2 is a THINKING model. Write prompts that explain intent, not just list attributes.
  • For POD: always use solid background (black or white) for easy AI removal. Never say "transparent background."
  • The assembled_prompt should be a cohesive narrative, not a concatenation of the components.
  • Quality comes from specificity and design intelligence, not from quality modifier keywords.
  • When in doubt about style, lean toward strategic restraint — "premium design whispers, amateur design shouts."

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.3%
按下载量换算66

Claude

30.1%
按下载量换算60

Cursor

17.41%
按下载量换算34

Gemini CLI

9.99%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills