feat: add support for Trae AI assistant (#69)

* feat(trae): add support for Trae AI assistant

Add Trae as a new supported AI assistant with version bump to 1.7.0. Includes:
- New .trae folder for skill files
- Updated CLI to detect and copy Trae skill files
- Added Trae to AIType enum and documentation
- Implemented search functionality for Trae-specific queries
- Added Trae skill data and scripts

* feat: update trae skill documentation and readme example

- Refactor SKILL.md to improve clarity and organization
- Add explicit usage instructions and prerequisites
- Update README.md example to clarify frontend-only scope

---------

Co-authored-by: Alex Le <alex.le@bytedance.com>
This commit is contained in:
Alex Le
2026-01-14 18:22:25 +08:00
committed by GitHub
parent 7f22b57363
commit 9149e5f2fa
29 changed files with 1789 additions and 16 deletions

View File

@@ -39,6 +39,7 @@ uipro init --ai copilot # GitHub Copilot
uipro init --ai kiro # Kiro
uipro init --ai codex # Codex (Skills)
uipro init --ai gemini # Gemini CLI
uipro init --ai trae # Trae
uipro init --ai all # All assistants
```
@@ -54,16 +55,17 @@ uipro init --version v1.0.0 # Install specific version
Copy the appropriate folders to your project:
| AI Assistant | Folders to Copy |
| -------------- | ------------------------------------------------------------------- |
| Claude Code | `.claude/skills/ui-ux-pro-max/` |
| Cursor | `.cursor/commands/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| Windsurf | `.windsurf/workflows/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| Antigravity | `.agent/workflows/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| GitHub Copilot | `.github/prompts/ui-ux-pro-max.prompt.md` + `.shared/ui-ux-pro-max/`|
| Kiro | `.kiro/steering/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| Codex | `.codex/skills/ui-ux-pro-max/` |
| Gemini CLI | `.gemini/skills/ui-ux-pro-max/` + `.shared/ui-ux-pro-max/` |
| AI Assistant | Folders to Copy |
| -------------- | -------------------------------------------------------------------- |
| Claude Code | `.claude/skills/ui-ux-pro-max/` |
| Cursor | `.cursor/commands/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| Windsurf | `.windsurf/workflows/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| Antigravity | `.agent/workflows/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| GitHub Copilot | `.github/prompts/ui-ux-pro-max.prompt.md` + `.shared/ui-ux-pro-max/` |
| Kiro | `.kiro/steering/ui-ux-pro-max.md` + `.shared/ui-ux-pro-max/` |
| Codex | `.codex/skills/ui-ux-pro-max/` |
| Gemini CLI | `.gemini/skills/ui-ux-pro-max/` + `.shared/ui-ux-pro-max/` |
| Trae | `.trae/skills/ui-ux-pro-max/` + `.shared/ui-ux-pro-max/` |
## Prerequisites
@@ -133,6 +135,16 @@ The skill activates automatically when you request UI/UX work.
Build a landing page for my SaaS product
```
### Trae
_Disclaimer: Trae skill is in beta. Please report any issues or feedback._
To use Trae skill, you need to switch to **SOLO** mode. If your request is related to skills, skills will be used:
```
Build a landing page (frontend ONLY) for my SaaS product.
```
### Example Prompts
```