ワンクリックで
design-compounder
Use when orchestrator has reconciled a design sprint outcome and queued the feature id in compound_pending_feature_ids.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when orchestrator has reconciled a design sprint outcome and queued the feature id in compound_pending_feature_ids.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when a request will produce frontend UI, a visual asset, an image prompt, or a video prompt, AND the intent/style is not already fully specified by the user or an existing design system in the repo. Forces a minimal, checkable design-context object to exist before generation so output does not default to generic/templated. Do NOT use for: single-property edits (color, spacing, copy tweak) with no ambiguity; bug fixes; refactors; or when the user already gave complete visual specs and you only need to execute. For those, just do the work.
Root orchestrator. Reads durable state, routes to one phase, dispatches fresh workers.
Pre-implementation alignment gate. Checks spec / plan / tasks consistency and plan vs codebase reality before code is written.
Define the goal: what problem we solve, for whom, and what success looks like. The directional anchor that architecture and specs must serve.
RED-GREEN-REFACTOR implementation per task. Each task passes before next. Produces handoff.md with reproducible evidence.
Design architecture: components, API schema, DB model, impact analysis, test strategy.
| name | design-compounder |
| description | Use when orchestrator has reconciled a design sprint outcome and queued the feature id in compound_pending_feature_ids. |
This is a nested child under frontend-design; its path is frontend-design/design-compounder/, and the router selects it before standalone use.
You are the learning phase of the design harness. Your job is to decide what, if anything, from the just-concluded sprint should become durable cross-sprint knowledge.
Compounding is explicit and non-runnable. It does not reopen any phase. It does not claim the runnable sprint slot. It extracts only what has artifact-linked provenance — not what seemed good in the conversation.
orchestrator. Do not fold compounding into state reconciliation..agents-stack/insights/session-log.md only when durable residue survives with provenance, optionally patch .agents-stack/reference/design.md and scoped .agents-stack/reference/*, and clear the queue entry in .agents-stack/tracked-work.json. No product-code edits, no .agents-stack/*/status.json rewrites, no archive moves..agents-stack/insights/session-log.md or .agents-stack/reference/design.md. Process one queued feature at a time..agents-stack/tracked-work.json before writing.Before writing anything:
AGENTS.md.agents-stack/tracked-work.json — confirm the feature is in compound_pending_feature_ids.agents-stack/insights/session-log.md — current durable learning baseline.agents-stack/reference/design.md — current stable referencedesign-qa.md, design-handoff.md, design.mdExtract only lessons that meet all three criteria:
design-qa.md verdict, accepted design.md criteria, or confirmed design-handoff.md evidence, not from the conversation or from plausible inferences.| Category | Example worth capturing |
|---|---|
| Token decisions | "Project uses #1A1A2E as the primary dark surface; oklch derivations for accents work better than inventing new colors." |
| Font choices | "Libre Baskerville at 600 weight reads well at 32px+ for slide headings; below 24px it becomes too heavy." |
| Component patterns | "Card hover state: transform: translateY(-2px) + shadow lift proved more legible than color-fill transitions at the project's density." |
| Scaffold insight | "Deck projects at 1920×1080 with scale() wrapper lose crisp text below 0.6x zoom; prefer SVG for diagrams." |
| Anti-pattern confirmed | "Left-border accent card was proposed in sprint DESIGN-002 and flagged by review as AI slop — reject it in all future sprints." |
| Accessibility discovery | "Project's semantic primary blue (#2563EB on white) only achieves 4.4:1 — use the +10% darker variant (#1D4ED8) for body text." |
| Variation strategy finding | "Color treatment and layout variations got the most human attention; typography-only variations were consistently ignored." |
| Review failure pattern | "React const styles = {} naming collision broke the Tweaks panel in DESIGN-001 and DESIGN-002; always use component-prefixed names." |
design-qa.md evidenceBefore writing .agents-stack/insights/session-log.md, decide explicitly:
Extract when: at least one lesson qualifies under all three criteria above.
Skip deliberately when: the sprint produced no lessons that survive the criteria, or all apparent lessons lack decisive artifact provenance. Record the skip decision in .agents-stack/insights/session-log.md as a one-line dated note: [SPRINT-ID] Deliberately skipped — no durable design residue with artifact provenance found.
Skipping is not a failure. Silently inventing lessons is.
Append to .agents-stack/insights/session-log.md. Do not overwrite existing entries.
## [SPRINT-ID] <short lesson title> — <ISO date>
- **Category**: token | typography | component | scaffold | anti-pattern | accessibility | variation-strategy | process
- **Lesson**: [one clear sentence stating the durable learning]
- **Evidence**: `.agents-stack/<sprint-id>/design-qa.md` — [exact finding id or section name]
- **Applies to**: all future sprints | sprints using [specific output type] | projects using [specific design system]
- **Provenance**: [link to decisive artifact: design-qa.md#DQ-001, design.md#AC-002, etc.]
Multiple distinct lessons from one sprint each get their own entry.
Update .agents-stack/reference/design.md only when the lesson is stable current truth — meaning it describes how the project works now, not an observation from one sprint.
Examples that justify a reference update:
Examples that do not justify a reference update:
When updating .agents-stack/reference/design.md, make a precise addition or edit — do not rewrite the whole file. Note the sprint id and evidence path in a comment or footnote.
Create a scoped record page only when:
.agents-stack/insights/session-log.md entry.agents-stack/reference/design.md.agents-stack/tracked-work.json with a record_paths fieldRegister the path in the feature's record_paths in tracked-work.json. Do not create a record as a substitute for .agents-stack/insights/session-log.md or as a second archive.
After writing (or deliberately skipping), remove the feature id from compound_pending_feature_ids in .agents-stack/tracked-work.json. This is the only mandatory write — even a skip requires it.
This phase is complete when:
compound_pending_feature_ids.agents-stack/insights/session-log.md either has new entries with artifact-linked provenance, or records a dated deliberate-skip note.agents-stack/reference/design.md update is a precise, stable-truth addition