一键导入
ui-design-best-practices
Guidelines and patterns for implementing modern, theme-aware, and accessible UI components in Onto2AI Modeller.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines and patterns for implementing modern, theme-aware, and accessible UI components in Onto2AI Modeller.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create Onto2AI product demo narration and OpenAI cedar audio files aligned to demo manifests.
Generate Onto2AI demo manifests, presentation-style review videos, and future screen-recording demo skeletons.
Specialized skill for managing, enriching, and consolidating the Neo4j staging database.
Instructions for identifying ontology enumeration classes and rendering them in generated application models.
Rules for creating OWL ontologies strictly following the FIBO naming and documentation conventions.
Instructions for loading the Financial Industry Business Ontology (FIBO) into Neo4j.
| name | UI Design Best Practices |
| description | Guidelines and patterns for implementing modern, theme-aware, and accessible UI components in Onto2AI Modeller. |
Use these instructions when designing or modifying the Modeller UI, especially when implementing themes, complex visualizations, or interactive components.
Onto2AI Modeller is a workbench for adapting source ontologies into target ontologies and application code models. The UI should prioritize inspection, selection, refinement, and validation over dashboard-style summaries.
Use the current visible names consistently:
Source OntologyTarget OntologySemantic InteractionNative QueryOntology ViewFor Source Ontology, keep UML Diagram and Pydantic Models disabled. Source Ontology should stay focused on Ontology View, source search, concept preview, and extraction seeds.
Always implement a dual-theme system (Dark/Light) using CSS variables.
:root.:root.light-mode.* { transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
When working with GoJS diagrams, synchronize the visual state with the application theme.
modelData:
myDiagram.model.modelData.isLight = document.documentElement.classList.contains('light-mode');
.ofModel() bindings to react to theme changes:
new go.Binding("fill", "isLight", (light) => light ? "#ffffff" : "#1a1a2e").ofModel()
isLight property from the current DOM state to prevent visual desync.Ensure all text and diagram elements provide sufficient contrast in both themes.
#065f46) for attribute names, slate (#475569) for types.#34d399) for attribute names, light slate (#94a3b8) for types.rgba(255, 255, 255, 0.9)rgba(15, 15, 26, 0.9)split.js pattern for resizable panels.onto2ai_modeller/config.yaml, not hard-coded in frontend code.styles.css.app.js.graph.js with theme bindings.onto2ai_modeller/api/schemas.py.