Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cube-design

Skill by NewLifeX

Designs consistent page layouts and interactions in the NewLife.Cube.Vue project. It covers page skeletons, component selection, loading, empty and error states, and a design spec checklist. Built on Element Plus and Tailwind, for developers adding or reviewing pages.

  • Score 80
  • 642 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cube-design

Built from the published package, never by AI.

git clone --depth 1 https://github.com/NewLifeX/NewLife.Cube /tmp/NewLife.Cube && mkdir -p ~/.claude/skills && cp -r /tmp/NewLife.Cube/NewLife.Cube.Vue/skills/cube-design ~/.claude/skills/cube-design

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cube-design in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

cube-design is an agent skill for keeping page visuals and interactions consistent in the NewLife.Cube.Vue project. It is meant for adding or reviewing pages, so that open choices such as spacing, component selection and loading states are settled by fixed rules instead of decided case by case. It uses a two-system model: Element Plus controls how components look, and Tailwind controls how elements are arranged.

The skill follows a six-step flow. It confirms the existing design infrastructure, picks a page type, chooses components, lays out the page with Tailwind utilities, applies interaction patterns, and checks the result against a spec checklist. Framework business components such as CbTable and CubeSearch are preferred before building new ones. It links to the project UI spec and architecture decision records.

Written from the project's SKILL.md and checked against it.

What it can do

  • Page type skeletonsPicks a page type (detail or settings, list, dashboard, full-screen workspace) and its layout skeleton.
  • Component selectionWalks a decision order from framework business components to Element Plus components to new builds.
  • Tailwind layout rulesArranges elements with Tailwind utilities and semantic color and radius classes mapped to Element Plus variables.
  • Interaction patternsChooses loading, empty, error, confirm and feedback patterns from preset options.
  • Dark theme adaptationCovers dark theme handling for new pages and theme changes.
  • Design spec checklistProvides a pre-submit checklist for repeated grids, hard-coded colors, hover shifts, radius limits and dark mode.
  • Decision recordsWrites new design decisions not covered by the UI spec into ADR files and updates the spec.

What you need

  • NewLife.Cube.Vue project
  • Element Plus
  • Tailwind CSS

Try asking

  • Design a new list page for orders in our NewLife.Cube.Vue project
  • Should this page use el-table or cards? Help me decide
  • Review this page for inconsistent spacing and hard-coded colors

Good to know

  • Not for pure backend tasks or tasks with no UI changes.
  • Not for marketing or landing pages, which are outside the component library rules.
  • Not for early design exploration, since it fixes decisions in place.
  • Does not add a custom CSS variable layer or mix page layouts with el-row and el-col grids.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: NewLife.Cube.Vue/skills/cube-design/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/component-decision.md4 KB
  • references/interaction-patterns.md6 KB
  • references/page-types.md4 KB
  • references/principles.md7 KB
Show all 6 files
  • references/spec-checklist.md4 KB

Alternatives to cube-design

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

cube-design: common questions

Does cube-design work outside NewLife.Cube.Vue?

The source describes it for the NewLife.Cube.Vue project and its framework components such as CbTable and CubeSearch. It does not say it applies to other projects.

Which UI libraries does it assume?

It is based on Element Plus for component appearance and Tailwind for element layout. Tailwind color and radius classes map to Element Plus variables.

Does it change the project's UI rules?

Only when a new decision is not covered by the UI spec. The source says to record it as an ADR in web/docs/decisions/ and update web/docs/standards/ui-spec.md.

How do I install cube-design?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cube-design free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is cube-design safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cube-design?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

cube-design Install

Add to stack

Loading.