图像设计
- 作者仓库星标 5
- 许可证 MIT
- 作者更新于 实时读取
- 作者仓库 00bx-photoshop-mcp
- 领域
- 设计与多媒体
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 94 / 100 · 已通过审计
- 作者 / 版本 / 许可
- @00bx · MIT
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: ps-advanced
description: Photoshop advanced techniques and reference: wind direction master table (drips down, flames up…
category: 设计与多媒体
runtime: 无特殊运行时
---
# ps-advanced 输出预览
## PART A: 任务判断
- 适用问题:视觉内容、演示材料、信息图或设计交付。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“8.1 WIND DIRECTION MASTER TABLE / 8.2 FILTER PARAMETER RANGES / 9.1 COLOR RULES”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于视觉内容、演示材料、信息图或设计交付,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“8.1 WIND DIRECTION MASTER TABLE / 8.2 FILTER PARAMETER RANGES / 9.1 COLOR RULES”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、执行终端命令、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件、执行终端命令。
先用一个小任务确认它会围绕“8.1 WIND DIRECTION MASTER TABLE / 8.2 FILTER PARAMETER RANGES / 9.1 COLOR RULES”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: ps-advanced
description: Photoshop advanced techniques and reference: wind direction master table (drips down, flames up…
category: 设计与多媒体
source: 00bx/00bx-photoshop-mcp
---
# ps-advanced
## 什么时候使用
- ps-advanced 是设计与多媒体方向的技能,让 Agent 直接产出图、卡、视觉素材 适合处理界面、视觉、封面、信息图或演示材料交付,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可…
- 面向视觉内容、演示材料、信息图或设计交付,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「8.1 WIND DIRECTION MASTER TABLE / 8.2 FILTER PARAMETER RANGES / 9.1 COLOR RULES」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "ps-advanced" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> 8.1 WIND DIRECTION MASTER TABLE / 8.2 FILTER PARAMETER RANGES / 9.1 COLOR RULES
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件、执行终端命令 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} §8 TOOL REFERENCE & WIND TABLE
8.1 WIND DIRECTION MASTER TABLE
Wind only blows horizontally. Use canvas rotation for vertical effects.
Now uses dedicated tool: apply_wind
| Desired Effect | Canvas Rotation | Wind Call | Rotate Back | Result |
|---|---|---|---|---|
| Drips DOWN | -90 (CCW) | apply_wind(method="wind", direction="left") x5-7 |
+90 (CW) | Streaks downward |
| Flames UP | +90 (CW) | apply_wind(method="wind", direction="left") x3-5 |
-90 (CCW) | Streaks upward |
| Streaks RIGHT | None | apply_wind(method="wind", direction="left") x3-5 |
None | Horizontal right |
| Streaks LEFT | None | apply_wind(method="wind", direction="right") x3-5 |
None | Horizontal left |
"left" = FROM the left = pushes pixels RIGHT. "right" = FROM the right = pushes pixels LEFT.
Wind method comparison:
- "wind" = controlled thin streaks — USE THIS for drip/fire effects
- "blast" = thick aggressive splatter — TOO MUCH for most effects
- "stagger" = randomized jagged streaks — good for lightning/electricity
8.2 FILTER PARAMETER RANGES
| Filter | Parameter | Range | Default |
|---|---|---|---|
| Gaussian Blur | radius | 0.1-10000px | 2.5 |
| Motion Blur | distance | 1-2000px | 30 |
| Radial Blur | amount | 1-100 | 10 |
| Surface Blur | radius/threshold | 1-100 / 2-255 | 5/15 |
| Lens Blur | radius | 0-100 | 15 |
| Noise | amount | 0.1-400% | 5 |
| Wave | generators/wavelength/amplitude | 1-999 / 1-999 / 1-999 | 5/10-120/5-35 |
| Unsharp Mask | amount/radius/threshold | 1-500% / 0.1-1000px / 0-255 | 100/1.0/0 |
| High Pass | radius | 0.1-1000px | 10 |
| Wind | method | wind/blast/stagger | wind |
| Liquify | brush_size | 1-15000px | 64 |
§9 DESIGN PRINCIPLES
9.1 COLOR RULES
60-30-10 Rule: 60% dominant, 30% secondary, 10% accent
9.2 TYPOGRAPHY RULES
- Max 2 fonts per design (3 absolute max)
- Title: 2-3x body size minimum
- ALL CAPS: add tracking +50 to +200
- Never use Thin/Light below 24pt
9.3 COMPOSITION
- Rule of Thirds: focal point at grid intersections
- Z-Pattern: Logo top-left → headline top → image bottom-left → CTA bottom-right
9.4 CONTRAST & READABILITY
- Body text: minimum 4.5:1 contrast ratio
- Text on images: 50-70% black overlay, or blur background
- Dark bg: off-white (224,225,221) not pure white
9.5 DIMENSIONS
| Platform | Size |
|---|---|
| Instagram Post | 1080x1080 |
| Instagram Story/Reel | 1080x1920 |
| Twitter/X | 1600x900 |
| YouTube Thumb | 1280x720 |
| 1200x627 | |
| A4 Print (300dpi) | 2480x3508 |
§10 WORKFLOW TEMPLATES
10.1 POSTER CREATION
1. Create canvas (correct dimensions + DPI)
2. Place background image
3. Color grade: curves + color_balance + vibrance
4. Cut out subject: select_subject → mask OR remove_background
5. Add main text → apply text effects (§5)
6. Add secondary text (subtitle, credits)
7. Final color harmony: unified color overlay SOFT_LIGHT 10-20%
8. Verify with get_document_image
9. Export: save_document_as
10.2 PHOTO EDIT
1. Open → duplicate background
2. auto_tone / auto_color OR manual curves+levels
3. Skin retouch: apply_spot_healing_brush or frequency separation (§6.12)
4. Color grade (§7)
5. Local adjustments: apply_dodge_tool / apply_burn_tool
6. Sharpen: apply_high_pass OVERLAY (§11.1)
7. Vignette (§6.8)
8. Optional apply_noise 2-3% OVERLAY
9. Export
10.3 COMPOSITE
1. Background plate
2. Subject (select_subject or remove_background)
3. Match lighting: harmonize_layer OR manual curves
4. Cast shadow: duplicate → flip vertical → blur → MULTIPLY 30-40%
5. Color unification: photo_filter or solid fill SOFT_LIGHT 10-15%
6. Final adjustments
§11 ADVANCED TECHNIQUES
11.1 HIGH-PASS SHARPENING
stamp_visible → apply_high_pass(radius=2-5) → set_layer_properties(blend_mode="OVERLAY") → opacity 50-80%
11.2 DODGE & BURN (non-destructive)
create_pixel_layer(fill_neutral=true, blend_mode="OVERLAY") → paint WHITE to dodge, BLACK to burn, opacity 10-15% per stroke
11.3 ORTON EFFECT (dreamy glow)
stamp_visible → apply_gaussian_blur(radius=20-40) → SCREEN 40-60%
11.4 BLEND-IF COMPOSITING
set_layer_blend_if for seamless tone-based blending:
- Remove dark bg: this_layer_black=20, black_feather=50
- Show in bright areas: underlying_white=180, white_feather=220
11.5 LUMINOSITY MASKING
Load RGB as selection via batchplay → save as Highlights channel → invert for Shadows
11.6 STAMP VISIBLE
stamp_visible = flattened copy of all visible layers as new layer on top. Use BEFORE destructive effects.
§12 CRITICAL TOOL GOTCHAS — 17 VERIFIED
These are verified bugs/behaviors that WILL cause failures if ignored:
select_layerCAN DELETE LAYERS — Useset_layer_propertiesorexecute_batchplayto target layers insteadset_layer_propertiesRESETS clipping mask — Always passis_clipping_mask=false(or true if clipped) to preserve stateplace_imagealways throws error — But the layer IS created. Ignore the error and continue.VIVID_LIGHTblend mode is rejected — MCP tool doesn't support it. Use batchplay.scale_layerfails silently on Smart Objects — Usefree_transforminsteadgenerate_image/generative_fillreturn success but produce nothing — Adobe Firefly AI tools unreliable in MCP- Canvas rotation affects ALL layers — Every layer rotates. Plan accordingly.
apply_windonly blows HORIZONTALLY — Use canvas rotation for vertical effects (see §8.1)- Filters require rasterized layers — Text, shape, Smart Object layers will fail. Always rasterize first.
translate_layerY axis — Positive Y moves DOWN (standard screen coords)- SCREEN blend requires BLACK background — White on transparent + SCREEN = invisible.
- Wind "blast" method is TOO aggressive — Use "wind" method for controlled streaks.
- Global Light is shared — Bevel and Drop Shadow share angle by default.
- File tokens required for file paths — batchPlay won't trust raw file paths in some contexts.
- All modifying batchPlay in UXP needs executeAsModal — Direct execution without modal wrapper will fail silently.
- Blur Gallery may force dialog — Field/Iris/Tilt-Shift/Spin/Path blur may open dialog despite suppression.
- Camera Raw Filter NOT scriptable headless — Always requires dialog. Use Curves + Levels + Color Balance instead.
§13 FAILED ATTEMPTS LOG — DO NOT REPEAT
| # | What Went Wrong | Correct Approach |
|---|---|---|
| 1 | Wave distorted entire text horizontally | Use Wind (directional) not Wave |
| 2 | Stretch 400% + blur + wave = sideways | Wind + canvas rotation |
| 3 | Motion blur 90 = streams UP and DOWN | Wind is one-directional (not symmetric) |
| 4 | Rotate +90 CW + Wind right = UP | -90 CCW + Wind left = DOWN |
| 5 | White on TRANSPARENT + SCREEN | White on BLACK + SCREEN |
| 6 | Wind "blast" x10 = off-canvas | "wind" method x 5-7 |
§14 OUTER GLOW PARAMETER REFERENCE
| Parameter | Range | Default | Notes |
|---|---|---|---|
| BlendMode | any | SCREEN | SCREEN for glow, MULTIPLY for dark halo |
| Opacity | 0-100% | 75 | |
| Noise | 0-100% | 0 | Adds texture to glow |
| Color | RGB | yellow | Single color |
| Spread | 0-100% | 0 | Higher = more solid center |
| Size | 0-250px | 5 | Blur radius of glow |
§15 QUALITY CHECKLIST
Before finalizing ANY design:
- Text is readable at target viewing distance
- Color palette has max 3-5 colors (60-30-10 rule)
- Visual hierarchy is clear (title → image → details)
- White space is sufficient
- All effects look intentional (not overdone)
- No artifacts from filter operations
- Layer order is logical (bg → subject → text → effects → adjustments)
- Canvas dimensions match target platform
- Verified with
get_document_imageorget_layer_image
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核