component-craft SKILL.md skillA

component-craft from jangtrinh/design-os-studio is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jangtrinh/design-os-studio/component-craft@v0.6.0

Pins v0.6.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jangtrinh/design-os-studio
Path
assets/skills/component-craft/SKILL.md
Versions recorded
1
Latest version
v0.6.0, committed Oct 22, 2026
Size
1,144 bytes
Repository stars
86
License
a license file GitHub does not identify

Structure reusable components with variants, slots, and resilient auto-layout constraints.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Component Architecture & Auto-Layout Craft

Structure reusable components so they scale cleanly across variants and screen sizes:

1. **Auto-Layout First**: Wrap multi-element components in `Horizontal` or `Vertical` auto-layout containers with explicit `Primary` and `Counter` sizing (`Hug` for badges/buttons, `Fill` for responsive cards and rows).
2. **Component Properties & Slots**: Expose text labels as `Text` properties, optional badges/icons as `Boolean` properties, and replaceable content regions as `Slot` containers.
3. **Variant Matrix Hygiene**: Name variants using `Property=Value` pairs (for example `Variant=Primary, Size=Medium, State=Default`) and keep layer names consistent across variants so instance overrides are preserved on swap.
4. **Overflow & Truncation**: Test text layers with both short and long strings so labels wrap or elide cleanly without overlapping sibling controls.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jangtrinh/design-os-studio/component-craft@sha256:164292478e63367e

The line at the top of this page pins the label v0.6.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_chy6fsnvfn3ybh6q.svg)](https://markdownregistry.com/a/art_chy6fsnvfn3ybh6q)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 22, 2026.

versioncommittedcommitsizeaudit
v0.6.0 latest2026-10-22 9aa88b2 1,144 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1144 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jangtrinh/design-os-studio · 86 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_chy6fsnvfn3ybh6q
GET https://markdownregistry.com/api/v1/resolve?ref=jangtrinh/design-os-studio/component-craft
GET https://markdownregistry.com/api/v1/blob/164292478e63367e7e0ec1a03ed38bda1f2c47b052a9b8a15dd2a6ffdbf9a83b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jangtrinh/design-os-studio

design-os-apply-prompt-mode SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-apply-prompt-mode/SKILL.md · Decide how faithfully to track a reference input. Use when a workflow consumes a screenshot, URL, or Figma frame and…
git:20261016.f807117 · audit A · 86 stars
design-os-canvas-effect SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-canvas-effect/SKILL.md · Direct and implement one selective, web-only Canvas UI T6 effect after the static baseline is verified — narrative…
git:20261016.f807117 · audit A · 86 stars
design-os-chart-craft SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-chart-craft/SKILL.md · Use when the user asks for a standalone chart of quantities (bar, line, scatter, radar, gantt, dated timeline…
git:20261016.f807117 · audit A · 86 stars
design-os-check-consistency SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-check-consistency/SKILL.md · Score the Consistency axis — design-system token and component reuse. Use when auditing whether generated HTML uses the…
git:20261016.f807117 · audit A · 86 stars
design-os-color-decision SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-color-decision/SKILL.md · Make a color choice, build a palette, or check WCAG contrast. Use when picking a brand or semantic color, generating a…
git:20261016.f807117 · audit A · 86 stars
design-os-daily SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-daily/SKILL.md · Run the day-to-day design:os loop well: know which of the four 'audit' surfaces to run and how to read its result…
git:20261016.f807117 · audit A · 86 stars
design-os-deliver SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-deliver/SKILL.md · Ship a design:os change: run the full-stack audit in the order that actually catches problems (flow, evidence, VR…
git:20261016.f807117 · audit A · 86 stars
design-os-designmd-emit SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-designmd-emit/SKILL.md · Compose a DESIGN.md file from harvested tokens, observed components, and a chosen persona family. Use inside the…
git:20261016.f807117 · audit A · 86 stars
design-os-diagram-craft SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-diagram-craft/SKILL.md · Use when the user asks for a structural, sequential, or hierarchical diagram (or asks to generate or update one) and…
git:20261016.f807117 · audit A · 86 stars
design-os-figma-craft SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-figma-craft/SKILL.md · Pick and verify idiomatic Figma constructions when building or editing a canvas via the external figma-agent CLI. Use…
git:20261016.f807117 · audit A · 86 stars
design-os-gflow-flight SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-gflow-flight/SKILL.md · Generate a multi-leg camera flight or a conditioned still through the gflow hand (Google Flow / Veo / Imagen on a…
git:20261016.f807117 · audit A · 86 stars
design-os-gsap-motion SKILL.md skill
jangtrinh/design-os-studio · .agent/skills/design-os-gsap-motion/SKILL.md · Direct and implement advanced GSAP web choreography with timelines, ScrollTrigger, responsive variants, framework-safe…
git:20261016.f807117 · audit A · 86 stars

Every file in jangtrinh/design-os-studio

Browse by kind, by grade A, or by owner.