Prompt as Code | GPT Image 2 / 2.5 提示词与案例库,530+ 个案例、20+ 套工业级模板与可复用 Skills,新增 2.5 同提示词对比专区,附完整提示词与生成记录,持续更新。
JavaScript agentsai-image-generationchatgptdsh-plugingpt-image-2image-promptsprompt-as-codeprompt-engineeringskillsworkflow-automation
Move agent skill section after category overview
freestylefly4c798efc761b
diff --git a/README.md b/README.mdindex 8f8132b..1c0ffe1 100644--- a/README.md+++ b/README.md@@ -38,75 +38,6 @@ The core goal is simple: compress prose-style prompts into structured protocols.- [MIT License](LICENSE)- [Full disclaimer](docs/disclaimer.md#section-disclaimer)-## 🤖 Agent Skill--This repository includes an agent skill for choosing GPT-Image2 styles, templates, categories, and scene tags from the same data used by the website.--Package links: [npm](https://www.npmjs.com/package/gpt-image-2-style-library) / [GitHub Packages](https://github.com/freestylefly/awesome-gpt-image-2/pkgs/npm/gpt-image-2-style-library)--### Quick Install for Agent Skills--Recommended for Claude Code, Codex, Cursor, and other tools supported by [`skills`](https://www.npmjs.com/package/skills):--```bash-npx skills add freestylefly/awesome-gpt-image-2 --skill gpt-image-2-style-library --agent claude-code codex --global --yes --copy-```--Install to every supported local agent:--```bash-npx skills add freestylefly/awesome-gpt-image-2 --global --all --copy-```--### Claude Code Plugin Marketplace--Run these commands inside Claude Code:--```text-/plugin marketplace add freestylefly/awesome-gpt-image-2-/plugin install gpt-image-2-style-library@awesome-gpt-image-2-```--### npm CLI--If you prefer npm, install the CLI and then sync the skill into local agent folders:--```bash-npm install -g gpt-image-2-style-library-gpt-image-2-style-library install all-```--You can also run it without a global install:--```bash-npx gpt-image-2-style-library install all-```--Install from GitHub Packages:--```bash-npm login --scope=@freestylefly --registry=https://npm.pkg.github.com-npm install -g @freestylefly/gpt-image-2-style-library --registry=https://npm.pkg.github.com-gpt-image-2-style-library install all-```--`install all` writes the skill to the common local folders used by Codex and Claude Code, including `~/.codex/skills`, `~/.claude/skills`, and `~/.agents/skills`. Restart the agent session after installing.--Use it with a request like:--```text-Use gpt-image-2-style-library to create an infographic prompt about Codex.-```--For local source development:--```bash-npm run generate:style-skill-npm run install:skill-```--The skill source lives at [`agents/skills/gpt-image-2-style-library`](agents/skills/gpt-image-2-style-library/SKILL.md). Its generated reference comes from [`data/style-library.json`](data/style-library.json), so the website and Agent workflow share one style library.-## 🗂️ Category OverviewStart with the case album to find a visual direction, then open the prompt template categories to turn that direction into reusable structure.@@ -265,6 +196,75 @@ The prompt body remains in the original template document for now. This homepage</details>+## 🤖 Agent Skill++This repository includes an agent skill for choosing GPT-Image2 styles, templates, categories, and scene tags from the same data used by the website.++Package links: [npm](https://www.npmjs.com/package/gpt-image-2-style-library) / [GitHub Packages](https://github.com/freestylefly/awesome-gpt-image-2/pkgs/npm/gpt-image-2-style-library)++### Quick Install for Agent Skills++Recommended for Claude Code, Codex, Cursor, and other tools supported by [`skills`](https://www.npmjs.com/package/skills):++```bash+npx skills add freestylefly/awesome-gpt-image-2 --skill gpt-image-2-style-library --agent claude-code codex --global --yes --copy+```++Install to every supported local agent:++```bash+npx skills add freestylefly/awesome-gpt-image-2 --global --all --copy+```++### Claude Code Plugin Marketplace++Run these commands inside Claude Code:++```text+/plugin marketplace add freestylefly/awesome-gpt-image-2+/plugin install gpt-image-2-style-library@awesome-gpt-image-2+```++### npm CLI++If you prefer npm, install the CLI and then sync the skill into local agent folders:++```bash+npm install -g gpt-image-2-style-library+gpt-image-2-style-library install all+```++You can also run it without a global install:++```bash+npx gpt-image-2-style-library install all+```++Install from GitHub Packages:++```bash+npm login --scope=@freestylefly --registry=https://npm.pkg.github.com+npm install -g @freestylefly/gpt-image-2-style-library --registry=https://npm.pkg.github.com+gpt-image-2-style-library install all+```++`install all` writes the skill to the common local folders used by Codex and Claude Code, including `~/.codex/skills`, `~/.claude/skills`, and `~/.agents/skills`. Restart the agent session after installing.++Use it with a request like:++```text+Use gpt-image-2-style-library to create an infographic prompt about Codex.+```++For local source development:++```bash+npm run generate:style-skill+npm run install:skill+```++The skill source lives at [`agents/skills/gpt-image-2-style-library`](agents/skills/gpt-image-2-style-library/SKILL.md). Its generated reference comes from [`data/style-library.json`](data/style-library.json), so the website and Agent workflow share one style library.+<a name="section-gallery"></a>## 🖼️ Featured Casesdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex ce55aaa..28b0db3 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -38,75 +38,6 @@ GPT-Image2 全量开放后,AI 画图从“能不能出图”变成了“能不- [MIT License](LICENSE)- [完整声明页](docs/disclaimer.md#section-disclaimer)-## 🤖 Agent Skill--仓库内提供了 agent skill,用同一份风格库数据为 Claude Code、Codex 等 Agent 选择 GPT-Image2 模板、分类、风格和场景标签。--包地址:[npm](https://www.npmjs.com/package/gpt-image-2-style-library) / [GitHub Packages](https://github.com/freestylefly/awesome-gpt-image-2/pkgs/npm/gpt-image-2-style-library)--### Agent 一键安装--推荐给 Claude Code、Codex、Cursor,以及其他 [`skills`](https://www.npmjs.com/package/skills) 支持的本地 Agent:--```bash-npx skills add freestylefly/awesome-gpt-image-2 --skill gpt-image-2-style-library --agent claude-code codex --global --yes --copy-```--安装到所有支持的本地 Agent:--```bash-npx skills add freestylefly/awesome-gpt-image-2 --global --all --copy-```--### Claude Code 插件市场--在 Claude Code 中运行:--```text-/plugin marketplace add freestylefly/awesome-gpt-image-2-/plugin install gpt-image-2-style-library@awesome-gpt-image-2-```--### npm CLI--如果你习惯 npm,可以先安装 CLI,再同步到本地 Agent 技能目录:--```bash-npm install -g gpt-image-2-style-library-gpt-image-2-style-library install all-```--也可以不全局安装,直接运行:--```bash-npx gpt-image-2-style-library install all-```--从 GitHub Packages 安装:--```bash-npm login --scope=@freestylefly --registry=https://npm.pkg.github.com-npm install -g @freestylefly/gpt-image-2-style-library --registry=https://npm.pkg.github.com-gpt-image-2-style-library install all-```--`install all` 会写入 Codex 和 Claude Code 常用的本地技能目录,包括 `~/.codex/skills`、`~/.claude/skills`、`~/.agents/skills`。安装后重启 Agent 会话。--这样调用:--```text-使用 gpt-image-2-style-library 技能,帮我生成介绍 Codex 的信息图-```--本地源码开发时使用:--```bash-npm run generate:style-skill-npm run install:skill-```--skill 源码位于 [`agents/skills/gpt-image-2-style-library`](agents/skills/gpt-image-2-style-library/SKILL.md)。生成索引来自 [`data/style-library.json`](data/style-library.json),网站和 Agent 工作流共用这一份风格库。-## 🗂️ 分类概览先看案例画册,快速找到你想参考的视觉类型;再看提示词模板,把对应类型拆成可复用结构。@@ -263,6 +194,75 @@ skill 源码位于 [`agents/skills/gpt-image-2-style-library`](agents/skills/gpt</details>+## 🤖 Agent Skill++仓库内提供了 agent skill,用同一份风格库数据为 Claude Code、Codex 等 Agent 选择 GPT-Image2 模板、分类、风格和场景标签。++包地址:[npm](https://www.npmjs.com/package/gpt-image-2-style-library) / [GitHub Packages](https://github.com/freestylefly/awesome-gpt-image-2/pkgs/npm/gpt-image-2-style-library)++### Agent 一键安装++推荐给 Claude Code、Codex、Cursor,以及其他 [`skills`](https://www.npmjs.com/package/skills) 支持的本地 Agent:++```bash+npx skills add freestylefly/awesome-gpt-image-2 --skill gpt-image-2-style-library --agent claude-code codex --global --yes --copy+```++安装到所有支持的本地 Agent:++```bash+npx skills add freestylefly/awesome-gpt-image-2 --global --all --copy+```++### Claude Code 插件市场++在 Claude Code 中运行:++```text+/plugin marketplace add freestylefly/awesome-gpt-image-2+/plugin install gpt-image-2-style-library@awesome-gpt-image-2+```++### npm CLI++如果你习惯 npm,可以先安装 CLI,再同步到本地 Agent 技能目录:++```bash+npm install -g gpt-image-2-style-library+gpt-image-2-style-library install all+```++也可以不全局安装,直接运行:++```bash+npx gpt-image-2-style-library install all+```++从 GitHub Packages 安装:++```bash+npm login --scope=@freestylefly --registry=https://npm.pkg.github.com+npm install -g @freestylefly/gpt-image-2-style-library --registry=https://npm.pkg.github.com+gpt-image-2-style-library install all+```++`install all` 会写入 Codex 和 Claude Code 常用的本地技能目录,包括 `~/.codex/skills`、`~/.claude/skills`、`~/.agents/skills`。安装后重启 Agent 会话。++这样调用:++```text+使用 gpt-image-2-style-library 技能,帮我生成介绍 Codex 的信息图+```++本地源码开发时使用:++```bash+npm run generate:style-skill+npm run install:skill+```++skill 源码位于 [`agents/skills/gpt-image-2-style-library`](agents/skills/gpt-image-2-style-library/SKILL.md)。生成索引来自 [`data/style-library.json`](data/style-library.json),网站和 Agent 工作流共用这一份风格库。+<a name="section-gallery"></a>## 🖼️ 首页精选