yida-density

Official

Adaptive density presets for Yida pages

Authoropenyida
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures consistent information density across Yida custom pages by providing a standardized set of spacing, typography, and component sizing rules so that generated pages look coherent, readable, and responsive across devices. It prevents hard-coded pixel values that break density switching and enforces automatic mobile downgrades and appropriate defaults for different page types.

Core Features & Use Cases

  • Three density modes: compact, comfortable, and spacious with complete DENSITY_CONFIG mappings for paddings, font sizes, row heights, and icon sizes.
  • Automatic and explicit control: default automatic selection based on page type and device, plus optional desktop density switching UI for list/table pages.
  • Safety and publishing guardrails: requires page-type confirmation, shows code preview, obtains explicit user confirmation before publishing, and provides post-publish verification links.
  • Use Case: Generate an operations dashboard list that defaults to compact on desktop, downgrades to spacious on mobile, and exposes a density toggle for power users.

Quick Start

Generate a Yida list page that implements DENSITY_CONFIG-based styles, includes a desktop density switch, auto-detects mobile to downgrade to spacious, and requires code preview plus user confirmation before publishing.

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: yida-density
Download link: https://github.com/openyida/openyida/archive/main.zip#yida-density

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.