微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎨

设计驱动的AI图像提示词引擎

Visual Prompt Engine · v1.0.0
专业技能 安全 B 级 作者 abdullah4ai 公开目录收录
1.1k 下载 0 安装 2.2k 收藏 13 浏览

简介

通过真实设计平台视觉参考生成多样化图像提示词,解决AI图像生成重复性问题,适合需要创意视觉灵感的用户

原始描述

Generate diverse, non-repetitive image prompts powered by real visual references from Dribbble and design platforms. USE WHEN: user wants an image prompt, ne...

通过你的 Agent 添加

安装目录:visual-prompt-engine/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/visual-prompt-engine/
Codex CLI~/.codex/skills/visual-prompt-engine/
DeepSeek Harness~/.agents/skills/visual-prompt-engine/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: visual-prompt-engine description: "Generate diverse, non-repetitive image prompts powered by real visual references from Dribbble and design platforms. USE WHEN: user wants an image prompt, needs creative visual inspiration, asks for design-informed prompts, wants to avoid repetitive AI image generation, or says 'generate a prompt for an image', 'give me a creative image idea', 'make me a unique visual prompt'. DON'T USE WHEN: user wants to generate the image itself (use an image generation tool), wants to edit an existing image, or needs text-only content. EDGE CASES: 'make me an image' → use image generation tool, then optionally this skill for the prompt. 'improve this image prompt' → this skill. 'I keep getting similar AI images' → this skill (solves repetition)."

Visual Prompt Engine

Generate high-quality, diverse image prompts by feeding real visual references into a structured prompt pipeline.

Problem

AI agents reuse the same visual patterns and clichés when writing image prompts. This skill breaks that cycle by grounding prompts in real, trending design work.

Architecture

Dribbble Scraper → Style Cards → Prompt Generator → Quality Reviewer → Final Prompt

Quick Start

1. Collect Visual References

Recommended: Browser-based collection (Dribbble blocks automated requests)

Browse https://dribbble.com/shots/popular with a browser tool (Camofox, Playwright, etc.), collect shot URLs, titles, and image URLs, then save as JSON:

python3 scripts/scrape_dribbble.py --method import --import-file manual_shots.json --output data/references.json

Alternative: RSS/HTML (may be blocked by WAF)

python3 scripts/scrape_dribbble.py --output data/references.json --count 20

The import JSON format: [{"title": "...", "url": "https://dribbble.com/shots/...", "image_url": "..."}]

2. Build Style Cards

Convert raw references into style cards:

python3 scripts/style_card.py build --input data/references.json --output data/style_cards.json

3. Generate Prompts

When the user requests an image prompt:

  1. Read data/style_cards.json for available visual references
  2. Select 1-3 cards relevant to the user's goal
  3. Read references/prompt-patterns.md for diverse prompt structures
  4. Read references/visual-vocabulary.md for precise design terminology
  5. Compose a prompt combining: user goal + style card elements + varied pattern
  6. Check against recent prompts in data/prompt_history.json to prevent repetition
  7. Append the new prompt to history

4. Review and Deliver

Before delivering, verify the prompt:

  • Uses specific visual language (not generic adjectives)
  • References concrete design elements from the style card
  • Follows a pattern different from the last 5 prompts
  • Includes composition, lighting, color palette, and mood

Style Card Schema

See references/style-card-schema.md for the full schema. A style card contains:

Field Description
palette Hex colors extracted from the design
composition Layout structure (grid, asymmetric, centered, etc.)
typography Font style and weight characteristics
mood Emotional tone (bold, minimal, playful, etc.)
textures Surface qualities (glass, grain, matte, etc.)
lighting Light direction and quality
source_url Original Dribbble shot URL
tags Design categories

Prompt Patterns

See references/prompt-patterns.md for 12+ distinct prompt structures that prevent repetition. Rotate through patterns to keep outputs fresh.

Visual Vocabulary

See references/visual-vocabulary.md for precise design terminology covering color, composition, lighting, texture, and typography. Use these terms instead of generic words like "beautiful" or "nice".

Automation (Optional)

Set up a daily cron to refresh visual references:

# Run daily to keep references current
python3 scripts/scrape_dribbble.py --output data/references.json --count 20
python3 scripts/style_card.py build --input data/references.json --output data/style_cards.json

Data Directory

The skill stores working data in data/:

data/
├── references.json      # Raw Dribbble scrape results
├── style_cards.json     # Processed style cards
└── prompt_history.json  # Generated prompts (for deduplication)

Create the data/ directory on first run if it does not exist.

Dependencies

Python 3.9+ with standard library only. Optional: requests, beautifulsoup4 for live scraping (falls back to Dribbble RSS if not installed).

Install optional dependencies:

pip install requests beautifulsoup4

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

image-promptdesign-referencedribbblecreative-generationprompt-engineeringvisual-styleanti-repetitionworkflow-automation

同类 Skill