portrait-light SKILL.md skillA
portrait-light from l-trunks/ai-portrait-light is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add l-trunks/ai-portrait-light/portrait-light@git:20261029.4def521Pins git:20261029.4def521 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- l-trunks/ai-portrait-light
- Path
skills/portrait-light/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261029.4def521, committed Oct 29, 2026
- First version recorded
- Aug 24, 2026
- Size
- 105,486 bytes
- Repository stars
- 12
- License
- a license file GitHub does not identify
Use when writing or diagnosing portrait lighting and image texture prompts from references, including soft backlight, direct flash, oily faces, distracting backgrounds, skirt coverage in seated poses, or migration to local models such as Z-Image.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 人像光线配方
> **这是一套判断流程,不是词表。** 每一步只做一个决定,每个决定都有判据;
> 判不出来就停在那一步,别往下走,也别改措辞去撞。
>
> 证据来自 z-image(本地 ComfyUI)上 ~280 张**同种子单变量**对照
> (其中 76 张是 2026-08-30 补的成像系统那一轴),加六轮成品迭代
> (约 300 张候选,人工挑片,六轮里有四轮是整组推倒)。
> ⭐ **2026-09-22 追加第五轮实践**(情绪 / 眼神 / 光影 / 冷暖 / 多人这条线,四批约 90 张候选):
> 新增 §4.1 那三条(动作 / 姿态 / 字数)、第 7 步的冷暖那一节、§2 ④ 的穿搭落地版、
> §6.3 的皮肤正向化,以及诊断表七行、附录 D ⑦条。
> 逐轮数据在 `docs/对照实验.md`,**30 张成品和它们各自的完整提示词在 `docs/配方全文.md`**
> (配图在 `assets/`,编号一一对应)。
> ⭐ **要直接抄就抄 12~30 那 19 条**,它们是按本文件重出并人工挑过的。
> ⚠️ 01~11 写在 2026-08-29 归因之前,其中七条仍带着「和她的脸一样高」和
> 「眼睛里有一颗清楚的反光点」两个已知 bug(第 3 步② / §8①)——
> 文档里没改它们的正文(那些字就是配图的来源),但逐条标了复用时要改成什么。
> 提示词是**纯中文整段**,粘到豆包 / 即梦 / 通义同样成立,不用拆词、不用配负向。
---
## 0. 先看这个:这是两道独立的关
```
要写一条 图已经出来了
│ │
▼ ▼
§1 七步装配 ─────────┐ §5 诊断表(从症状进)
(第一关:光对不对) │ │
│ │ └──► 回到对应的那一步
▼ │
§2 六条画面级判据 ◄───┘
(第二关:好不好看)
│
▼
§3 验收清单(只用肉眼)
```
⛔⛔ **过了第一关不会自动过第二关。**
实证:一组十张里,有三张的边光、贴身光源、补色对**全部成立**(第一关全过),
交出去一张没留下 —— 差的全在第二关。
六轮迭代里,**有三轮是"光完全正确但整组被毙"**。第二关不是锦上添花,是另一半工作量。
## 0.1 新模型与参考目标优先(2026-10-18)
…Read the whole file at its exact version.
How to install
mdr add l-trunks/ai-portrait-light/portrait-light@sha256:27ef134476793ee8The line at the top of this page pins the label git:20261029.4def521, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_x5gsrwqh4pulb2t5)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Aug 24, 2026 and Oct 29, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261029.4def521 latest | 2026-10-29 | 4def521 | 105,486 B | A | view · diff |
| git:20261018.280db10 | 2026-10-18 | 280db10 | 104,689 B | A | view · diff |
| git:20260923.2e7eae2 | 2026-09-23 | 2e7eae2 | 100,946 B | A | view · diff |
| git:20260830.7616ab5 | 2026-08-30 | 7616ab5 | 78,353 B | A | view · diff |
| git:20260824.e46f5e0 | 2026-08-24 | e46f5e0 | 35,267 B | A | view · diff |
| git:20260824.fd925f1 | 2026-08-24 | fd925f1 | 34,211 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (105486 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
l-trunks/ai-portrait-light · 12 stars · license a license file GitHub does not identify · pushed 2026-10-29 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_x5gsrwqh4pulb2t5 GET https://markdownregistry.com/api/v1/resolve?ref=l-trunks/ai-portrait-light/portrait-light GET https://markdownregistry.com/api/v1/blob/27ef134476793ee8fdca090814fbc16a560fa9c0df54323845821b906c67a068
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.