user-customization
指导用户如何自定义 Trae Skills 的配置,包括覆盖角色设定、调整技术偏好和定义全局规则。
Best use case
user-customization is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
指导用户如何自定义 Trae Skills 的配置,包括覆盖角色设定、调整技术偏好和定义全局规则。
Teams using user-customization should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/user-customization/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How user-customization Compares
| Feature / Agent | user-customization | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
指导用户如何自定义 Trae Skills 的配置,包括覆盖角色设定、调整技术偏好和定义全局规则。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# User Customization & Preferences
本 Skill 旨在帮助用户根据个人或团队的需求,定制 Trae 的行为模式。通过创建 `USER_PREFERENCES.md`,你可以让所有的 Skill 和 Agent 都遵循你的特定偏好。
## ⚙️ 配置文件机制
Trae 会优先寻找并遵循以下位置的配置文件:
* `.trae/USER_PREFERENCES.md` (推荐)
### 配置文件模板
你可以直接复制以下内容到 `.trae/USER_PREFERENCES.md`:
```markdown
# User Preferences
## 1. 技术栈偏好 (Tech Stack)
* **CSS Framework**: Tailwind CSS (严禁使用 CSS Modules 或 Styled Components)
* **State Management**: Zustand (React), Riverpod (Flutter)
* **Testing**: Vitest (不使用 Jest)
* **Language**: TypeScript (Strict Mode enabled)
## 2. 交互风格 (Communication Style)
* **Language**: 请始终使用**中文**回复,但技术术语保留英文。
* **Detail Level**: 我是资深开发者,请直接给代码,少讲废话。
* **Emoji**: 禁用 Emoji,保持职业化。
## 3. 角色覆盖 (Role Overrides)
* **@Office Architect**:
* 在处理 Excel 时,优先使用 pandas 而不是 openpyxl。
* **@DevOps Engineer**:
* 生成的 K8s Manifest 必须包含 Resource Limits。
## 4. 禁令 (Constraints)
* 严禁使用 `any` 类型。
* 严禁创建 `.env` 文件(使用 config map)。
```
## 🔄 它是如何工作的?
1. **全局生效**: `universal-dev-team` 在调度角色时,会先读取此文件。
2. **角色感知**: 只要你在 Trae 中定义 Agent 时,在 System Prompt 的开头加上一句:
> "Always check .trae/USER_PREFERENCES.md before answering."
那么所有的手动配置 Agent 都会遵循这些规则。
## 🛠️ 高级用法:自定义 Skill
如果你需要更深度的定制(例如完全重写 React 规范),建议:
1. **Fork**: 复制 `03_Developer_ReactBestPractices` 目录到 `Custom_React_Skills`。
2. **Modify**: 修改其中的 `SKILL.md` 和 `rules/`。
3. **Register**: 更新 `universal-dev-team/SKILL.md` 中的路由表,指向你的新目录。
---Related Skills
user-state-debugging
Expert knowledge on debugging user account issues, diagnostic scripts (inspect-user-state.js), fix scripts (fix-user-billing-state.js, reset-user-onboarding.js), onboarding problems, billing sync issues, and Clerk vs database mismatches. Use this skill when user asks about "user stuck", "onboarding broken", "billing out of sync", "debug user", "reset user", or "user state".
analyzing-user-feedback
Help users synthesize and act on customer feedback. Use when someone is analyzing NPS responses, processing support tickets, reviewing user research, synthesizing feedback from multiple channels, or trying to identify patterns in customer input.
design-and-user-experience-guidelines
Specifies design and user experience guidelines, including dark mode compatibility, responsive design, performance optimization, modern UI, and accessibility. This rule promotes a user-friendly and vi
Clarify Epic/Feature/UserStory/Task ticketing guidance in SKILL
No description provided.
asyncredux-user-exceptions
Handle user-facing errors with UserException. Covers throwing UserException from actions, setting up UserExceptionDialog, customizing error dialogs with `onShowUserExceptionDialog`, and using UserExceptionAction for non-interrupting error display.
agent-customization
Create, update, review, fix, or debug VS Code agent customization files (.instructions.md, .prompt.md, .agent.md, SKILL.md, copilot-instructions.md, AGENTS.md). Use for: saving coding preferences; troubleshooting why instructions/skills/agents are ignored or not invoked; configuring applyTo patterns; defining tool restrictions; creating custom agent modes or specialized workflows; packaging domain knowledge; fixing YAML frontmatter syntax.
useuser
Ask humans questions via native macOS dialogs and notifications. Use when you need clarification, confirmation, or direct input from the user through system-level dialogs rather than chat. Supports text input, multiple choice, yes/no confirmation, information display, and system notifications.
ask-user
Pattern for effectively interacting with users to gather information or get decisions. Use when you need user input.
guard-users-chatgpt
Guardrail policy for Chatgpt CLI: refuse catastrophic actions, require scoped approvals, and reduce secret leakage.
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
comprehensive-review-pr-enhance
You are a PR optimization expert specializing in creating high-quality pull requests that facilitate efficient code reviews. Generate comprehensive PR descriptions, automate review processes, and ensure PRs follow best practices for clarity, size, and reviewability.
completion-marker-optimization
Efficient completion marker generation to prevent timeouts and improve task completion reliability. Use when marking tasks complete to ensure atomic completion marker output. Prevents timeout issues and reduces completion time by 10-15 seconds.