④段整套同步(六节 + P/S/F/J + 模板)+ open-design 移到技能根

一、④段整套同步(用户选候选 A)
- 新增 `references/stage-proto-doc/assets/产品文档模板.html`(16 KB/247 行,从备份拷、转 LF)。
- ④段 SKILL.md 换成备份 15:28 那版,并按模板口径改齐:
  · 「产品文档框架」从「四块+一附录」改成**六节** —— 页面结构/功能清单/使用场景/操作流程/
    跨页与界面状态/待确认与偏离;与模板同构,⛔ 不从空白页重写结构。
  · 编号从 R/S/F 改成 **P 页面/S 场景/F 功能/J 二级功能**,各自唯一、按展示顺序通排。
  · 保留旧版有价值的要求:每项功能补齐 做什么/入口在哪/输入边界/异常与恢复;重点功能三处标红;
    横向流程图每步写清页面/功能/操作/完成判据。
  · 完成标准「七节」→「六节」,自查清单同步换掉「需求」那批条目,补模板与配图两条。
  · 路径 `designs/<项目>/` → `docs/pm/<项目>/ui/`(2 处)。
  · 补回本机那条「每份产出文档开头都要有一张图」的引用(指向主 skill,段内不复述)。
- 主 skill 同步:四段结构表④行、④段沿革、画图小节(④段画页面结构图 + 用户路径)。

二、open-design 移到技能根(用户选候选 A)
- `git mv product-planning/references/stage-delivery/assets/open-design → open-design/`(4178 文件)。
- `.gitignore` 白名单加 `!/open-design/` —— 否则移出去就不再纳入版本控制。
- 引用改 11 处:路径形态 `assets/open-design/...` → `<技能根>/open-design/...`;
  「随段携带的自带件」改称「同根技能」;「路径怎么找」那条改成自带件(段内相对路径)与
  同根技能(`<技能根>/<技能名>/`)两类分开写。
- open-design 自己的 ATTRIBUTION.md 两处同步(它现在与 oil-ui-pro 同层)。
- 副作用(有益):命名闸门读数由 2063 降到 225 —— 此前它把 open-design 里 919 个第三方 md
  当成规则一起扫了;现在只扫本包 23 个 md。已确认④段的 H1 与 4a/4b/4c 子步仍在检查范围内。

三、验收
- check_naming.py --ws E:/ProgramData/AIProject/contentm_agent = 通过 225 / 失败 0 / 提示 27。
- 活文件里 `assets/open-design` 残留 0;工作区 CRLF 文件 0。
This commit is contained in:
admin committed 2026-10-15 21:17:28 +08:00
1 parent fa0a9026c8
commit 5afeb6b78a
4184 files changed
+326 -70

No files matched your search

@@ -0,0 +1,638 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Runway — reference components</title>
<meta
name="description"
content="Reference fixture for design-systems/runwayml. Every visible
value comes from tokens.css. Runway's signature moves: true black
canvas, single typeface (abcNormal), cool-slate neutrals, zero
shadows, sharp 4–8px corners, cinema-wide 1600px container."
/>
<style>
:root {
--bg: #000000;
--surface: #1a1a1a;
--surface-warm: #030303;
--fg: #ffffff;
--fg-2: #e9ecf2;
--muted: #767d88;
--meta: #7d848e;
--border: #27272a;
--border-soft: #1a1a1a;
--accent: #ffffff;
--accent-on: #000000;
--accent-hover: #e9ecf2;
--accent-active: #c9ccd1;
--success: #16a34a;
--warn: #eab308;
--danger: #dc2626;
--font-display: "abcNormal", "abcNormal Fallback", "Inter", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
--font-body: "abcNormal", "abcNormal Fallback", "Inter", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
--text-xs: 11px;
--text-sm: 13px;
--text-base: 16px;
--text-lg: 20px;
--text-xl: 24px;
--text-2xl: 36px;
--text-3xl: 40px;
--text-4xl: 48px;
--leading-body: 1.4;
--leading-tight: 1.0;
--tracking-display: -0.025em;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--space-8: 32px;
--space-12: 48px;
--section-y-desktop: 78px;
--section-y-tablet: 48px;
--section-y-phone: 32px;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 16px;
--radius-pill: 9999px;
--elev-flat: none;
--elev-ring: 0 0 0 1px var(--border);
--elev-raised: none;
--focus-ring: 0 0 0 2px color-mix(in oklab, var(--accent), transparent 60%);
--motion-fast: 150ms;
--motion-base: 220ms;
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
--container-max: 1600px;
--container-gutter-desktop: 48px;
--container-gutter-tablet: 24px;
--container-gutter-phone: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--fg);
font-family: var(--font-body);
font-size: var(--text-base);
line-height: var(--leading-body);
letter-spacing: -0.01em;
-webkit-font-smoothing: antialiased;
}
.container {
max-width: var(--container-max);
margin-inline: auto;
padding-inline: var(--container-gutter-desktop);
}
section { padding-block: var(--section-y-desktop); }
section + section { border-top: 1px solid var(--border); }
@media (max-width: 1023px) {
.container { padding-inline: var(--container-gutter-tablet); }
section { padding-block: var(--section-y-tablet); }
}
@media (max-width: 639px) {
.container { padding-inline: var(--container-gutter-phone); }
section { padding-block: var(--section-y-phone); }
}
/* ─── Typography ─────────────────────────────
* abcNormal handles every role; size + case + tracking carry
* hierarchy, not weight. Display sizes use line-height 1.0 and
* heavy negative tracking ("film-title" compression). */
h1, h2, h3 {
font-family: var(--font-display);
line-height: var(--leading-tight);
margin: 0;
font-weight: 400;
color: var(--fg);
}
h1 {
font-size: var(--text-4xl);
letter-spacing: var(--tracking-display);
}
h2 {
font-size: var(--text-3xl);
letter-spacing: -0.022em;
}
h3 {
font-size: var(--text-xl);
letter-spacing: -0.005em;
}
p { margin: 0; }
.lead {
font-size: var(--text-lg);
line-height: 1.35;
color: var(--muted);
letter-spacing: -0.01em;
font-weight: 400;
}
.body-muted { color: var(--muted); }
.body-sm { font-size: var(--text-sm); letter-spacing: -0.01em; }
/* Eyebrow / navigational labels — uppercase with positive
tracking, weight 450 (the "precision detail" called out in
DESIGN.md §3 principles). */
.label {
font-size: var(--text-xs);
font-weight: 450;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.08em;
font-family: var(--font-body);
}
.caption {
font-size: var(--text-sm);
font-weight: 500;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.07em;
}
code, kbd {
font-family: var(--font-mono);
font-size: 0.875em;
color: var(--fg-2);
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 1px 6px;
}
.stack-2 > * + * { margin-block-start: var(--space-2); }
.stack-3 > * + * { margin-block-start: var(--space-3); }
.stack-4 > * + * { margin-block-start: var(--space-4); }
.stack-6 > * + * { margin-block-start: var(--space-6); }
.stack-8 > * + * { margin-block-start: var(--space-8); }
/* ─── Buttons ─────────────────────────────────
* Restrained per DESIGN.md §4 ("no heavy fills or borders").
* Primary = white-on-black CTA pill-free (sharp 4px corners).
* Secondary = ghost outline. No drop shadows on any state. */
.btn {
display: inline-flex;
align-items: center;
gap: var(--space-2);
padding: 12px 18px;
border-radius: var(--radius-sm);
font-family: var(--font-body);
font-size: var(--text-sm);
font-weight: 600;
line-height: 1;
cursor: pointer;
border: 1px solid transparent;
text-decoration: none;
transition:
background-color var(--motion-fast) var(--ease-standard),
color var(--motion-fast) var(--ease-standard),
border-color var(--motion-fast) var(--ease-standard);
}
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn-primary {
background: var(--accent);
color: var(--accent-on);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); }
.btn-secondary {
background: transparent;
color: var(--fg);
border-color: var(--border);
}
.btn-secondary:hover {
border-color: var(--fg-2);
color: var(--fg);
}
.btn-ghost {
background: transparent;
color: var(--muted);
padding: 12px 6px;
}
.btn-ghost:hover { color: var(--fg); }
/* ─── Tags / chips ───────────────────────────
* Micro labels at 11px uppercase weight 450 (no bg fill — the
* surface itself is the container; DESIGN.md is explicit that
* the design is NOT pill-shaped). */
.tag {
display: inline-flex;
align-items: center;
gap: var(--space-2);
padding: 4px 8px;
border-radius: var(--radius-sm);
background: transparent;
border: 1px solid var(--border);
color: var(--muted);
font-size: var(--text-xs);
font-weight: 450;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.tag-dot {
width: 6px;
height: 6px;
border-radius: var(--radius-pill);
background: currentColor;
}
/* ─── Cards ──────────────────────────────────
* Cards barely exist as containers — DESIGN.md §4: "the image
* IS the card." We keep a hairline ring (--elev-ring) and a
* subtle dark surface; no drop shadow ever. Image-first card
* uses an 8px image radius and a flat text well below. */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-md);
overflow: hidden;
display: flex;
flex-direction: column;
}
.card-media {
aspect-ratio: 16 / 10;
background: var(--surface-warm);
position: relative;
overflow: hidden;
display: flex;
align-items: flex-end;
padding: var(--space-4);
color: var(--fg);
}
.card-media::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
transparent 0%,
transparent 55%,
rgba(0, 0, 0, 0.55) 100%
);
pointer-events: none;
}
.card-media-tag {
position: relative;
z-index: 1;
font-size: var(--text-xs);
font-weight: 450;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--fg);
}
.card-body {
padding: var(--space-5) var(--space-5) var(--space-6);
display: flex;
flex-direction: column;
gap: var(--space-3);
}
.card-body h3 { color: var(--fg); }
/* Synthesized cinematic stills — we have no image asset, so we
paint film-grade frames with layered radial gradients. The
raw hex values here are LOCAL to a single component (visual
content is not part of the brand chrome; DESIGN.md §2:
"Visual richness comes entirely from photographic content").
Token discipline is honored — every UI surface uses var(--*). */
.frame-1 {
background:
radial-gradient(120% 80% at 20% 30%, #2a2a2e 0%, transparent 55%),
radial-gradient(80% 60% at 80% 70%, #4a4d57 0%, transparent 60%),
linear-gradient(180deg, #0d0d0f 0%, #1c1c20 100%);
}
.frame-2 {
background:
radial-gradient(60% 90% at 70% 40%, #3a3138 0%, transparent 60%),
radial-gradient(90% 70% at 20% 80%, #232024 0%, transparent 55%),
linear-gradient(135deg, #050507 0%, #1f1c22 100%);
}
.frame-3 {
background:
radial-gradient(80% 100% at 50% 0%, #2c2e3a 0%, transparent 65%),
radial-gradient(60% 60% at 50% 100%, #14161c 0%, transparent 70%),
linear-gradient(180deg, #0a0a10 0%, #15161c 100%);
}
.frame-hero {
background:
radial-gradient(70% 60% at 50% 35%, #3a3a40 0%, transparent 60%),
radial-gradient(40% 80% at 80% 90%, #1e1e22 0%, transparent 60%),
linear-gradient(180deg, #0a0a0c 0%, #1d1d22 100%);
}
/* ─── Inputs ─────────────────────────────────
* Flat dark fields, 4px sharp radius, hairline border, white
* focus ring (the only chromatic affordance). */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
font-size: var(--text-xs);
font-weight: 450;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.field input {
background: var(--surface);
color: var(--fg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 12px 14px;
font-family: var(--font-body);
font-size: var(--text-base);
letter-spacing: -0.01em;
outline: none;
transition:
border-color var(--motion-fast) var(--ease-standard),
box-shadow var(--motion-fast) var(--ease-standard);
}
.field input::placeholder { color: var(--meta); }
.field input:focus-visible {
border-color: var(--fg-2);
box-shadow: var(--focus-ring);
}
.field-help {
font-size: var(--text-xs);
color: var(--meta);
letter-spacing: 0.01em;
}
/* ─── Layout primitives ──────────────────────
* Asymmetric editorial grids per DESIGN.md §5 ("image grids:
* asymmetric, magazine-style mixed sizes"). */
.hero-grid {
display: grid;
grid-template-columns: 1.4fr 1fr;
gap: var(--space-12);
align-items: end;
min-height: 70vh;
}
@media (max-width: 1023px) {
.hero-grid { grid-template-columns: 1fr; min-height: 0; gap: var(--space-8); }
}
.hero-actions {
display: flex;
gap: var(--space-3);
margin-block-start: var(--space-6);
flex-wrap: wrap;
}
.hero-meta {
display: flex;
flex-direction: column;
gap: var(--space-4);
padding: var(--space-5);
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface);
}
.hero-meta-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-3);
}
.hero-meta-row + .hero-meta-row {
padding-block-start: var(--space-3);
border-block-start: 1px solid var(--border-soft);
}
/* Hero film frame fills the left column with synthetic cinema. */
.hero-frame {
position: relative;
border-radius: var(--radius-md);
overflow: hidden;
aspect-ratio: 16 / 11;
display: flex;
align-items: flex-end;
padding: var(--space-6);
}
.hero-frame::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
180deg,
transparent 0%,
transparent 50%,
rgba(0, 0, 0, 0.6) 100%
);
pointer-events: none;
}
.hero-frame-caption {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: var(--space-2);
color: var(--fg);
}
.hero-frame-caption .label { color: var(--fg-2); }
.features-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: var(--space-5);
}
@media (max-width: 1023px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .features-grid { grid-template-columns: 1fr; } }
.form-row {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: var(--space-12);
align-items: start;
}
@media (max-width: 1023px) { .form-row { grid-template-columns: 1fr; gap: var(--space-8); } }
.form {
display: flex;
flex-direction: column;
gap: var(--space-4);
max-width: 440px;
}
.form-actions {
display: flex;
gap: var(--space-3);
margin-block-start: var(--space-2);
flex-wrap: wrap;
}
.icon { width: 14px; height: 14px; flex-shrink: 0; }
</style>
</head>
<body>
<main class="container">
<!-- HERO — cinematic frame on the left, manifesto on the right.
Display headline uses Runway's signature compressed
film-title typography. -->
<section data-od-id="hero">
<div class="hero-grid">
<div class="hero-frame frame-hero" aria-hidden="true">
<div class="hero-frame-caption">
<span class="label">Gen-X · 00:00:42 / 00:01:08</span>
<span class="body-sm" style="color: var(--fg-2)">
Prompt — "a 35mm wide shot of empty coastal highway at dawn, low fog, anamorphic lens flare"
</span>
</div>
</div>
<div class="stack-4">
<p class="label">Reference fixture · runwayml</p>
<h1>The video model<br />for the next reel.</h1>
<p class="lead" style="max-width:38ch">
Gen-X generates cinema-grade video from a single sentence,
a still frame, or a 24-second reference clip. The interface
gets out of the way — the footage is the design.
</p>
<div class="hero-actions">
<a href="./tokens.css" class="btn btn-primary">
Try Gen-X
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M5 12h14M13 6l6 6-6 6"/>
</svg>
</a>
<a href="./DESIGN.md" class="btn btn-secondary">Read the spec</a>
<a href="#research" class="btn btn-ghost">Research →</a>
</div>
<aside class="hero-meta" aria-label="Render status">
<div class="hero-meta-row">
<span class="caption">Latest render</span>
<span class="tag"><span class="tag-dot" aria-hidden="true"></span>Ready</span>
</div>
<div class="hero-meta-row">
<span class="body-sm body-muted">Gen-X · 10s · 1080p</span>
<span class="body-sm" style="color: var(--fg-2)">38&nbsp;sec to&nbsp;render</span>
</div>
<div class="hero-meta-row">
<span class="body-sm body-muted">Press <kbd>R</kbd> to re-roll the seed.</span>
</div>
</aside>
</div>
</div>
</section>
<!-- RESEARCH — editorial three-card grid: one large feature plus
two smaller supporting cards (DESIGN.md §4 "mixed-size grid"). -->
<section data-od-id="research" id="research">
<div class="stack-3" style="margin-bottom: var(--space-8)">
<p class="label">Research</p>
<h2 style="max-width: 32ch">
We are building AI to simulate the world through imagination, art and aesthetics.
</h2>
</div>
<div class="features-grid">
<article class="card">
<div class="card-media frame-1">
<span class="card-media-tag">Featured · Gen-X</span>
</div>
<div class="card-body">
<p class="caption">Paper · 2026-03-14</p>
<h3>Long-horizon video coherence beyond 60 seconds.</h3>
<p class="body-muted body-sm">
Gen-X stitches scene-aware latents across shot boundaries — the
first time a single model has held character, lighting, and
camera continuity past a one-minute cut without re-prompting.
</p>
<a href="./DESIGN.md" class="body-sm" style="color: var(--fg-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border)">
Read the paper →
</a>
</div>
</article>
<article class="card">
<div class="card-media frame-2">
<span class="card-media-tag">Tools</span>
</div>
<div class="card-body">
<p class="caption">Update · 2026-04-02</p>
<h3>Camera control, on every frame.</h3>
<p class="body-muted body-sm">
Dolly, push, orbit, and tilt — directable per-shot, exported
as standard motion-track data.
</p>
</div>
</article>
<article class="card">
<div class="card-media frame-3">
<span class="card-media-tag">Film</span>
</div>
<div class="card-body">
<p class="caption">Showcase · 2026-04-19</p>
<h3>The Coastal Reels — a 12-minute short.</h3>
<p class="body-muted body-sm">
Directed by Lina Marès. Every frame rendered with Gen-X,
no live photography on set.
</p>
</div>
</article>
</div>
</section>
<!-- FORM — minimal access request, single field, two CTAs. -->
<section data-od-id="form">
<div class="form-row">
<div class="stack-4">
<p class="label">Early access</p>
<h2>Request a Gen-X studio invite.</h2>
<p class="lead" style="max-width: 44ch">
We open studios in waves. Drop your work email — we send the
brief, the model card, and a render quota for evaluation. Nothing else.
</p>
<p class="body-sm body-muted" style="max-width: 44ch">
Filmmakers, agencies, and post houses currently in production
get prioritized; press <kbd>esc</kbd> to dismiss the form.
</p>
</div>
<form class="form" onsubmit="event.preventDefault();">
<div class="field">
<label for="email">Work email</label>
<input
id="email"
type="email"
placeholder="[email protected]"
autocomplete="email"
required
/>
<p class="field-help">
We will only contact you about your studio invite.
</p>
</div>
<div class="field">
<label for="reel">Project or reel link <span style="color: var(--meta); text-transform: none; letter-spacing: 0">(optional)</span></label>
<input
id="reel"
type="url"
placeholder="https://yourstudio.com/reel"
/>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">
Request invite
</button>
<button type="button" class="btn btn-secondary">
Watch a reel first
</button>
</div>
</form>
</div>
</section>
</main>
</body>
</html>