
Reference design contract
Turns loose visual references into a reusable DESIGN.md and build handoff for agents
Reference design contract is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 1.2K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Reference design contract
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (5 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/reference-design-contract to use it in all your projects:
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.
Copy the skill folder to ~/.agents/skills/reference-design-contract to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/reference-design-contract to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/feimacode/open-design-agent-kit.git --path packages/content/assets/open-design/skills/reference-design-contractOr copy the folder to ~/.gemini/skills/reference-design-contract yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/reference-design-contract:
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.
Get the folder:
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.gitThen 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.
What it does
- 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
Reference design contract 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.
More from feimacode/open-design-agent-kit

Drafts a marketing and go-to-market slide deck that ties creative choices to growth
- Open source
- 1.2K GitHub stars
- Presentations

Works through OpenSpec change tasks one by one, checking them off as it implements
- Open source
- 1.2K GitHub stars
- Developer tools

Archives a finished OpenSpec change, checking artifacts and tasks before moving it
- Open source
- 1.2K GitHub stars
- Developer tools

Lets an agent act as a thinking partner for exploring ideas before a change
- Open source
- 1.2K GitHub stars
- Developer tools

Generates all OpenSpec change artifacts in one pass so implementation can start
- Open source
- 1.2K GitHub stars
- Developer tools

Walks you through a full OpenSpec change cycle on a real task in your codebase
- Open source
- 1.2K GitHub stars
- Developer tools






