ワンクリックで
design-system
DESIGN.md integration for Forge — ensures visual consistency across all UI tasks through standardized design specifications
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
DESIGN.md integration for Forge — ensures visual consistency across all UI tasks through standardized design specifications
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Hackathon-native multiplayer collaboration mode -- brain-dump together, claim tasks across machines, flag decisions async. Drives the subcommands of /forge:collaborate.
Autonomous task implementation workflow — implement, test, review, commit for each task in the frontier
Interactive spec generation — turn ideas into concrete specs with R-numbered requirements and testable acceptance criteria
Graph-aware planning and research using codebase knowledge graphs — enables architecture-aware task decomposition, dependency discovery, and context reduction
Behavioral guardrails for Forge agents based on Andrej Karpathy's principles — prevents over-engineering, silent assumptions, scope creep, and unfocused execution
Decompose approved specs into ordered task frontiers with dependency DAGs, token estimates, and repo tags
| name | design-system |
| description | DESIGN.md integration for Forge — ensures visual consistency across all UI tasks through standardized design specifications |
This skill integrates DESIGN.md-based design specifications into the Forge workflow. When a project has a DESIGN.md file, all UI-related tasks automatically inherit design constraints, ensuring brand consistency across parallel agent execution.
DESIGN.md is a standardized markdown format for design specifications that AI agents can read and follow. It contains:
At the start of brainstorming or planning, check for an existing DESIGN.md:
# Check common locations
ls DESIGN.md design.md docs/DESIGN.md 2>/dev/null
If found, load it and reference it throughout the workflow.
When /forge brainstorm runs for a project with UI components:
Check for DESIGN.md -- if it exists, reference it during spec generation
If no DESIGN.md exists, ask the user during the Q&A phase:
Does this project have a design system or brand guidelines? A) Yes, I have a DESIGN.md file (specify path) B) I want to base it on an existing brand (specify which -- e.g., Stripe, Linear, Claude) C) No specific design requirements -- use sensible defaults D) I'll provide design specs later
If option B, generate a DESIGN.md by referencing the awesome-design-md catalog:
DESIGN.md in the project rootInclude design context in specs: When writing spec files, add a design field in frontmatter:
---
domain: auth
status: approved
design: DESIGN.md
---
When /forge plan encounters specs with UI tasks:
- [T005] Login form component | est: ~6k tokens | design: DESIGN.md | depends: T003
- [T012] Design consistency verification | est: ~4k tokens | depends: T005, T007, T009
When forge-executor handles a task tagged with design::
{"design_tokens": "primary=#1A73E8, radius=8px, spacing=8px-base"}
When forge-reviewer reviews UI tasks with design context:
Load DESIGN.md alongside the spec
Add a Design Compliance pass after spec compliance:
Design Compliance Checks:
Flag design violations:
Output format:
DESIGN COMPLIANCE:
- [x] Colors: All colors from DESIGN.md palette
- [ ] Typography: H2 uses 28px, DESIGN.md specifies 24px
- [x] Spacing: All values multiples of 8px base
- [x] Components: Border radius matches spec (8px)
When generating a new DESIGN.md, use this structure:
# DESIGN.md
## Visual Theme and Atmosphere
{Brand philosophy, mood, design direction}
## Color Palette
| Token | Value | Usage |
|-------|-------|-------|
| Primary | #XXXXXX | Main interactive elements, CTAs |
| Primary Dark | #XXXXXX | Hover states, active elements |
| Secondary | #XXXXXX | Supporting UI, secondary actions |
| Accent | #XXXXXX | Highlights, badges, notifications |
| Background | #XXXXXX | Page background |
| Surface | #XXXXXX | Card/panel background |
| Error | #XXXXXX | Error states, destructive actions |
| Success | #XXXXXX | Success states, confirmations |
| Warning | #XXXXXX | Warning states |
| Text Primary | #XXXXXX | Main body text |
| Text Secondary | #XXXXXX | Supporting text, labels |
| Border | #XXXXXX | Dividers, input borders |
## Typography
| Level | Font | Size | Weight | Line Height |
|-------|------|------|--------|-------------|
| H1 | {font} | {size}px | 700 | {lh} |
| H2 | {font} | {size}px | 600 | {lh} |
| H3 | {font} | {size}px | 600 | {lh} |
| Body | {font} | {size}px | 400 | {lh} |
| Caption | {font} | {size}px | 400 | {lh} |
| Code | {mono font} | {size}px | 400 | {lh} |
## Component Styling
- **Button border-radius**: {N}px
- **Card border-radius**: {N}px
- **Input border-radius**: {N}px
- **Card shadow**: {shadow definition}
- **Elevated shadow**: {shadow definition}
## Spacing Scale
- **Base unit**: {N}px
- **Scale**: {N/2}, {N}, {N*1.5}, {N*2}, {N*3}, {N*4}, {N*6}, {N*8}
## Layout
- **Max content width**: {N}px
- **Grid columns**: {N}
- **Gutter**: {N}px
## Responsive Breakpoints
| Name | Min Width | Behavior |
|------|-----------|----------|
| Mobile | 0px | Single column, stacked layout |
| Tablet | {N}px | {behavior} |
| Desktop | {N}px | Full layout |
## Design Guardrails
- {Rule 1: what to avoid}
- {Rule 2: what to maintain}
- {Rule 3: brand boundaries}
## Agent Prompt Guide
When implementing UI for this project:
- Use only colors from the palette above
- Follow the typography hierarchy exactly
- Use spacing values from the scale (multiples of {base}px)
- Apply component styling specs for all interactive elements
When no DESIGN.md exists:
No Forge workflow should ever fail because DESIGN.md is absent.