
Tencent-TDS/Kuiklyui-ai 是从 https://github.com/tencent-tds/kuiklyui-ai. 导入的特工技能候选人
概览
Tencent-TDS/Kuiklyui-ai 是从 https://github.com/tencent-tds/kuiklyui-ai. 导入的特工技能候选人
概述(AI 翻译)
注:本仓库目前正在开发中。技能和规则正在逐步发布和完善。
AI可以用来构建AI驱动的Kuikly应用,加速开发流程。你可以使用像Cursor和CodeBuddy这样的AI工具来生成代码和搭建支架。
可用规则
| 规则 | 描述 |
|---|---|
| kuiklyDSL.mdc | Kuikly DSL 跨平台开发指南涵盖架构、编码、用户界面、性能和状态管理的最佳实践。 |
| kuiklyComposeDSL.mdc | Kuikly Compose DSL 跨平台开发指南,涵盖组件使用、API 差异及最佳实践。 |
如何使用规则
规则以 .mdc 格式编写,由 CodeBuddy 加载为项目级上下文。选择与你所使用的 DSL 匹配的规则:
- 在使用 Kuikly DSL 开发时使用
kuiklyDSL.mdc。 - 在使用 Kuikly Compose DSL 开发时使用
kuiklyComposeDSL.mdc。
CodeBuddy
-
在项目根目录中创建一个
.codebuddy/rules/目录(如果还不存在的话)。 -
将该仓库中的目标
.mdc文件复制到.codebuddy/rules/,例如:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
KuiklyUI-AI
NOTE: This repository is currently in development. Skills and rules are being progressively released and refined.
AI can be used to build AI-driven Kuikly apps and accelerate development workflows. You can use AI tools like Cursor and CodeBuddy for code generation and scaffolding.
Available Rules
| Rule | Description |
|---|---|
| kuiklyDSL.mdc | Kuikly DSL cross-platform development guidelines covering architecture, coding, UI, performance, and state management best practices. |
| kuiklyComposeDSL.mdc | Kuikly Compose DSL cross-platform development guidelines covering component usage, API differences, and best practices. |
How to use Rules
Rules are written in the .mdc format and loaded by CodeBuddy as project-level context. Choose the rule that matches the DSL you are using:
- Use
kuiklyDSL.mdcwhen developing with the Kuikly DSL. - Use
kuiklyComposeDSL.mdcwhen developing with the Kuikly Compose DSL.
CodeBuddy
- Create a
.codebuddy/rules/directory in your project root (if it does not already exist). - Copy the desired
.mdcfile(s) from this repo into.codebuddy/rules/, for example:your-project/ └── .codebuddy/ └── rules/ ├── kuiklyDSL.mdc └── kuiklyComposeDSL.mdc - CodeBuddy will automatically load these rules and apply them when generating or editing code.
Other AI tools (Cursor / Claude Code / Windsurf, etc.)
The .mdc files are plain Markdown with a small YAML front-matter, so they can also be reused by other AI coding tools — just place them in the directory each tool expects, or rename/convert as needed:
| Tool | Target location | Notes |
|---|---|---|
| Cursor | .cursor/rules/kuiklyDSL.mdc |
Native .mdc support, copy as-is. |
| Claude Code | CLAUDE.md (project root) |
Concatenate the rule body into CLAUDE.md, or reference it via @rules/kuiklyDSL.mdc. |
| Other tools | Custom instructions / system prompt | Paste the rule body into the tool’s custom instructions field. |
Tip: You can extend the official rules with your own project conventions (directory layout, naming, architecture decisions, etc.) so that AI better follows your team’s standards.
Available Skills
| Skill | Description |
|---|---|
| kuikly-ui-framework | Assists with Kuikly UI framework development including components (View, Text, Button, List, Image, etc.), modules (Router, Network, SP, etc.), layouts, events, and routing. Use when building Kuikly pages or working with UI components. |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add tencent-tds/kuiklyui-ai