design-contract

Require PRODUCT.md and DESIGN.md before starting UI work.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/prapanch/agent-forma --skill design-contract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-contract
Source: https://github.com/prapanch/agent-forma/tree/main/design-contract
Command: npx skills add https://github.com/prapanch/agent-forma --skill design-contract

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents misaligned UI work by ensuring a contract exists before coding, aligning product goals and design language from the start.

Core Features & Use Cases

  • Ensures PRODUCT.md and DESIGN.md exist and are up to date before any UI work.
  • Guides creation of missing contract documents using templates.
  • Serves as a guardrail that reduces rework by validating contract readiness before implementation.

Quick Start

Inspect PRODUCT.md and DESIGN.md and generate them if missing before touching any UI code.

Frequently Asked Questions about design-contract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure a design contract exists before starting frontend UI work?

A design contract ensures frontend UI work aligns with product goals by requiring PRODUCT.md and DESIGN.md files before coding. This skill validates contract presence and generates missing documents using templates to prevent misaligned implementation.

What is a design contract and when do I need it for product definition?

A design contract defines your product brief and UI design language through PRODUCT.md and DESIGN.md. You need it before any frontend implementation to align team goals, validate readiness, and reduce rework caused by undefined requirements.

How do I generate missing PRODUCT.md and DESIGN.md files for my UI project?

To generate missing PRODUCT.md and DESIGN.md files, the skill inspects your frontend project directory and provides document templates. It guides creation of these contract documents to establish a defined design language before touching UI code.

Can I use a design contract approach for any frontend project?

A design contract approach applies to frontend projects where teams need a defined design language and product brief. It validates contract readiness and serves as a guardrail to ensure UI work proceeds only with established documentation.

Why does my UI implementation require a product definition document?

Your UI implementation requires a product definition document to prevent misaligned design work. Enforcing a contract ensures product goals and design language are aligned from the start, reducing rework and validating that documentation is up to date.

What are the limitations of using templates for design contract generation?

Using templates for design contract generation provides structural guidance but requires manual refinement to fit specific product needs. The skill enforces document presence and offers templates, but teams must populate the product brief and design language details.