Skip to content
user-customization logo

User Customization & Preferences

user-customization

指导用户如何自定义 Trae Skills 的配置,包括覆盖角色设定、调整技术偏好和定义全局规则。

SKILL.md

Full skill instructions

User Customization & Preferences

本 Skill 旨在帮助用户根据个人或团队的需求,定制 Trae 的行为模式。通过创建 USER_PREFERENCES.md,你可以让所有的 Skill 和 Agent 都遵循你的特定偏好。

⚙️ 配置文件机制

Trae 会优先寻找并遵循以下位置的配置文件:

  • .trae/​USER_PREFERENCES.md (推荐)

配置文件模板

你可以直接复制以下内容到 .trae/​USER_PREFERENCES.md:

# 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 中的路由表,指向你的新目录。

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View