·hyva-render-media-image
</>

hyva-render-media-image

hyva-themes/hyva-ai-tools

使用媒体视图模型为 Hyvä 主题模板生成响应式图像代码。当用户想要在 Hyvä 模板中渲染图像、创建响应式图片元素、添加英雄图像、产品图像或任何需要响应式断点的图像时,应该使用此技能。触发短语包括“渲染图像”、“将图像添加到模板”、“响应式图像”、“图片元素”、“英雄图像”、“响应式横幅”、“移动和桌面图像”或“横幅图像”。

12安装·4热度·@hyva-themes

安装

$npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-render-media-image

SKILL.md

Generate responsive elements for Hyvä Theme templates using the \Hyva\Theme\ViewModel\Media view model.

The user may provide image data in one of these ways:

Option B: PHP variable - The user provides a variable name (e.g., $imageData, $heroImage). Inform the user of the required array structure documented in references/rendering-images.md under ## Image Configuration Format.

使用媒体视图模型为 Hyvä 主题模板生成响应式图像代码。当用户想要在 Hyvä 模板中渲染图像、创建响应式图片元素、添加英雄图像、产品图像或任何需要响应式断点的图像时,应该使用此技能。触发短语包括“渲染图像”、“将图像添加到模板”、“响应式图像”、“图片元素”、“英雄图像”、“响应式横幅”、“移动和桌面图像”或“横幅图像”。 来源:hyva-themes/hyva-ai-tools。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-render-media-image
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 hyva-render-media-image?

使用媒体视图模型为 Hyvä 主题模板生成响应式图像代码。当用户想要在 Hyvä 模板中渲染图像、创建响应式图片元素、添加英雄图像、产品图像或任何需要响应式断点的图像时,应该使用此技能。触发短语包括“渲染图像”、“将图像添加到模板”、“响应式图像”、“图片元素”、“英雄图像”、“响应式横幅”、“移动和桌面图像”或“横幅图像”。 来源:hyva-themes/hyva-ai-tools。

如何安装 hyva-render-media-image?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/hyva-themes/hyva-ai-tools --skill hyva-render-media-image 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/hyva-themes/hyva-ai-tools