蓝鲸 MagicBox 3.0 组件专家规则

Analyze design drafts and propose matched BKUI template loading rules.

839|261|Updated Apr 18, 2019
One-click install
npx skills add https://github.com/TencentBlueKing/bk-bcs --skill magicbox-3-0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 蓝鲸 MagicBox 3.0 组件专家规则
Source: https://github.com/TencentBlueKing/bk-bcs/tree/main/bcs-services/bcs-project-manager/.cursor/skills/bkui-builder
Command: npx skills add https://github.com/TencentBlueKing/bk-bcs --skill magicbox-3-0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Design teams often struggle to translate complex UI designs into consistent, reusable BKUI components. This skill provides a layout analysis pass followed by deterministic template loading to speed up design-to-code handoffs and ensure UI parity.

Core Features & Use Cases

  • Layout analysis: extract structure, sections, and component patterns from a design draft and map them to BKUI-ready templates.
  • Template loading: load and assemble required templates and assets based on the analysis.
  • Use Case: When given a dashboard mockup, generate a matching BKUI template set and a layout report to guide implementation.

Quick Start

Analyze a given design draft and emit a layout-and-template plan for immediate prototyping.

Frequently Asked Questions about 蓝鲸 MagicBox 3.0 组件专家规则

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a design draft into BKUI components for a dashboard?

Converting a design draft into BKUI components requires a layout analysis pass to extract structure and map sections to templates, followed by deterministic template loading to ensure UI parity during the design-to-code handoff.

What is the best way to analyze UI layout for design-to-code workflows?

Analyzing UI layout for design-to-code workflows involves extracting structural sections and component patterns from the mockup, then mapping them to BKUI-ready templates to guide consistent implementation.

How do I load templates deterministically when reconstructing admin interfaces?

Loading templates deterministically for admin interfaces requires enforcing frontmatter metadata and executing a resource loading flow driven by the initial layout analysis to ensure consistent assembly.

Does the template loading flow support resource references via skill:// paths?

Yes, the template loading flow supports resource references via skill:// paths, ensuring assets and templates are correctly resolved and assembled during the design-to-code reconstruction process.

Can I use this layout analysis approach for rapid prototyping of dashboard mockups?

Yes, you can use this layout analysis approach for rapid prototyping of dashboard mockups, as it generates a matching BKUI template set and a layout report to guide immediate implementation.

Why do I need frontmatter metadata when assembling BKUI templates from a design?

Frontmatter metadata is required when assembling BKUI templates to enforce a deterministic resource loading flow, ensuring generated templates and assets match the analyzed design draft accurately.