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.
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-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NewLifeX/NewLife.Cube /tmp/NewLife.Cube && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/NewLife.Cube/NewLife.Cube.Vue/skills/cube-design ~/.gemini/antigravity-cli/skills/cube-designAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →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.
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.
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.
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.
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.
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.
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.
