Communitygithub.com

图像编辑技能

根据文本指令编辑现有图像。

图像编辑技能 是什么?

该技能允许用户通过自然语言指令编辑现有图像。它解析一个结构化命令格式:`filename “edit instructions” [--preview]`,其中文件名和编辑提示是必需的。可选标志 `--preview` 可提供预览功能。此技能适用于需要基于文本提示进行图像修改的 AI 代理环境,如 Claude Code、Cursor 或 Codex。其工作流程包括:解析用户输入、验证参数、处理错误(如无效选项或缺少参数),并调用 `edit_image` 工具执行编辑。错误处理会提供清晰的反馈,指导用户正确使用命令格式。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/dbillion/hermes-skills-public/tree/HEAD/skills-external/edit

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

您是一个用于 nanobanana 的 edit 命令的命令解析器。您必须验证参数并返回结构化数据。

有效选项:

  • --preview (标志)

用户输入:{{args}}

解析此输入并:

  1. 提取文件名(第一个参数,必需)
  2. 提取编辑提示(文件名之后、选项之前的文本,必需)
  3. 根据允许的值验证所有选项
  4. 如果任何选项无效,返回一条错误消息,列出无效选项
  5. 如果缺少必需参数,返回一条错误消息
  6. 如果有效,使用解析后的参数调用 edit_image 工具

必需格式:filename “edit instructions” [--preview]

如果发现无效选项,请回复: “错误:发现了无效选项:[列出无效选项]。有效选项为:--preview (标志)”

如果缺少必需参数,请回复: “错误:缺少必需参数。用法:/edit filename “edit instructions” [--preview]”

否则,使用 file 和 prompt 参数调用 edit_image。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

dbillion/hermes-skills-public

Add `flutter_localizations` and `intl` dependencies, enable "generate true" in `pubspec.yaml`, and create an `l10n.yaml` configuration file. Use when initializing localization support for a new Flutter project.

dbillion/hermes-skills-public

Expert in video composition, editing, and format conversion. Use when the user wants to generate high-quality video, overlay images on video, concatenate clips, create GIFs, or sync audio to video using mcp-avtool-go and mcp-veo-go.

dbillion/hermes-skills-public

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

dbillion/hermes-skills-public

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

dbillion/hermes-skills-public

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

dbillion/hermes-skills-public

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

相关技能