# Reference design contract

> Reference design contract is an open-source agent skill for design and media. Turns loose visual references into a reusable DESIGN.md and build handoff for agents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/feimacode/open-design-agent-kit/tree/main/packages/content/assets/open-design/skills/reference-design-contract
- **Repository:** https://github.com/feimacode/open-design-agent-kit
- **GitHub stars:** 1,238
- **License:** MIT
- **Skill name:** reference-design-contract
- **Collection:** https://github.com/feimacode/open-design-agent-kit
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-05

## About

This skill helps an agent convert vague taste signals, such as screenshots, URLs, product notes or a "make it feel like this" request, into an explicit design contract before any prototype, deck, redesign or image remix is generated. The aim is to pin down decisions in advance so a later run does not have to guess at style.

The workflow has the agent lock the target artifact, audience and constraints, then split each reference into qualities to keep, elements to change, and things not to copy such as logos, claims or proprietary UI. It picks a single coherent visual stance and writes the result as a nine-section DESIGN.md, a decision record with evidence confidence levels, a short implementation handoff, and an optional small HTML preview. It finishes by checking a quality gate file bundled with the skill.

No scripts are included. The skill expects a brief from the user and any reference material they can supply, and it asks at most two clarifying questions before choosing sensible labeled defaults. It writes files, so the agent needs file write access.

## When your agent uses it

> Turn vague taste, screenshots, URLs, product notes, or "make it feel like this" references into a grounded DESIGN.md plus an implementation handoff. Use it before prototypes, decks, redesigns, or image remix work when the user needs a reusable visual direction rather than a one-off prompt.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/skills/reference-design-contract)
- [License: MIT](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/skills/reference-design-contract)

## Features

- **Reference semantics split:** Separates each reference into qualities to keep, elements to change and items not to copy.
- **Nine-section DESIGN.md:** Produces a design system document covering theme, color, type, layout, components, motion, voice and anti-patterns.
- **Decision record:** Logs evidence with observed, provided or inferred confidence, plus risks and unknowns.
- **Implementation handoff:** Writes short build notes on files to read, tokens, asset rules and responsive requirements.
- **Quality gate check:** Validates the output against a bundled checklist of required gates before handoff.
- **Optional HTML preview:** Can create a small hand-built example page to preview the contract.

## Good for

- Turn a set of screenshots into a reusable visual direction for a new app
- Write a DESIGN.md before generating a deck in a consistent style
- Create a style brief from a competitor URL without copying its branding
- Prepare a design handoff for a coding agent before a redesign
- Define a calm editorial look for a product before prototyping

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/reference-design-contract` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/reference-design-contract &&
cp -R "$tmp/packages/content/assets/open-design/skills/reference-design-contract" ~/.claude/skills/reference-design-contract &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/reference-design-contract` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/reference-design-contract` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/reference-design-contract &&
cp -R "$tmp/packages/content/assets/open-design/skills/reference-design-contract" ~/.agents/skills/reference-design-contract &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/reference-design-contract` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/reference-design-contract` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/reference-design-contract &&
cp -R "$tmp/packages/content/assets/open-design/skills/reference-design-contract" ~/.cursor/skills/reference-design-contract &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/reference-design-contract` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/feimacode/open-design-agent-kit.git --path packages/content/assets/open-design/skills/reference-design-contract
```

Or copy the folder to `~/.gemini/skills/reference-design-contract` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/reference-design-contract`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/reference-design-contract &&
cp -R "$tmp/packages/content/assets/open-design/skills/reference-design-contract" ~/.copilot/skills/reference-design-contract &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/reference-design-contract` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git
```

Then copy `open-design-agent-kit/packages/content/assets/open-design/skills/reference-design-contract` into your agent's skills folder as `reference-design-contract`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Reference design contract create?

It creates DESIGN.md, design-contract.md and implementation-handoff.md, and optionally an example.html preview.

### Does Reference design contract need any scripts or external tools?

No scripts are included. It requires file write capability and works from the brief and references you provide.

### When should Reference design contract be used?

Before prototypes, decks, redesigns or image remix work when a reusable visual direction is needed rather than a one-off prompt.

### Will Reference design contract copy the style of a reference exactly?

No. It treats a request to match a style as borrowing controllable qualities and avoids cloning literal screenshots, logos or proprietary UI.

### How do I install Reference design contract in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/reference-design-contract to use it in all your projects, or to .claude/skills/reference-design-contract in one project.

### Does Reference design contract run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Reference design contract?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Reference design contract?

The closest alternatives to Reference design contract are Design system, Document design system components, Design brief, Design review and Design from app.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Design system](https://ai-powered.com/skills/design-system-smartworldarafath): Design system is an open-source agent skill for design and media.
- [Document design system components](https://ai-powered.com/skills/document-design-system-components): Document design system components is an open-source agent skill for design and media.
- [Design brief](https://ai-powered.com/skills/design-brief): Design brief is an open-source agent skill for design and media.
- [Design review](https://ai-powered.com/skills/design-review): Design review is an open-source agent skill for design and media.
- [Design from app](https://ai-powered.com/skills/design-from-app): Design from app is an open-source agent skill for design and media.
- [UI UX pro max](https://ai-powered.com/skills/ui-ux-pro-max): UI UX pro max is an open-source agent skill for design and media.
- [Remember design system](https://ai-powered.com/skills/remember-design-system): Remember design system is an open-source agent skill for design and media.
- [Mt design](https://ai-powered.com/skills/mt-design): Mt design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/reference-design-contract
