sundny8/visual-reverse-engineer / skills/image-reverse-analyst
image-reverse-analyst
Verified图片反推专家(只做图片,不做视频)。上传一张图片后固定输出三段式结果:风格分析 → 可直接使用的中文图片生成提示词 → 严格 schema 的全英文 JSON。覆盖主体、构图、摄影、光影、色彩、材质、风格、情绪、文字、象征十大维度,并区分 OBSERVED / INFERRED / UNCERTAIN 三级可信度。当用户要求「反推这张图」「这张图是什么风格」「分析图片风格」「提取图片 JSON」「图片转提示词」「生成图片结构化描述」时使用。Analyzes a single image and returns style analysis, a Chinese image prompt, and a strict English JSON. Image only, no video.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 7.0 KB |
| SKILL.md | skill md | 5.7 KB |
| references/analysis-dimensions.md | markdown | 7.7 KB |
| references/examples.md | markdown | 7.3 KB |
| references/full-prompt.md | markdown | 8.6 KB |
| references/json-schema.md | markdown | 4.7 KB |
| references/output-format.md | markdown | 3.6 KB |
| references/reverse-prompt.md | markdown | 3.7 KB |
| references/style-mood-symbolism.md | markdown | 5.0 KB |
| references/uncertainty-and-safety.md | markdown | 4.3 KB |
references/json-schema.md
View on GitHub# JSON Schema 与质量要求
第三段输出的 JSON 必须严格合规。**JSON 是全英文的。**
---
## 固定 Schema
```json
{
"scene": "string",
"subjects": [
{
"type": "string",
"description": "string",
"position": "string"
}
],
"style": "string",
"color_palette": [
"string"
],
"lighting": "string",
"mood": "string",
"composition": "string",
"camera": {
"angle": "string",
"distance": "string",
"lens": "string"
},
"typography": {
"text": "string",
"font_style": "string",
"position": "string"
},
"symbolism": {
"concept": "string",
"representation": "string"
},
"rendering_details": {
"textures": "string",
"effects": "string"
}
}
```
**不得增删字段,不得改字段名。** 用户可能拿这个 JSON 直接喂进下游管线。
---
## 字段说明
| 字段 | 内容 | 示例 |
| --- | --- | --- |
| `scene` | 场景整体描述,一句话 | `"a rain-soaked narrow alley at night between six-storey walk-up apartment blocks"` |
| `subjects[]` | 主体数组,每个主体一个对象 | 见下 |
| `subjects[].type` | 主体类型 | `"human"` / `"animal"` / `"object"` / `"architecture"` / `"environment"` |
| `subjects[].description` | 外观描述 | `"a woman in her late twenties wearing a soaked dark forest-green trench coat"` |
| `subjects[].position` | 在画面中的位置 | `"left third, occupying about 55 percent of the frame height"` |
| `style` | 风格名称 | `"cinematic film still, gritty neo-noir"` |
| `color_palette` | 3–7 个具体色名 | `["deep forest green", "cold blue-grey", "warm amber", "wet charcoal"]` |
| `lighting` | 光影描述,含光位方向 | `"single warm amber practical light from frame right, hard directional key with cold ambient fill"` |
| `mood` | 情绪氛围 | `"tense and melancholic"` |
| `composition` | 构图描述 | `"rule of thirds with the subject on the left third and negative space toward the gaze direction"` |
| `camera.angle` | 机位角度 | `"eye level"` / `"low angle"` / `"slight high angle"` |
| `camera.distance` | 拍摄距离 | `"approximately 1.5 meters"` / `"medium shot distance"` |
| `camera.lens` | 焦段(含约数) | `"approximately 85mm, shallow depth of field"` |
| `typography.*` | 文字信息 | 无文字时全部填 `"None"` |
| `symbolism.*` | 象征意义 | 无明显象征时用固定句式 |
| `rendering_details.textures` | 材质细节 | `"natural skin pores, wet fabric weave, brushed metal on the watch"` |
| `rendering_details.effects` | 后期效果 | `"subtle film grain, halation on highlights, rain streaks"` |
---
## 质量要求(逐条强制)
| # | 要求 |
| --- | --- |
| 1 | **valid JSON** —— 必须能通过 `JSON.parse` |
| 2 | **double quotes only** —— 只用双引号,不用单引号 |
| 3 | **no comments** —— 不能有 `//` 或 `/* */` |
| 4 | **no trailing commas** —— 最后一个元素后不能有逗号 |
| 5 | **all values in English** —— 所有值都是英文 |
| 6 | **no Markdown inside JSON** —— 不能有 `**bold**`、`- list` 等 |
| 7 | **no Chinese characters** —— 一个中文字符都不能有 |
| 8 | **no invented text** —— 不编造图片中不存在的文字 |
| 9 | **no unsupported claims** —— 不写没有依据的断言 |
---
## 缺项处理
**如果图片没有某项内容,使用 `"None"`,而不是编造。**
```json
"typography": {
"text": "None",
"font_style": "None",
"position": "None"
}
```
```json
"symbolism": {
"concept": "No obvious symbolic concept",
"representation": "The image primarily communicates through visual aesthetics and composition."
}
```
---
## 常见错误
| 错误 | 问题 | 修正 |
| --- | --- | --- |
| 用单引号 | 不是合法 JSON | 全改双引号 |
| 最后一项后有逗号 | 解析失败 | 删掉尾逗号 |
| 值里混中文 | 违反全英文要求 | 译成英文 |
| 值里带 Markdown | 下游管线会读到符号 | 去掉 `**` 和 `-` |
| 编造文字内容 | 用户会以为图上真有这些字 | 填 `"None"` |
| `color_palette` 只给 1–2 个 | 色彩信息不足 | 给 3–7 个 |
| 色名用泛称 | 复现不出具体颜色 | `deep crimson` 而非 `red` |
| `camera.lens` 写成确定值 | 虚构参数 | 加 `approximately` |
| 加了自己想的字段 | 破坏 schema | 严格按 schema,不增不减 |
---
## 输出前自检
把 JSON 复制出来跑一次解析,确认能过:
```bash
node -e "JSON.parse(require('fs').readFileSync('prompt.json','utf8')); console.log('valid')"
```
或者在心里逐字符检查这几点:双引号、无尾逗号、无注释、无中文、无 Markdown。
**这一段是硬性交付物,格式错了整个输出就没用了。**
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |