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

@@ -43,6 +43,7 @@ Available stacks: `html-tailwind` (default), `react`, `nextjs`, `vue`, `svelte`,
.agent/workflows/ui-ux-pro-max/ # Generic agent workflow copy
.github/prompts/ # GitHub Copilot prompt
.kiro/steering/ # Kiro steering file
.trae/skills/ui-ux-pro-max/ # Trae skill copy
.shared/ui-ux-pro-max/ # Shared data copy
```
@@ -53,8 +54,8 @@ The search engine uses BM25 ranking combined with regex matching. Domain auto-de
When modifying files, keep all agent workflows in sync:
- **Data & Scripts** (`data/`, `scripts/`): Copy changes to `.shared/ui-ux-pro-max/` and `cli/assets/.shared/ui-ux-pro-max/`
- **SKILL.md**: Update corresponding files in `.agent/`, `.cursor/`, `.windsurf/`, `.github/prompts/`, `.kiro/steering/`
- **CLI assets**: Copy all skill folders to `cli/assets/` (`.claude/`, `.cursor/`, `.windsurf/`, `.agent/`, `.github/`, `.kiro/`, `.shared/`)
- **SKILL.md**: Update corresponding files in `.agent/`, `.cursor/`, `.windsurf/`, `.github/prompts/`, `.kiro/steering/`, `.trae/skills/`
- **CLI assets**: Copy all skill folders to `cli/assets/` (`.claude/`, `.cursor/`, `.windsurf/`, `.agent/`, `.github/`, `.kiro/`, `.trae/`, `.shared/`)
## Prerequisites