fragments/policy

Official

Create enforceable design policies from text.

Authorfragments-sdk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Fragments governance needs consistent, enforceable design rules, and writing those rules manually is slow and error-prone.

Core Features & Use Cases

  • Create policies from natural language: Turn a plain-language requirement into a Fragments governance policy definition you can enforce.
  • List, edit, and delete policies: Manage the lifecycle of your .fragments/policies/ files and keep them aligned with governance needs.
  • Validate against governance checks: Confirm your policy behaves as expected by running governance checks with cloud enabled.

Quick Start

Ask the agent to create a new Fragments policy by running /policy create "buttons must have a minimum height of 44px" and then validating it with npx fragments govern check --cloud.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fragments/policy
Download link: https://github.com/fragments-sdk/skills/archive/main.zip#fragments-policy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.